From e63d7abddefbe36532f501d66371624a2bbc03b9 Mon Sep 17 00:00:00 2001 From: blueswir1 Date: Sun, 8 Mar 2009 14:45:45 +0000 Subject: [PATCH] Prune unused TCG_AREGs Remove definitions for TCG_AREGs corresponding to AREG definitions removed in r6778. Signed-off-by: Stuart Brady git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6779 c046a42c-6fe2-441c-8c8c-71466251a162 --- tcg/arm/tcg-target.h | 1 - tcg/hppa/tcg-target.h | 1 - tcg/i386/tcg-target.h | 1 - tcg/ppc/tcg-target.h | 1 - tcg/ppc64/tcg-target.h | 1 - tcg/sparc/tcg-target.h | 3 --- tcg/x86_64/tcg-target.h | 1 - 7 files changed, 9 deletions(-) diff --git a/tcg/arm/tcg-target.h b/tcg/arm/tcg-target.h index d0b11e848d..cccb8f9dbb 100644 --- a/tcg/arm/tcg-target.h +++ b/tcg/arm/tcg-target.h @@ -64,7 +64,6 @@ enum { TCG_AREG0 = TCG_REG_R7, TCG_AREG1 = TCG_REG_R4, TCG_AREG2 = TCG_REG_R5, - TCG_AREG3 = TCG_REG_R6, }; static inline void flush_icache_range(unsigned long start, unsigned long stop) diff --git a/tcg/hppa/tcg-target.h b/tcg/hppa/tcg-target.h index 8e2693d0ef..02dd294278 100644 --- a/tcg/hppa/tcg-target.h +++ b/tcg/hppa/tcg-target.h @@ -84,7 +84,6 @@ enum { #define TCG_AREG0 TCG_REG_R17 #define TCG_AREG1 TCG_REG_R14 #define TCG_AREG2 TCG_REG_R15 -#define TCG_AREG3 TCG_REG_R16 static inline void flush_icache_range(unsigned long start, unsigned long stop) { diff --git a/tcg/i386/tcg-target.h b/tcg/i386/tcg-target.h index 37fdaa5614..1719c7f113 100644 --- a/tcg/i386/tcg-target.h +++ b/tcg/i386/tcg-target.h @@ -48,7 +48,6 @@ enum { #define TCG_AREG0 TCG_REG_EBP #define TCG_AREG1 TCG_REG_EBX #define TCG_AREG2 TCG_REG_ESI -#define TCG_AREG3 TCG_REG_EDI static inline void flush_icache_range(unsigned long start, unsigned long stop) { diff --git a/tcg/ppc/tcg-target.h b/tcg/ppc/tcg-target.h index 551df9ec9b..5faf73024a 100644 --- a/tcg/ppc/tcg-target.h +++ b/tcg/ppc/tcg-target.h @@ -85,4 +85,3 @@ enum { #define TCG_AREG0 TCG_REG_R27 #define TCG_AREG1 TCG_REG_R24 #define TCG_AREG2 TCG_REG_R25 -#define TCG_AREG3 TCG_REG_R26 diff --git a/tcg/ppc64/tcg-target.h b/tcg/ppc64/tcg-target.h index eaade01b8f..452bfdadcf 100644 --- a/tcg/ppc64/tcg-target.h +++ b/tcg/ppc64/tcg-target.h @@ -81,4 +81,3 @@ enum { #define TCG_AREG0 TCG_REG_R27 #define TCG_AREG1 TCG_REG_R24 #define TCG_AREG2 TCG_REG_R25 -#define TCG_AREG3 TCG_REG_R26 diff --git a/tcg/sparc/tcg-target.h b/tcg/sparc/tcg-target.h index 8dc07d319f..22bd9fed37 100644 --- a/tcg/sparc/tcg-target.h +++ b/tcg/sparc/tcg-target.h @@ -97,8 +97,6 @@ enum { #define TCG_AREG0 TCG_REG_G2 #define TCG_AREG1 TCG_REG_G3 #define TCG_AREG2 TCG_REG_G4 -#define TCG_AREG3 TCG_REG_G5 -#define TCG_AREG4 TCG_REG_G6 #elif defined(__sparc_v9__) #define TCG_AREG0 TCG_REG_G5 #define TCG_AREG1 TCG_REG_G6 @@ -107,7 +105,6 @@ enum { #define TCG_AREG0 TCG_REG_G6 #define TCG_AREG1 TCG_REG_G1 #define TCG_AREG2 TCG_REG_G2 -#define TCG_AREG3 TCG_REG_G3 #endif static inline void flush_icache_range(unsigned long start, unsigned long stop) diff --git a/tcg/x86_64/tcg-target.h b/tcg/x86_64/tcg-target.h index 9a0cca0580..77d0709d6b 100644 --- a/tcg/x86_64/tcg-target.h +++ b/tcg/x86_64/tcg-target.h @@ -70,7 +70,6 @@ enum { #define TCG_AREG0 TCG_REG_R14 #define TCG_AREG1 TCG_REG_R15 #define TCG_AREG2 TCG_REG_R12 -#define TCG_AREG3 TCG_REG_R13 static inline void flush_icache_range(unsigned long start, unsigned long stop) {