[前][次][番号順一覧][スレッド一覧]

ruby-changes:42304

From: naruse <ko1@a...>
Date: Tue, 29 Mar 2016 16:40:15 +0900 (JST)
Subject: [ruby-changes:42304] naruse:r54378 (ruby_2_3): merge revision(s) 54028: [Backport #12158]

naruse	2016-03-29 16:40:09 +0900 (Tue, 29 Mar 2016)

  New Revision: 54378

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54378

  Log:
    merge revision(s) 54028: [Backport #12158]
    
    * insns.def (opt_mod): show its method name on ZeroDivisionError.
      [Bug #12158]

  Modified directories:
    branches/ruby_2_3/
  Modified files:
    branches/ruby_2_3/ChangeLog
    branches/ruby_2_3/insns.def
    branches/ruby_2_3/version.h
Index: ruby_2_3/version.h
===================================================================
--- ruby_2_3/version.h	(revision 54377)
+++ ruby_2_3/version.h	(revision 54378)
@@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_3/version.h#L1
 #define RUBY_VERSION "2.3.0"
 #define RUBY_RELEASE_DATE "2016-03-29"
-#define RUBY_PATCHLEVEL 35
+#define RUBY_PATCHLEVEL 36
 
 #define RUBY_RELEASE_YEAR 2016
 #define RUBY_RELEASE_MONTH 3
Index: ruby_2_3/ChangeLog
===================================================================
--- ruby_2_3/ChangeLog	(revision 54377)
+++ ruby_2_3/ChangeLog	(revision 54378)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_3/ChangeLog#L1
+Tue Mar 29 16:29:44 2016  NARUSE, Yui  <naruse@r...>
+
+	* insns.def (opt_mod): show its method name on ZeroDivisionError.
+	  [Bug #12158]
+
 Tue Mar 29 16:25:27 2016  Anthony Dmitriyev  <antstorm@g...>
 
 	* net/ftp.rb: add NullSocket#closed? to fix closing not opened
Index: ruby_2_3/insns.def
===================================================================
--- ruby_2_3/insns.def	(revision 54377)
+++ ruby_2_3/insns.def	(revision 54378)
@@ -1547,7 +1547,7 @@ opt_mod https://github.com/ruby/ruby/blob/trunk/ruby_2_3/insns.def#L1547
 	    long div, mod;
 
 	    if (y == 0)
-		rb_num_zerodiv();
+		goto INSN_LABEL(normal_dispatch);
 	    if (y < 0) {
 		if (x < 0)
 		    div = -x / -y;

Property changes on: ruby_2_3
___________________________________________________________________
Modified: svn:mergeinfo
   Merged /trunk:r54028


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]