mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
style: line break before "else"
This commit is contained in:
parent
ec4998bd69
commit
f36a5a98c0
3 changed files with 66 additions and 33 deletions
12
yjit_asm.c
12
yjit_asm.c
|
@ -1544,9 +1544,11 @@ void pop(codeblock_t *cb, x86opnd_t opnd)
|
|||
if (rex_needed(opnd))
|
||||
cb_write_rex(cb, false, 0, 0, opnd.as.reg.reg_no);
|
||||
cb_write_opcode(cb, 0x58, opnd);
|
||||
} else if (opnd.type == OPND_MEM) {
|
||||
}
|
||||
else if (opnd.type == OPND_MEM) {
|
||||
cb_write_rm(cb, false, false, NO_OPND, opnd, 0, 1, 0x8F);
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
assert(false && "unexpected operand type");
|
||||
}
|
||||
}
|
||||
|
@ -1571,9 +1573,11 @@ void push(codeblock_t *cb, x86opnd_t opnd)
|
|||
if (rex_needed(opnd))
|
||||
cb_write_rex(cb, false, 0, 0, opnd.as.reg.reg_no);
|
||||
cb_write_opcode(cb, 0x50, opnd);
|
||||
} else if (opnd.type == OPND_MEM) {
|
||||
}
|
||||
else if (opnd.type == OPND_MEM) {
|
||||
cb_write_rm(cb, false, false, NO_OPND, opnd, 6, 1, 0xFF);
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
assert(false && "unexpected operand type");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue