mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Remove reference counter from rb_parser_config
It's allocated outside of parser then no need to track reference count in rb_parser_config.
This commit is contained in:
parent
52d9e55903
commit
b35e21b388
4 changed files with 0 additions and 12 deletions
1
node.c
1
node.c
|
@ -321,7 +321,6 @@ rb_ast_t *
|
|||
rb_ast_new(rb_parser_config_t *config)
|
||||
{
|
||||
node_buffer_t *nb = rb_node_buffer_new(config);
|
||||
config->counter++;
|
||||
return config->ast_new((VALUE)nb);
|
||||
}
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue