From e48109d86fa06584a79610ecd5cb16f0bbd64e8c Mon Sep 17 00:00:00 2001 From: Yusuke Endoh Date: Tue, 27 Apr 2021 15:31:19 +0900 Subject: Partially revert 2c7d3b3a722c4636ab1e9d289cbca47ddd168d3e to make imemo_ast WB-protected again. Only the test is kept. --- node.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'node.c') diff --git a/node.c b/node.c index 2392d5b8d1..bef9d7bcbd 100644 --- a/node.c +++ b/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; } -- cgit v1.2.1