diff backend_x86.c @ 1692:5dacaef602a7 segacd

Merge from default
author Michael Pavone <pavone@retrodev.com>
date Sat, 05 Jan 2019 00:58:08 -0800
parents 2a5649a767e7
children 45c4b74e7676
line wrap: on
line diff
--- a/backend_x86.c	Tue Dec 19 00:49:13 2017 -0800
+++ b/backend_x86.c	Sat Jan 05 00:58:08 2019 -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 {