YJIT: Stop asserting rb_objspace_markable_object_p()

Because of the way things are sequenced, it doesn't work properly during
auto-compaction.
This commit is contained in:
Alan Wu 2024-04-26 20:09:19 -04:00 committed by Takashi Kokubun
parent 73eeb8643b
commit 83c03cc73a

1
yjit.c
View File

@ -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));
}