diff options
author | Alan Wu <XrXr@users.noreply.github.com> | 2021-09-29 16:11:50 -0400 |
---|---|---|
committer | Alan Wu <XrXr@users.noreply.github.com> | 2021-10-20 18:19:41 -0400 |
commit | f36a5a98c02ba38d05d345104b1a6d0c0c1af29b (patch) | |
tree | f1231e0a7ddb05354b3660235b898e6b10483737 /yjit_asm.c | |
parent | ec4998bd69e2d09d89440f27fc15be05f2a63f21 (diff) |
style: line break before "else"
Diffstat (limited to 'yjit_asm.c')
-rw-r--r-- | yjit_asm.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/yjit_asm.c b/yjit_asm.c index e589ca1703..fa26ce0908 100644 --- a/yjit_asm.c +++ b/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"); } } |