mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Missing write-barrier
Fix up r64507. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3b3b2091d8
commit
d8104d73d1
1 changed files with 1 additions and 1 deletions
2
node.c
2
node.c
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue