Fix indentation in vm_setivar_default
This commit is contained in:
parent
8c8548b175
commit
0700d0fd1c
Notes:
git
2023-03-03 21:12:24 +00:00
@ -1416,11 +1416,11 @@ vm_setivar_default(VALUE obj, ID id, VALUE val, shape_id_t dest_shape_id, attr_i
|
|||||||
shape_id_t source_shape_id = dest_shape->parent_id;
|
shape_id_t source_shape_id = dest_shape->parent_id;
|
||||||
|
|
||||||
if (shape_id == source_shape_id && dest_shape->edge_name == id && dest_shape->type == SHAPE_IVAR) {
|
if (shape_id == source_shape_id && dest_shape->edge_name == id && dest_shape->type == SHAPE_IVAR) {
|
||||||
ivtbl = rb_ensure_generic_iv_list_size(obj, index + 1);
|
ivtbl = rb_ensure_generic_iv_list_size(obj, index + 1);
|
||||||
#if SHAPE_IN_BASIC_FLAGS
|
#if SHAPE_IN_BASIC_FLAGS
|
||||||
RBASIC_SET_SHAPE_ID(obj, dest_shape_id);
|
RBASIC_SET_SHAPE_ID(obj, dest_shape_id);
|
||||||
#else
|
#else
|
||||||
ivtbl->shape_id = dest_shape_id;
|
ivtbl->shape_id = dest_shape_id;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user