* [Qemu-devel] [5159] ppc: remove unused code
@ 2008-09-04 17:16 Aurelien Jarno
0 siblings, 0 replies; only message in thread
From: Aurelien Jarno @ 2008-09-04 17:16 UTC (permalink / raw)
To: qemu-devel
Revision: 5159
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5159
Author: aurel32
Date: 2008-09-04 17:16:41 +0000 (Thu, 04 Sep 2008)
Log Message:
-----------
ppc: remove unused code
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Modified Paths:
--------------
trunk/target-ppc/translate.c
Modified: trunk/target-ppc/translate.c
===================================================================
--- trunk/target-ppc/translate.c 2008-09-04 17:06:47 UTC (rev 5158)
+++ trunk/target-ppc/translate.c 2008-09-04 17:16:41 UTC (rev 5159)
@@ -177,34 +177,6 @@
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-09-04 17:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-04 17:16 [Qemu-devel] [5159] ppc: remove unused code Aurelien Jarno
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).