mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Mark some tmpbufs via node objects
This way we don't need to add the tmpbufs to a Ruby array for marking
This commit is contained in:
parent
581fcde088
commit
64817a7cfd
2 changed files with 12 additions and 8 deletions
3
node.c
3
node.c
|
@ -1225,6 +1225,9 @@ mark_ast_value(void *ctx, NODE * node)
|
|||
case NODE_DXSTR:
|
||||
case NODE_DREGX:
|
||||
case NODE_DSYM:
|
||||
case NODE_ARGS:
|
||||
case NODE_FOR:
|
||||
case NODE_ARYPTN:
|
||||
rb_gc_mark(node->nd_lit);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue