mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Partially revert 2c7d3b3a72
to make imemo_ast WB-protected again. Only the test is kept.
This commit is contained in:
parent
ede2616990
commit
e48109d86f
Notes:
git
2021-04-27 17:05:46 +09:00
3 changed files with 1 additions and 9 deletions
2
node.c
2
node.c
|
@ -1299,7 +1299,7 @@ rb_ast_t *
|
|||
rb_ast_new(void)
|
||||
{
|
||||
node_buffer_t *nb = rb_node_buffer_new();
|
||||
rb_ast_t *ast = rb_imemo_ast_new((VALUE)nb);
|
||||
rb_ast_t *ast = (rb_ast_t *)rb_imemo_new(imemo_ast, 0, 0, 0, (VALUE)nb);
|
||||
return ast;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue