# HG changeset patch # User Michael Pavone # Date 1514758127 28800 # Node ID 2a5649a767e76724ccd816c01aa402a6e66071cc # Parent f5d693bd694a4170da117fa13494e853e550e7a4 Fix accidental add to RSP with SZ_D and SZ_PTR. Using SZ_D breakse when the stack is located outside of the 32-bit addressable range diff -r f5d693bd694a -r 2a5649a767e7 backend_x86.c --- a/backend_x86.c Sun Dec 31 09:53:33 2017 -0800 +++ b/backend_x86.c Sun Dec 31 14:08:47 2017 -0800 @@ -244,7 +244,7 @@ if (is_write && (memmap[chunk].flags & MMAP_CODE)) { pop_r(code, opts->scratch2); } else { - add_ir(code, sizeof(void*), RSP, SZ_D); + add_ir(code, sizeof(void*), RSP, SZ_PTR); code->stack_off -= sizeof(void *); } } else {