summaryrefslogtreecommitdiff
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
commitb81a66d1ef2e578d9e248ea36d3cf4beb72bab53 (patch)
treec8b7dd7809d0f2058c70dd857de3eba96c080175 /insns.def
parent390adf6112228a4c32381a4882c8076ff6b44c84 (diff)
* 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: svn+ssh://ci.ruby-lang.org/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 2c0e52ea16..d89d989ac6 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;