summaryrefslogtreecommitdiff
path: root/ext/objspace/objspace_dump.c
diff options
context:
space:
mode:
authorJean Boussier <[email protected]>2025-06-04 09:05:55 +0200
committerJean Boussier <[email protected]>2025-06-04 13:13:50 +0200
commit675f33508cc08cbd17ff8dc1b14bbbe256a709ba ()
tree297157b7801b54afd789a032b616f15f8d16e671 /ext/objspace/objspace_dump.c
parent8d49c05c134702c321198b70fbbf34dd80cc1ba6 (diff)
Get rid of TOO_COMPLEX shape type
Instead it's now a `shape_id` flag. This allows to check if an object is complex without having to chase the `rb_shape_t` pointer.
Notes: Merged: https://.com/ruby/ruby/pull/13511
-rw-r--r--ext/objspace/objspace_dump.c3
1 files changed, 0 insertions, 3 deletions
@@ -821,9 +821,6 @@ shape_id_i(shape_id_t shape_id, void *data)
case SHAPE_T_OBJECT:
dump_append(dc, ", \"shape_type\":\"T_OBJECT\"");
break;
- case SHAPE_OBJ_TOO_COMPLEX:
- dump_append(dc, ", \"shape_type\":\"OBJ_TOO_COMPLEX\"");
- break;
case SHAPE_OBJ_ID:
dump_append(dc, ", \"shape_type\":\"OBJ_ID\"");
break;