Search
lxdream.org :: lxdream/src/dream.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/dream.h
changeset 736:a02d1475ccfd
prev561:533f6b478071
next1041:5fcc39857c5c
author nkeynes
date Sun Dec 14 07:50:48 2008 +0000 (15 years ago)
permissions -rw-r--r--
last change Setup a 'proper' stackframe in translated blocks. This doesn't affect performance noticeably,
but does ensure that
a) The stack is aligned correctly on OS X with no extra effort, and
b) We can't mess up the stack and crash that way anymore.
Replace all PUSH/POP instructions (outside of prologue/epilogue) with ESP-rel moves to stack
local variables.
Finally merge ia32mac and ia32abi together, since they're pretty much the same now anyway (and
thereby simplifying maintenance a good deal)
file annotate diff log raw
1.1 --- a/src/dream.h Tue Jan 01 05:08:38 2008 +0000
1.2 +++ b/src/dream.h Sun Dec 14 07:50:48 2008 +0000
1.3 @@ -16,8 +16,8 @@
1.4 * GNU General Public License for more details.
1.5 */
1.6
1.7 -#ifndef dream_H
1.8 -#define dream_H 1
1.9 +#ifndef lxdream_dream_H
1.10 +#define lxdream_dream_H 1
1.11
1.12 #include <stdio.h>
1.13 #include <stdlib.h>
1.14 @@ -103,4 +103,4 @@
1.15 #ifdef __cplusplus
1.16 }
1.17 #endif
1.18 -#endif
1.19 +#endif /* !lxdream_dream_H */
.