mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* gc.c (gc_mark_children): use nd_clss and nd_next for code clarity
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5728783a04
commit
0aada28159
1 changed files with 2 additions and 2 deletions
4
gc.c
4
gc.c
|
@ -3796,8 +3796,8 @@ gc_mark_children(rb_objspace_t *objspace, VALUE ptr)
|
|||
|
||||
case NODE_CREF:
|
||||
gc_mark(objspace, obj->as.node.nd_refinements);
|
||||
gc_mark(objspace, (VALUE)obj->as.node.u1.node);
|
||||
ptr = (VALUE)obj->as.node.u3.node;
|
||||
gc_mark(objspace, (VALUE)obj->as.node.nd_clss);
|
||||
ptr = (VALUE)obj->as.node.nd_next;
|
||||
goto again;
|
||||
|
||||
default: /* unlisted NODE */
|
||||
|
|
Loading…
Add table
Reference in a new issue