diff options
author | Richard Henderson | 2018-10-30 22:55:43 +0100 |
---|---|---|
committer | Richard Henderson | 2018-12-17 04:04:43 +0100 |
commit | 66c0285df4270d184afce5ac8b97ac175c89562f (patch) | |
tree | 8b14d46156680c93f8656420bc5518c22e91b3cb /tcg/i386/tcg-target.h | |
parent | tcg/i386: Always use %ebp for TCG_AREG0 (diff) | |
download | qemu-66c0285df4270d184afce5ac8b97ac175c89562f.tar.gz qemu-66c0285df4270d184afce5ac8b97ac175c89562f.tar.xz qemu-66c0285df4270d184afce5ac8b97ac175c89562f.zip |
tcg/i386: Move TCG_REG_CALL_STACK from define to enum
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/i386/tcg-target.h')
-rw-r--r-- | tcg/i386/tcg-target.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/i386/tcg-target.h b/tcg/i386/tcg-target.h index 7488c3d869..2441658865 100644 --- a/tcg/i386/tcg-target.h +++ b/tcg/i386/tcg-target.h @@ -86,10 +86,10 @@ typedef enum { TCG_REG_RDI = TCG_REG_EDI, TCG_AREG0 = TCG_REG_EBP, + TCG_REG_CALL_STACK = TCG_REG_ESP } TCGReg; /* used for function call generation */ -#define TCG_REG_CALL_STACK TCG_REG_ESP #define TCG_TARGET_STACK_ALIGN 16 #if defined(_WIN64) #define TCG_TARGET_CALL_STACK_OFFSET 32 |