Skip to content

Commit

Permalink
fixup: clang-format
Browse files Browse the repository at this point in the history
Change-Id: Ieeea1c87e51b07021b7e1dd7cc306139ffacbbe7
  • Loading branch information
egrimley-arm committed Dec 17, 2024
1 parent 320885b commit 6e851f3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions core/arch/aarchxx/mangle.c
Original file line number Diff line number Diff line change
Expand Up @@ -666,8 +666,7 @@ insert_push_all_registers(dcontext_t *dcontext, clean_call_info_t *cci,

/* Make dstack_offs 8-byte algined, as we only accounted for 17 4-byte slots. */
PRE(ilist, instr,
XINST_CREATE_sub(dcontext, opnd_create_reg(DR_REG_SP),
OPND_CREATE_INT(XSP_SZ)));
XINST_CREATE_sub(dcontext, opnd_create_reg(DR_REG_SP), OPND_CREATE_INT(XSP_SZ)));
dstack_offs += XSP_SZ;
#endif
ASSERT(cci->skip_save_flags || cci->num_simd_skip != 0 || cci->num_regs_skip != 0 ||
Expand Down Expand Up @@ -773,8 +772,7 @@ insert_pop_all_registers(dcontext_t *dcontext, clean_call_info_t *cci, instrlist

#else
PRE(ilist, instr,
XINST_CREATE_add(dcontext, opnd_create_reg(DR_REG_SP),
OPND_CREATE_INT(XSP_SZ)));
XINST_CREATE_add(dcontext, opnd_create_reg(DR_REG_SP), OPND_CREATE_INT(XSP_SZ)));
/* We rely on dr_set_mcontext_priv() to set the app's stolen reg value,
* and the stack swap to set the sp value: we assume the stolen reg on
* the stack still has our TLS base in it.
Expand Down

0 comments on commit 6e851f3

Please sign in to comment.