Mercurial > repos > blastem
diff backend_x86.c @ 1517:9136b7ea1ccb
Merge
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 22 Jan 2018 22:03:55 -0800 |
parents | 2a5649a767e7 |
children | 45c4b74e7676 |
line wrap: on
line diff
--- a/backend_x86.c Mon Jan 22 22:02:29 2018 -0800 +++ b/backend_x86.c Mon Jan 22 22:03:55 2018 -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 {