aboutsummaryrefslogtreecommitdiffstats
path: root/node.c
diff options
context:
space:
mode:
authoryui-knk <spiketeika@gmail.com>2023-06-17 10:21:37 +0900
committerYuichiro Kaneko <spiketeika@gmail.com>2023-06-17 16:41:08 +0900
commit19c62b400d3458c4525f174515bcb616af7dfdfe (patch)
tree59a687fc1573a545cc21f6b529724cd7821a0df8 /node.c
parente5ae7a16b49d4cf7c7069aeb01ed5c4e58152055 (diff)
downloadruby-19c62b400d3458c4525f174515bcb616af7dfdfe.tar.gz
Replace parser & node compile_option from Hash to bit field
This commit reduces dependency to CRuby object.
Diffstat (limited to 'node.c')
-rw-r--r--node.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/node.c b/node.c
index 1d3b7b75e4..bd03454bef 100644
--- a/node.c
+++ b/node.c
@@ -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);