Skip to content

Commit

Permalink
YJIT: Stop asserting rb_objspace_markable_object_p()
Browse files Browse the repository at this point in the history
Because of the way things are sequenced, it doesn't work properly during
auto-compaction.
  • Loading branch information
XrXr committed Apr 27, 2024
1 parent 25dc362 commit bc6bf0a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion yjit.c
Original file line number Diff line number Diff line change
Expand Up @@ -1047,7 +1047,6 @@ rb_yjit_multi_ractor_p(void)
void
rb_assert_iseq_handle(VALUE handle)
{
RUBY_ASSERT_ALWAYS(rb_objspace_markable_object_p(handle));
RUBY_ASSERT_ALWAYS(IMEMO_TYPE_P(handle, imemo_iseq));
}

Expand Down

0 comments on commit bc6bf0a

Please sign in to comment.