diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2021-04-27 15:31:19 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2021-04-27 17:05:19 +0900 |
commit | e48109d86fa06584a79610ecd5cb16f0bbd64e8c (patch) | |
tree | c9da0f12ca1f6b93ff2d8f24d26d9bd986aa5fab /node.c | |
parent | ede26169904a5fbca2e4fd8484dbf80db431f5a7 (diff) |
Partially revert 2c7d3b3a722c4636ab1e9d289cbca47ddd168d3e
to make imemo_ast WB-protected again. Only the test is kept.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4419
Diffstat (limited to 'node.c')
-rw-r--r-- | node.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |