aboutsummaryrefslogtreecommitdiffstats
path: root/variable.c
diff options
context:
space:
mode:
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/variable.c b/variable.c
index ec3ee60b2d..0d18a72347 100644
--- a/variable.c
+++ b/variable.c
@@ -1515,11 +1515,6 @@ generic_ivar_set(VALUE obj, ID id, VALUE val)
struct ivar_update ivup;
attr_index_t index;
- // The returned shape will have `id` in its iv_table
- if (rb_shape_obj_too_complex(obj)) {
- rb_complex_ivar_set(obj, id, val);
- return;
- }
rb_shape_t *shape = rb_shape_get_shape(obj);
if (UNLIKELY(shape->type == SHAPE_OBJ_TOO_COMPLEX)) {