summaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-04-19 09:23:28 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-04-19 09:23:28 +0900
commit8023da746c7cee630cbb12ca0c60083127af885a (patch)
tree70e529d2187723f0edaf23df401d246b04ba8c2b /compile.c
parent7b3932a9c9ce5974f02ce567dd720806210bafe5 (diff)
downloadruby-8023da746c7cee630cbb12ca0c60083127af885a.tar.gz
Adjust indent [ci skip]
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/compile.c b/compile.c
index bd4b6e559a..ec5ebff58c 100644
--- a/compile.c
+++ b/compile.c
@@ -3710,16 +3710,16 @@ iseq_specialized_instruction(rb_iseq_t *iseq, INSN *iobj)
case idMax:
case idMin:
case idHash:
- {
- rb_num_t num = (rb_num_t)iobj->operands[0];
- iobj->insn_id = BIN(opt_newarray_send);
- iobj->operands = compile_data_calloc2(iseq, insn_len(iobj->insn_id) - 1, sizeof(VALUE));
- iobj->operands[0] = (VALUE)num;
- iobj->operands[1] = (VALUE)rb_id2sym(vm_ci_mid(ci));
- iobj->operand_size = insn_len(iobj->insn_id) - 1;
- ELEM_REMOVE(&niobj->link);
- return COMPILE_OK;
- }
+ {
+ rb_num_t num = (rb_num_t)iobj->operands[0];
+ iobj->insn_id = BIN(opt_newarray_send);
+ iobj->operands = compile_data_calloc2(iseq, insn_len(iobj->insn_id) - 1, sizeof(VALUE));
+ iobj->operands[0] = (VALUE)num;
+ iobj->operands[1] = (VALUE)rb_id2sym(vm_ci_mid(ci));
+ iobj->operand_size = insn_len(iobj->insn_id) - 1;
+ ELEM_REMOVE(&niobj->link);
+ return COMPILE_OK;
+ }
}
}
}