tcg/i386: Move TCG_CT_CONST_* to tcg-target.c
authorRichard Henderson <rth@twiddle.net>
Mon, 27 Jan 2014 21:02:31 +0000 (13:02 -0800)
committerRichard Henderson <rth@twiddle.net>
Mon, 17 Feb 2014 16:12:29 +0000 (10:12 -0600)
These are not needed by users of tcg-target.h.  No need to recompile
when we adjust them.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Richard Henderson <rth@twiddle.net>
tcg/i386/tcg-target.c
tcg/i386/tcg-target.h

index 5d4cf9386e55971ef7ede4fab68f2a8f512d0cb1..7008b0eb7f88e1e734f50743af2f46c138a0845e 100644 (file)
@@ -88,6 +88,10 @@ static const int tcg_target_call_oarg_regs[] = {
 #endif
 };
 
+/* Constants we accept.  */
+#define TCG_CT_CONST_S32 0x100
+#define TCG_CT_CONST_U32 0x200
+
 /* Registers used with L constraint, which are the first argument 
    registers on x86_64, and two random call clobbered registers on
    i386. */
index 92c0fcd36d2a70724c86206872fca298633dbb4d..747b797315879daedd92d742d217c699333cd278 100644 (file)
@@ -64,9 +64,6 @@ typedef enum {
     TCG_REG_RDI = TCG_REG_EDI,
 } TCGReg;
 
-#define TCG_CT_CONST_S32 0x100
-#define TCG_CT_CONST_U32 0x200
-
 /* used for function call generation */
 #define TCG_REG_CALL_STACK TCG_REG_ESP 
 #define TCG_TARGET_STACK_ALIGN 16