summaryrefslogtreecommitdiff
path: root/yjit.c
diff options
context:
space:
mode:
authorAlan Wu <[email protected]>2024-04-26 20:09:19 -0400
committerTakashi Kokubun <[email protected]>2024-04-26 18:03:26 -0700
commit83c03cc73a30d27f8b35f2d08ba763353bf8e18f (patch)
tree482e43c9300d14efb4eb615a34fb773696c90ca8 /yjit.c
parent73eeb8643b8dcb5a059cb55a21da2e77a2febd24 (diff)
YJIT: Stop asserting rb_objspace_markable_object_p()
Because of the way things are sequenced, it doesn't work properly during auto-compaction.
Diffstat (limited to 'yjit.c')
-rw-r--r--yjit.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/yjit.c b/yjit.c
index 258114772c..d40ac81fb5 100644
--- a/yjit.c
+++ b/yjit.c
@@ -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));
}