summaryrefslogtreecommitdiff
path: root/shape.c
diff options
context:
space:
mode:
Diffstat (limited to 'shape.c')
-rw-r--r--shape.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/shape.c b/shape.c
index ba195c3c96..a6a5adf854 100644
--- a/shape.c
+++ b/shape.c
@@ -149,13 +149,12 @@ get_next_shape_internal(rb_shape_t* shape, ID id, VALUE obj, enum shape_type sha
}
break;
case SHAPE_IVAR_UNDEF:
+ case SHAPE_FROZEN:
new_shape->iv_count = new_shape->parent->iv_count;
break;
case SHAPE_ROOT:
rb_bug("Unreachable");
break;
- case SHAPE_FROZEN:
- break;
}
rb_id_table_insert(shape->edges, id, (VALUE)new_shape);