diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-08 08:54:38 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-08 08:54:38 +0000 |
commit | 87adc59b2135b1a5438ccc1c77d92fec92829b1a (patch) | |
tree | ac2ce22a82126afdaa5c434e44f2c17462b811b8 /insns.def | |
parent | b0b2df253f676e747a338848485ed58111782df2 (diff) | |
download | ruby-87adc59b2135b1a5438ccc1c77d92fec92829b1a.tar.gz |
* insns.def (opt_mod): show its method name on ZeroDivisionError.
[Bug #12158]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'insns.def')
-rw-r--r-- | insns.def | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1548,7 +1548,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; |