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 | |
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
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | insns.def | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Tue Mar 8 17:53:09 2016 NARUSE, Yui <naruse@ruby-lang.org> + + * insns.def (opt_mod): show its method name on ZeroDivisionError. + [Bug #12158] + Tue Mar 8 17:33:38 2016 NAKAMURA Usaku <usa@ruby-lang.org> * win32/win32.c (rb_w32_write_console): now no need to check @@ -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; |