diff options
| author | Peter Zhu <peter@peterzhu.ca> | 2023-02-28 14:39:19 -0500 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2023-03-03 16:12:03 -0500 |
| commit | 0700d0fd1c77b4fddf803dea3c10be654df600ff (patch) | |
| tree | 811cac24a84ffc130345ba419819fd538d73baa9 | |
| parent | 8c8548b17509113b705e353e6dbf00c3bcee84f1 (diff) | |
Fix indentation in vm_setivar_default
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/7407
| -rw-r--r-- | vm_insnhelper.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c index e7571020dd..e0d227990b 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -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; 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 - RBASIC_SET_SHAPE_ID(obj, dest_shape_id); + RBASIC_SET_SHAPE_ID(obj, dest_shape_id); #else - ivtbl->shape_id = dest_shape_id; + ivtbl->shape_id = dest_shape_id; #endif } else { |
