aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/t_aarch64_emit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/t_aarch64_emit.c')
-rw-r--r--src/t_aarch64_emit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/t_aarch64_emit.c b/src/t_aarch64_emit.c
index bdbb0b0..b8eff85 100644
--- a/src/t_aarch64_emit.c
+++ b/src/t_aarch64_emit.c
@@ -984,8 +984,8 @@ prologue(uchar **pcode, Frame *frame, Function *fn)
frame->size += 8;
}
}
- /* ensure stack is 16-byte aligned for function calls */
- if (!fn->isleaf && ((fn->stksiz + frame->size) & 0xF) != 0) {
+ /* ensure stack is 16-byte aligned */
+ if (((fn->stksiz + frame->size) & 0xF) != 0) {
fn->stksiz += 8;
}
frame->size += fn->stksiz;