mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-03-26 11:46:14 +00:00
tcg/i386: Move TCG_REG_CALL_STACK from define to enum
Backports commit 66c0285df4270d184afce5ac8b97ac175c89562f from qemu
This commit is contained in:
parent
f3a8a4a306
commit
091b4fa1ff
|
@ -86,10 +86,10 @@ typedef enum {
|
||||||
TCG_REG_RDI = TCG_REG_EDI,
|
TCG_REG_RDI = TCG_REG_EDI,
|
||||||
|
|
||||||
TCG_AREG0 = TCG_REG_EBP,
|
TCG_AREG0 = TCG_REG_EBP,
|
||||||
|
TCG_REG_CALL_STACK = TCG_REG_ESP
|
||||||
} TCGReg;
|
} TCGReg;
|
||||||
|
|
||||||
/* used for function call generation */
|
/* used for function call generation */
|
||||||
#define TCG_REG_CALL_STACK TCG_REG_ESP
|
|
||||||
#define TCG_TARGET_STACK_ALIGN 16
|
#define TCG_TARGET_STACK_ALIGN 16
|
||||||
#if defined(_WIN64) || (defined(__CYGWIN__) && defined(__x86_64__))
|
#if defined(_WIN64) || (defined(__CYGWIN__) && defined(__x86_64__))
|
||||||
#define TCG_TARGET_CALL_STACK_OFFSET 32
|
#define TCG_TARGET_CALL_STACK_OFFSET 32
|
||||||
|
|
Loading…
Reference in a new issue