mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Replace parser & node compile_option from Hash to bit field
This commit reduces dependency to CRuby object.
This commit is contained in:
parent
e5ae7a16b4
commit
19c62b400d
Notes:
git
2023-06-17 07:41:27 +00:00
7 changed files with 34 additions and 27 deletions
1
node.c
1
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue