diff options
-rw-r--r-- | variable.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1709,7 +1709,7 @@ generic_ivar_set_too_complex_table(VALUE obj, void *data) if (!rb_gen_ivtbl_get(obj, 0, &ivtbl)) { ivtbl = xmalloc(sizeof(struct gen_ivtbl)); #if !SHAPE_IN_BASIC_FLAGS - ivtbl->shape_id = SHAPE_OBJ_TOO_COMPLEX; #endif ivtbl->as.complex.table = st_init_numtable_with_size(1); @@ -2117,7 +2117,7 @@ rb_copy_generic_ivar(VALUE clone, VALUE obj) if (rb_shape_obj_too_complex(obj)) { new_ivtbl = xmalloc(sizeof(struct gen_ivtbl)); #if !SHAPE_IN_BASIC_FLAGS - new_ivtbl->shape_id = SHAPE_OBJ_TOO_COMPLEX; #endif new_ivtbl->as.complex.table = st_copy(obj_ivtbl->as.complex.table); } |