about summary refs log tree commit diff stats
path: root/src/include/box64stack.h
diff options
context:
space:
mode:
authorAlexandre Julliard <julliard@winehq.org>2023-07-03 21:54:37 +0200
committerGitHub <noreply@github.com>2023-07-03 21:54:37 +0200
commita450806dd2da14cf29b6b01dc8e7e385e65f8dcb (patch)
tree813f68ac9f6b2f5214460ca1d3bef1407edfedf7 /src/include/box64stack.h
parentcf6048419baf5c7a29ddf5a2463d7ae744832463 (diff)
downloadbox64-a450806dd2da14cf29b6b01dc8e7e385e65f8dcb.tar.gz
box64-a450806dd2da14cf29b6b01dc8e7e385e65f8dcb.zip
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.
Diffstat (limited to 'src/include/box64stack.h')
-rwxr-xr-xsrc/include/box64stack.h9
1 files changed, 1 insertions, 8 deletions
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_