diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-12 02:22:55 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-12 02:22:55 +0000 |
commit | d8104d73d10a119026122f4734ed23dc257e9cdb (patch) | |
tree | 36a60b25c2b60a6f1a177d97d52c80353dc85a71 /node.c | |
parent | 3b3b2091d8a353f349249630929f154fa88b7299 (diff) | |
download | ruby-d8104d73d10a119026122f4734ed23dc257e9cdb.tar.gz |
Missing write-barrier
Fix up r64507.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'node.c')
-rw-r--r-- | node.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1116,7 +1116,7 @@ rb_ast_new(void) node_buffer_t *nb = rb_node_buffer_new(); VALUE mark_ary = nb->mark_ary; rb_ast_t *ast = (rb_ast_t *)rb_imemo_new(imemo_ast, 0, 0, 0, (VALUE)nb); - RB_GC_GUARD(mark_ary); + RB_OBJ_WRITTEN(ast, Qnil, mark_ary); return ast; } |