summaryrefslogtreecommitdiffstats
path: root/insns.def
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-19 02:14:14 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-19 02:14:14 +0000
commit9ffeef1fa60bf30e46665940e8ae93f9e787002a (patch)
treec8b7dd7809d0f2058c70dd857de3eba96c080175 /insns.def
parent84bc77ed0ac6461963bee646f5adc4b75895a8ac (diff)
downloadruby-9ffeef1fa60bf30e46665940e8ae93f9e787002a.tar.gz
ruby-9ffeef1fa60bf30e46665940e8ae93f9e787002a.tar.xz
ruby-9ffeef1fa60bf30e46665940e8ae93f9e787002a.zip
* eval.c (ruby_exec_node): no thread starts inside iseq compilation.
* eval.c (rb_f_raise): skip current control frame. [ruby-core:15589] * insns.def (opt_div): raise as the ordinary method. [ruby-core:15589] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'insns.def')
-rw-r--r--insns.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/insns.def b/insns.def
index 2c0e52ea1..d89d989ac 100644
--- a/insns.def
+++ b/insns.def
@@ -1513,7 +1513,7 @@ opt_div
/* copied from numeric.c#fixdivmod */
long mod;
if (y == 0)
- rb_num_zerodiv();
+ goto INSN_LABEL(normal_dispatch);
if (y < 0) {
if (x < 0)
div = -x / -y;