diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-09-04 17:16:41 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-09-04 17:16:41 +0000 |
commit | d38ff48941948aa607972d9765d7c8567fe86c74 (patch) | |
tree | 0e8ddc600ed74a53130498765fb65ce8d3feaec8 /target-ppc | |
parent | 47e4661cc4c27124502ec46a171c94375947b2f7 (diff) | |
download | qemu-d38ff48941948aa607972d9765d7c8567fe86c74.zip qemu-d38ff48941948aa607972d9765d7c8567fe86c74.tar.gz qemu-d38ff48941948aa607972d9765d7c8567fe86c74.tar.bz2 |
ppc: remove unused code
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5159 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc')
-rw-r--r-- | target-ppc/translate.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/target-ppc/translate.c b/target-ppc/translate.c index ac72b60..9dd2506 100644 --- a/target-ppc/translate.c +++ b/target-ppc/translate.c @@ -177,34 +177,6 @@ static uint16_t *gen_fprf_buf[OPC_BUF_SIZE]; static uint16_t **gen_fprf_ptr; #endif -#define GEN16(func, NAME) \ -static GenOpFunc *NAME ## _table [16] = { \ -NAME ## 0, NAME ## 1, NAME ## 2, NAME ## 3, \ -NAME ## 4, NAME ## 5, NAME ## 6, NAME ## 7, \ -NAME ## 8, NAME ## 9, NAME ## 10, NAME ## 11, \ -NAME ## 12, NAME ## 13, NAME ## 14, NAME ## 15, \ -}; \ -static always_inline void func (int n) \ -{ \ - NAME ## _table[n](); \ -} - -#define GEN32(func, NAME) \ -static GenOpFunc *NAME ## _table [32] = { \ -NAME ## 0, NAME ## 1, NAME ## 2, NAME ## 3, \ -NAME ## 4, NAME ## 5, NAME ## 6, NAME ## 7, \ -NAME ## 8, NAME ## 9, NAME ## 10, NAME ## 11, \ -NAME ## 12, NAME ## 13, NAME ## 14, NAME ## 15, \ -NAME ## 16, NAME ## 17, NAME ## 18, NAME ## 19, \ -NAME ## 20, NAME ## 21, NAME ## 22, NAME ## 23, \ -NAME ## 24, NAME ## 25, NAME ## 26, NAME ## 27, \ -NAME ## 28, NAME ## 29, NAME ## 30, NAME ## 31, \ -}; \ -static always_inline void func (int n) \ -{ \ - NAME ## _table[n](); \ -} - /* internal defines */ typedef struct DisasContext { struct TranslationBlock *tb; |