summaryrefslogtreecommitdiff
path: root/shape.c
diff options
context:
space:
mode:
authorJean Boussier <[email protected]>2025-05-08 20:16:00 +0200
committerJean Boussier <[email protected]>2025-05-09 10:22:51 +0200
commit677d075c2901198aad2f17b7d9f07af021c5e974 ()
tree7b852d0dcb2bc6d98df23b661f1c7652262f318c /shape.c
parentf82523f14bf69f73a4660611a16a67a88a408eda (diff)
Refactor `rb_shape_transition_too_complex` to return an ID.
Notes: Merged: https://.com/ruby/ruby/pull/13283
-rw-r--r--shape.c6
1 files changed, 3 insertions, 3 deletions
@@ -742,11 +742,11 @@ shape_transition_too_complex(rb_shape_t *original_shape)
return next_shape;
}
-rb_shape_t *
-rb_shape_transition_shape_too_complex(VALUE obj)
{
rb_shape_t *original_shape = rb_shape_get_shape(obj);
- return shape_transition_too_complex(original_shape);
}
bool