1
0
Fork 0
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:
charliesome 2013-12-07 13:01:17 +00:00
parent 5728783a04
commit 0aada28159

4
gc.c
View file

@ -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 */