summaryrefslogtreecommitdiff
path: root/insns.def
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-29 07:40:09 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-29 07:40:09 +0000
commit91b26ffa2b1d23be74b57d0928d4b01e128f7b9c (patch)
tree01cb4dbe9e0d1afd1d4f9310d091a7e5da95e5c0 /insns.def
parentb2ac0f9c7d8ce2aee4730a5ccc4f35a17a1d36d9 (diff)
merge revision(s) 54028: [Backport #12158]
* insns.def (opt_mod): show its method name on ZeroDivisionError. [Bug #12158] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54378 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 df65aa8efd..c25fc76eea 100644
--- a/insns.def
+++ b/insns.def
@@ -1547,7 +1547,7 @@ opt_mod
long div, mod;
if (y == 0)
- rb_num_zerodiv();
+ goto INSN_LABEL(normal_dispatch);
if (y < 0) {
if (x < 0)
div = -x / -y;