From 3f7332a15e7475bf94aa6f077cc9cc9f3210b0aa Mon Sep 17 00:00:00 2001 From: Jean Boussier Date: Tue, 15 Jul 2025 11:00:04 +0200 Subject: [PATCH] Update imemo_mask to match ruby's The imemo mask has been `0xf` since Ruby 2.5 / ccfe37884ab566336380d0f21e15321d6382da8f This hasn't caused problems yet because the only possible conflict is `imemo_type = 15`, but it is not yet used. --- ext/debug/iseq_collector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/debug/iseq_collector.c b/ext/debug/iseq_collector.c index ae0beb487..6b8d355a9 100644 --- a/ext/debug/iseq_collector.c +++ b/ext/debug/iseq_collector.c @@ -10,7 +10,7 @@ size_t rb_obj_memsize_of(VALUE); // implementation specific. enum imemo_type { imemo_iseq = 7, - imemo_mask = 0x07 + imemo_mask = 0xf }; static inline enum imemo_type