diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-25 08:48:04 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-25 08:48:04 +0000 |
commit | 6827f86c519421fbbcc772c83845ada36f6bc5d5 (patch) | |
tree | aa7b0c5bbfe3cd36f3ef27c071113126e1bf4c10 /insns.def | |
parent | ce094d1d73c46e90319ad4dcbd504c33740b710b (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_1@54271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'insns.def')
-rw-r--r-- | insns.def | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1553,7 +1553,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; |