diff options
Diffstat (limited to 'call_x86.dasc')
-rw-r--r-- | call_x86.dasc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/call_x86.dasc b/call_x86.dasc index 573b448..d7a7c4c 100644 --- a/call_x86.dasc +++ b/call_x86.dasc @@ -508,6 +508,9 @@ static void add_int(Dst_DECL, const struct ctype* ct, struct reg_alloc* reg, int #endif else if (is_int64) { + if (reg->off % 8 != 0) { + reg->off += 8 - (reg->off % 8); + } |.if X64 | mov [rsp + reg->off], rax |.else |