Skip to content

Commit

Permalink
Treat iseq as PPP again.
Browse files Browse the repository at this point in the history
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: mmtk/mmtk-ruby#49
  • Loading branch information
wks committed Jan 29, 2024
1 parent 1f4c40d commit 68a6bbf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mmtk_support.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 68a6bbf

Please sign in to comment.