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

ruby-changes:42135

From: nobu <ko1@a...>
Date: Mon, 21 Mar 2016 18:55:54 +0900 (JST)
Subject: [ruby-changes:42135] nobu:r54209 (trunk): node.c: mark u3 of NODE_MATCH2

nobu	2016-03-21 18:55:50 +0900 (Mon, 21 Mar 2016)

  New Revision: 54209

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

  Log:
    node.c: mark u3 of NODE_MATCH2
    
    * node.c (rb_gc_mark_node): NODE_MATCH2 can have nd_args, u3,
      since r54100.

  Modified files:
    trunk/ChangeLog
    trunk/node.c
Index: node.c
===================================================================
--- node.c	(revision 54208)
+++ node.c	(revision 54209)
@@ -1026,6 +1026,7 @@ rb_gc_mark_node(NODE *obj) https://github.com/ruby/ruby/blob/trunk/node.c#L1026
       case NODE_RESBODY:
       case NODE_CLASS:
       case NODE_BLOCK_PASS:
+      case NODE_MATCH2:
 	rb_gc_mark(RNODE(obj)->u2.value);
 	/* fall through */
       case NODE_BLOCK:	/* 1,3 */
@@ -1056,7 +1057,6 @@ rb_gc_mark_node(NODE *obj) https://github.com/ruby/ruby/blob/trunk/node.c#L1057
       case NODE_DOT3:
       case NODE_FLIP2:
       case NODE_FLIP3:
-      case NODE_MATCH2:
       case NODE_MATCH3:
       case NODE_OP_ASGN_OR:
       case NODE_OP_ASGN_AND:
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 54208)
+++ ChangeLog	(revision 54209)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon Mar 21 18:55:49 2016  Nobuyoshi Nakada  <nobu@r...>
+
+	* node.c (rb_gc_mark_node): NODE_MATCH2 can have nd_args, u3,
+	  since r54100.
+
 Sun Mar 20 21:17:13 2016  NAKAMURA Usaku  <usa@r...>
 
 	* internal.h (rb_int128t2big): declare only when HAVE_INT128_T.

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

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