summaryrefslogtreecommitdiff
path: root/iseq.c
diff options
context:
space:
mode:
authorJean Boussier <[email protected]>2025-05-15 12:14:53 +0200
committerJean Boussier <[email protected]>2025-05-15 16:06:52 +0200
commit60ffb714d251878753ebf66e68149311c728cac6 (patch)
treed9cb46a81af9313ad6faa6faa559fd1c4c7c2c66 /iseq.c
parented632cd0bacc710b03809c903a978d3fa2cfedfe (diff)
Ensure shape_id is never used on T_IMEMO
It doesn't make sense to set ivars or anything shape related on a T_IMEMO. Co-Authored-By: John Hawthorn <[email protected]>
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/13347
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/iseq.c b/iseq.c
index 48e6ecb075..f35769198b 100644
--- a/iseq.c
+++ b/iseq.c
@@ -1530,7 +1530,6 @@ iseqw_new(const rb_iseq_t *iseq)
/* cache a wrapper object */
RB_OBJ_WRITE((VALUE)iseq, &iseq->wrapper, obj);
- RB_OBJ_FREEZE((VALUE)iseq);
return obj;
}