diff options
author | Jean Boussier <[email protected]> | 2025-06-07 14:44:13 +0200 |
---|---|---|
committer | Jean Boussier <[email protected]> | 2025-06-07 18:30:44 +0200 |
commit | 6eb0cd8df703d0a2edf7b11eab3255295e58c888 (patch) | |
tree | 4d3e7e6a860a1ff5ca18b91a807bc5a7eb9236b7 /variable.c | |
parent | 1c96aed6eea39a06a4b790ddc7a31a0b35a9330e (diff) |
Get rid of SHAPE_T_OBJECT
Now that we have the `heap_index` in shape flags we no longer
need `T_OBJECT` shapes.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13556
Diffstat (limited to 'variable.c')
-rw-r--r-- | variable.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/variable.c b/variable.c index a7ca0b9b12..6d0e9832e7 100644 --- a/variable.c +++ b/variable.c @@ -2211,7 +2211,6 @@ iterate_over_shapes_with_callback(rb_shape_t *shape, rb_ivar_foreach_callback_fu { switch ((enum shape_type)shape->type) { case SHAPE_ROOT: - case SHAPE_T_OBJECT: return false; case SHAPE_OBJ_ID: if (itr_data->ivar_only) { |