From 68a6bbf8b5dc4faa06199337af28acf5a2511614 Mon Sep 17 00:00:00 2001 From: Kunshan Wang Date: Mon, 29 Jan 2024 17:09:44 +0800 Subject: [PATCH] Treat iseq as PPP again. An upstream change made iseq pin the operands of the INSN instances allocated in `ISEQ_COMPILE_DATA(iseq)->insn.storage_head`. We now need to pin those operands, too. Fixes: https://github.com/mmtk/mmtk-ruby/issues/49 --- mmtk_support.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mmtk_support.c b/mmtk_support.c index 75ea811eabadf5..ebf894b91d5873 100644 --- a/mmtk_support.c +++ b/mmtk_support.c @@ -554,6 +554,7 @@ rb_mmtk_is_ppp(VALUE obj) { return true; case T_IMEMO: switch (imemo_type(obj)) { + case imemo_iseq: case imemo_tmpbuf: case imemo_ast: case imemo_ifunc: