summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
+ }
}
}
}