summaryrefslogtreecommitdiff
path: root/node.c
diff options
context:
space:
mode:
authoryui-knk <[email protected]>2023-06-17 10:21:37 +0900
committerYuichiro Kaneko <[email protected]>2023-06-17 16:41:08 +0900
commit19c62b400d3458c4525f174515bcb616af7dfdfe ()
tree59a687fc1573a545cc21f6b529724cd7821a0df8 /node.c
parente5ae7a16b49d4cf7c7069aeb01ed5c4e58152055 (diff)
Replace parser & node compile_option from Hash to bit field
This commit reduces dependency to CRuby object.
Notes: Merged: https://.com/ruby/ruby/pull/7950
-rw-r--r--node.c1
1 files changed, 0 insertions, 1 deletions
@@ -392,7 +392,6 @@ rb_ast_mark(rb_ast_t *ast)
if (ast->node_buffer) {
rb_gc_mark(ast->node_buffer->mark_hash);
rb_gc_mark(ast->node_buffer->tokens);
- if (ast->body.compile_option) rb_gc_mark(ast->body.compile_option);
node_buffer_t *nb = ast->node_buffer;
iterate_node_values(ast, &nb->markable, mark_ast_value, NULL);
if (ast->body.script_lines) rb_gc_mark(ast->body.script_lines);