[4580] suppressed unused macro handling
Revision: 4580
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4580 Author: bellard Date: 2008-05-25 18:21:31 +0000 (Sun, 25 May 2008)
Log Message:
-----------
suppressed unused macro handling
Modified Paths:
--------------
trunk/tcg/tcg-op.h
trunk/tcg/tcg-opc.h
trunk/tcg/tcg.c
trunk/tcg/tcg.h
Modified: trunk/tcg/tcg-op.h
===================================================================
tcg/tcg-op.h +0 -6
@@ -1396,12 +1396,6 @@#endif /***************************************/ -static inline void tcg_gen_macro_2 (TCGv ret0,TCGv ret1,int macro_id) -{ -tcg_gen_op3i (INDEX_op_macro_2, ret0, ret1, macro_id); -} - -/***************************************/ /* QEMU specific operations. Their type depend on the QEMU CPU type. */ #ifndef TARGET_LONG_BITS
Modified: trunk/tcg/tcg-opc.h
===================================================================
tcg/tcg-opc.h +0 -5
@@ -36,11 +36,6 @@ DEF2(nop2, 0, 0, 2, 0) DEF2(nop3, 0, 0, 3, 0) DEF2(nopn, 0, 0, 1, 0) /* variable number of parameters */ -/* macro handling */ -DEF2(macro_2, 2, 0, 1, 0) -DEF2(macro_start, 0, 0, 2, 0) -DEF2(macro_end, 0, 0, 2, 0) -DEF2(macro_goto, 0, 0, 3, 0)DEF2 (discard,1 ,0 ,0 ,0 )
Modified: trunk/tcg/tcg.c
===================================================================
tcg/tcg.c +2 -94
132 lines not on this page · raw message
Modified: trunk/tcg/tcg.h
===================================================================
tcg/tcg.h +0 -4
@@ -205,8 +205,6 @@typedef struct TCGContext TCGContext ; -typedef void TCGMacroFunc (TCGContext *s,int macro_id,const int *dead_args); -struct TCGContext {uint8_t *pool_cur, *pool_end;TCGPool *pool_first, *pool_current;
@@ -240,7 +238,6 @@uint8_t *code_ptr;TCGTemp static_temps[TCG_MAX_TEMPS ]; -TCGMacroFunc *macro_func;TCGHelperInfo *helpers;int nb_helpers;int allocated_helpers;
@@ -301,7 +298,6 @@void tcg_set_frame (TCGContext *s,int reg,tcg_target_long start,tcg_target_long size); -void tcg_set_macro_func (TCGContext *s,TCGMacroFunc *func);TCGv tcg_global_reg_new (TCGType type,int reg,const char *name);TCGv tcg_global_reg2_new_hack (TCGType type,int reg1,int reg2,const char *name);