From a450806dd2da14cf29b6b01dc8e7e385e65f8dcb Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 3 Jul 2023 21:54:37 +0200 Subject: A few Push/Pop fixes and cleanups (#878) * Use 32-bit push/pop for PUSHAD/POPAD. * Always specify the Push/Pop size explicitly. * Make the Push/Pop functions inline. --- src/include/box64stack.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/include/box64stack.h') diff --git a/src/include/box64stack.h b/src/include/box64stack.h index 997e0646..0607f23f 100755 --- a/src/include/box64stack.h +++ b/src/include/box64stack.h @@ -9,11 +9,4 @@ typedef struct x64emu_s x64emu_t; int CalcStackSize(box64context_t *context); void SetupInitialStack(x64emu_t *emu); -uint16_t Pop16(x64emu_t *emu); -void Push16(x64emu_t *emu, uint16_t v); -uint32_t Pop32(x64emu_t *emu); -void Push32(x64emu_t *emu, uint32_t v); -uint64_t Pop64(x64emu_t *emu); -void Push64(x64emu_t *emu, uint64_t v); - -#endif //__BOX64_STACK_H_ \ No newline at end of file +#endif //__BOX64_STACK_H_ -- cgit 1.4.1