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

ruby-changes:42257

From: nagachika <ko1@a...>
Date: Tue, 29 Mar 2016 01:19:39 +0900 (JST)
Subject: [ruby-changes:42257] nagachika:r54331 (ruby_2_2): merge revision(s) 54028: [Backport #12158]

nagachika	2016-03-29 01:19:35 +0900 (Tue, 29 Mar 2016)

  New Revision: 54331

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

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

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

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


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

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