ruby-changes:41954
From: naruse <ko1@a...>
Date: Tue, 8 Mar 2016 17:54:43 +0900 (JST)
Subject: [ruby-changes:41954] naruse:r54028 (trunk): * insns.def (opt_mod): show its method name on ZeroDivisionError.
naruse 2016-03-08 17:54:38 +0900 (Tue, 08 Mar 2016) New Revision: 54028 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54028 Log: * insns.def (opt_mod): show its method name on ZeroDivisionError. [Bug #12158] Modified files: trunk/ChangeLog trunk/insns.def Index: ChangeLog =================================================================== --- ChangeLog (revision 54027) +++ ChangeLog (revision 54028) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Tue Mar 8 17:53:09 2016 NARUSE, Yui <naruse@r...> + + * insns.def (opt_mod): show its method name on ZeroDivisionError. + [Bug #12158] + Tue Mar 8 17:33:38 2016 NAKAMURA Usaku <usa@r...> * win32/win32.c (rb_w32_write_console): now no need to check Index: insns.def =================================================================== --- insns.def (revision 54027) +++ insns.def (revision 54028) @@ -1548,7 +1548,7 @@ opt_mod https://github.com/ruby/ruby/blob/trunk/insns.def#L1548 long div, mod; if (y == 0) - rb_num_zerodiv(); + goto INSN_LABEL(normal_dispatch); if (y < 0) { if (x < 0) div = -x / -y; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/