Skip to content

Commit 7fefed8

Browse files
tenderloveKaanOzkan
authored andcommitted
fix write barrier
1 parent b659f69 commit 7fefed8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vm_insnhelper.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6016,7 +6016,7 @@ vm_invokeblock_fastpath(struct rb_execution_context_struct *ec,
60166016
ret = vm_cc_new((VALUE)iseq, NULL, vm_invoke_iseq_block_cc, cc_type_block);
60176017
vm_ccs_push((VALUE)iseq, ISEQ_BODY(iseq)->block_ccs, ci, ret);
60186018
cd->cc = ret;
6019-
// TODO: write barrier
6019+
RB_OBJ_WRITTEN((VALUE)iseq, Qundef, ret);
60206020
RUBY_ASSERT(ret->klass == (VALUE)iseq);
60216021
}
60226022
}

0 commit comments

Comments
 (0)