summaryrefslogtreecommitdiff
path: root/shape.c
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@ruby-lang.org>2023-01-26 11:04:55 -0500
committerAaron Patterson <tenderlove@ruby-lang.org>2023-01-26 11:04:55 -0500
commit88f2b94065be3fcd6769a3f132cfee8ecfb663b8 (patch)
treeb205c6ff38e3623a97ca8ff2dca1a9eac8d6c33f /shape.c
parent6422fef90c30a9662392a918533851f9ca41405e (diff)
downloadruby-88f2b94065be3fcd6769a3f132cfee8ecfb663b8.tar.gz
Revert "Limit maximum number of IVs on a shape"
This reverts commit 78fcc9847a9db6d42c8c263154ec05903a370b6b.
Diffstat (limited to 'shape.c')
-rw-r--r--shape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shape.c b/shape.c
index e7dd85c3f7..f3150127ff 100644
--- a/shape.c
+++ b/shape.c
@@ -139,7 +139,7 @@ get_next_shape_internal(rb_shape_t * shape, ID id, enum shape_type shape_type, b
*variation_created = false;
- if (new_shapes_allowed && shape->next_iv_index < SHAPE_MAX_NUM_IVS) {
+ if (new_shapes_allowed) {
RB_VM_LOCK_ENTER();
{
bool had_edges = !!shape->edges;