Skip to content

Commit

Permalink
node.c: mark u3 of NODE_MATCH2
Browse files Browse the repository at this point in the history
* node.c (rb_gc_mark_node): NODE_MATCH2 can have nd_args, u3,
  since r54100.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nobu committed Mar 21, 2016
1 parent d5a9735 commit 90c543e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
@@ -1,3 +1,8 @@
Mon Mar 21 18:55:49 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>

* 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@ruby-lang.org>

* internal.h (rb_int128t2big): declare only when HAVE_INT128_T.
Expand Down
2 changes: 1 addition & 1 deletion node.c
Expand Up @@ -1026,6 +1026,7 @@ rb_gc_mark_node(NODE *obj)
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 */
Expand Down Expand Up @@ -1056,7 +1057,6 @@ rb_gc_mark_node(NODE *obj)
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:
Expand Down

0 comments on commit 90c543e

Please sign in to comment.