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

ruby-changes:38849

From: usa <ko1@a...>
Date: Wed, 17 Jun 2015 11:41:47 +0900 (JST)
Subject: [ruby-changes:38849] usa:r50930 (ruby_2_1): merge revision(s) 49898: [Backport #10951]

usa	2015-06-17 11:41:18 +0900 (Wed, 17 Jun 2015)

  New Revision: 50930

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

  Log:
    merge revision(s) 49898: [Backport #10951]
    
    * vm_insnhelper.c (lep_svar_set): add WBs.

  Modified directories:
    branches/ruby_2_1/
  Modified files:
    branches/ruby_2_1/ChangeLog
    branches/ruby_2_1/version.h
    branches/ruby_2_1/vm_insnhelper.c
Index: ruby_2_1/ChangeLog
===================================================================
--- ruby_2_1/ChangeLog	(revision 50929)
+++ ruby_2_1/ChangeLog	(revision 50930)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_1/ChangeLog#L1
+Wed Jun 17 11:39:15 2015  Koichi Sasada  <ko1@a...>
+
+	* vm_insnhelper.c (lep_svar_set): add WBs.
+
 Tue Jun  9 16:29:49 2015  Eric Wong  <e@8...>
 
 	* ext/socket/ancdata.c: use RB_GC_GUARD instead of volatile
Index: ruby_2_1/version.h
===================================================================
--- ruby_2_1/version.h	(revision 50929)
+++ ruby_2_1/version.h	(revision 50930)
@@ -1,10 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_1/version.h#L1
 #define RUBY_VERSION "2.1.7"
-#define RUBY_RELEASE_DATE "2015-06-09"
-#define RUBY_PATCHLEVEL 366
+#define RUBY_RELEASE_DATE "2015-06-17"
+#define RUBY_PATCHLEVEL 367
 
 #define RUBY_RELEASE_YEAR 2015
 #define RUBY_RELEASE_MONTH 6
-#define RUBY_RELEASE_DAY 9
+#define RUBY_RELEASE_DAY 17
 
 #include "ruby/version.h"
 
Index: ruby_2_1/vm_insnhelper.c
===================================================================
--- ruby_2_1/vm_insnhelper.c	(revision 50929)
+++ ruby_2_1/vm_insnhelper.c	(revision 50930)
@@ -200,16 +200,16 @@ lep_svar_set(rb_thread_t *th, VALUE *lep https://github.com/ruby/ruby/blob/trunk/ruby_2_1/vm_insnhelper.c#L200
 
     switch (key) {
       case 0:
-	svar->u1.value = val;
+	RB_OBJ_WRITE(svar, &svar->u1.value, val);
 	return;
       case 1:
-	svar->u2.value = val;
+	RB_OBJ_WRITE(svar, &svar->u2.value, val);
 	return;
       default: {
 	VALUE ary = svar->u3.value;
 
 	if (NIL_P(ary)) {
-	    svar->u3.value = ary = rb_ary_new();
+	    RB_OBJ_WRITE(svar, &svar->u3.value, ary = rb_ary_new());
 	}
 	rb_ary_store(ary, key - DEFAULT_SPECIAL_VAR_COUNT, val);
       }

Property changes on: ruby_2_1
___________________________________________________________________
Modified: svn:mergeinfo
   Merged /trunk:r49898


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

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