diff options
author | Aaron Patterson <tenderlove@ruby-lang.org> | 2019-09-03 14:01:07 -0700 |
---|---|---|
committer | Aaron Patterson <tenderlove@ruby-lang.org> | 2019-09-05 10:13:50 -0700 |
commit | 64817a7cfd4a258b45356e6da8fbdd0040b3231b (patch) | |
tree | afaa30f9006fdf239dae648f1e199c7ff356bee2 /node.c | |
parent | 581fcde0884e493206b04b3e6b7a069b941dfe46 (diff) |
Mark some tmpbufs via node objects
This way we don't need to add the tmpbufs to a Ruby array for marking
Diffstat (limited to 'node.c')
-rw-r--r-- | node.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; } |