summaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
authorgit <svn-admin@ruby-lang.org>2023-04-19 00:16:36 +0000
committergit <svn-admin@ruby-lang.org>2023-04-19 00:16:36 +0000
commit21082eac50d35e0c54a85066a3609c7b5063c0f7 (patch)
treea008421ab73a0186b1ed01f874d2dd22b3b6c5d5 /compile.c
parentbdffcd6df30d7f21cf1a3a174672e82074800451 (diff)
downloadruby-21082eac50d35e0c54a85066a3609c7b5063c0f7.tar.gz
* expand tabs. [ci skip]
Please consider using misc/expand_tabs.rb as a pre-commit hook.
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/compile.c b/compile.c
index be5fd9c345..bd4b6e559a 100644
--- a/compile.c
+++ b/compile.c
@@ -3706,10 +3706,10 @@ iseq_specialized_instruction(rb_iseq_t *iseq, INSN *iobj)
if (IS_INSN_ID(niobj, send)) {
const struct rb_callinfo *ci = (struct rb_callinfo *)OPERAND_AT(niobj, 0);
if ((vm_ci_flag(ci) & VM_CALL_ARGS_SIMPLE) && vm_ci_argc(ci) == 0) {
- switch (vm_ci_mid(ci)) {
- case idMax:
- case idMin:
- case idHash:
+ switch (vm_ci_mid(ci)) {
+ case idMax:
+ case idMin:
+ case idHash:
{
rb_num_t num = (rb_num_t)iobj->operands[0];
iobj->insn_id = BIN(opt_newarray_send);
@@ -3720,9 +3720,9 @@ iseq_specialized_instruction(rb_iseq_t *iseq, INSN *iobj)
ELEM_REMOVE(&niobj->link);
return COMPILE_OK;
}
- }
- }
- }
+ }
+ }
+ }
}
if (IS_INSN_ID(iobj, send)) {