From 3c989d3ca5ead14ddb977e2a9e23bf2b3d39e775 Mon Sep 17 00:00:00 2001
From: nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
Date: Mon, 28 Mar 2016 16:19:35 +0000
Subject: 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_2@54331 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 c38a25e4ae..eb1ffeb62e 100644
--- a/insns.def
+++ b/insns.def
@@ -1594,7 +1594,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

