summaryrefslogtreecommitdiff
path: root/ext/objspace/objspace_dump.c
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2023-11-08 10:19:06 -0500
committerPeter Zhu <peter@peterzhu.ca>2023-11-09 09:25:02 -0500
commitf6910a61122931e4193bcc0fad18d839c319b720 (patch)
tree3d4ab8b3d6ba6204b917ac16743748dcb02e0c65 /ext/objspace/objspace_dump.c
parentc4efd170616c3ee82a07fda04f878120f1a97e98 (diff)
Remove SHAPE_CAPACITY_CHANGE shapes
We don't need to create a shape to transition capacity as we can transition the capacity when the capacity of the SHAPE_IVAR changes.
Diffstat (limited to 'ext/objspace/objspace_dump.c')
-rw-r--r--ext/objspace/objspace_dump.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/ext/objspace/objspace_dump.c b/ext/objspace/objspace_dump.c
index c80c38eba4..963deb13fc 100644
--- a/ext/objspace/objspace_dump.c
+++ b/ext/objspace/objspace_dump.c
@@ -771,11 +771,6 @@ shape_i(rb_shape_t *shape, void *data)
case SHAPE_FROZEN:
dump_append(dc, "\"FROZEN\"");
break;
- case SHAPE_CAPACITY_CHANGE:
- dump_append(dc, "\"CAPACITY_CHANGE\"");
- dump_append(dc, ", \"capacity\":");
- dump_append_sizet(dc, shape->capacity);
- break;
case SHAPE_T_OBJECT:
dump_append(dc, "\"T_OBJECT\"");
break;