diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-09 02:06:45 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-09 02:06:45 +0000 |
commit | fd1462576c3e2750184841e3ebb07f0bf165a3cd (patch) | |
tree | db736c6b23d9e3916b4cd5dce980e8aa3f644bf6 /node.c | |
parent | 07cfb683a4c9ec3ecbe22fba6675cebd3fdf2ab2 (diff) | |
download | ruby-fd1462576c3e2750184841e3ebb07f0bf165a3cd.tar.gz |
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
Diffstat (limited to 'node.c')
-rw-r--r-- | node.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |