From: Richard Henderson Date: Tue, 30 Oct 2018 21:55:43 +0000 (+0000) Subject: tcg/i386: Move TCG_REG_CALL_STACK from define to enum X-Git-Tag: v4.0.0-rc0~205^2~30 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=66c0285df4270d184afce5ac8b97ac175c89562f;p=thirdparty%2Fqemu.git tcg/i386: Move TCG_REG_CALL_STACK from define to enum Reviewed-by: Alex Bennée Reviewed-by: Emilio G. Cota Signed-off-by: Richard Henderson --- diff --git a/tcg/i386/tcg-target.h b/tcg/i386/tcg-target.h index 7488c3d8696..24416588650 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