mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
no mark of u3 in NODE_BLOCK_PASS
* node.c (rb_gc_mark_node): u3 in NODE_BLOCK_PASS is not used and does not need to be marked. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
07cfb683a4
commit
fd1462576c
1 changed files with 1 additions and 1 deletions
2
node.c
2
node.c
|
@ -1068,7 +1068,6 @@ rb_gc_mark_node(NODE *obj)
|
|||
case NODE_RESCUE:
|
||||
case NODE_RESBODY:
|
||||
case NODE_CLASS:
|
||||
case NODE_BLOCK_PASS:
|
||||
case NODE_MATCH2:
|
||||
rb_gc_mark(RNODE(obj)->u2.value);
|
||||
/* fall through */
|
||||
|
@ -1107,6 +1106,7 @@ rb_gc_mark_node(NODE *obj)
|
|||
case NODE_ALIAS:
|
||||
case NODE_VALIAS:
|
||||
case NODE_ARGSCAT:
|
||||
case NODE_BLOCK_PASS:
|
||||
rb_gc_mark(RNODE(obj)->u1.value);
|
||||
/* fall through */
|
||||
case NODE_GASGN: /* 2 */
|
||||
|
|
Loading…
Add table
Reference in a new issue