From 87adc59b2135b1a5438ccc1c77d92fec92829b1a Mon Sep 17 00:00:00 2001
From: naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
Date: Tue, 8 Mar 2016 08:54:38 +0000
Subject: * 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
---
 insns.def | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'insns.def')

diff --git a/insns.def b/insns.def
index f9514d4038..20140b30c1 100644
--- a/insns.def
+++ b/insns.def
@@ -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;
-- 
cgit v1.2.3

