diff options
| author | Evgeny Voevodin | 2012-11-12 10:27:49 +0100 |
|---|---|---|
| committer | Blue Swirl | 2012-11-17 14:53:38 +0100 |
| commit | 83eeb39669a19716a44bcad5a34158543b3779b8 (patch) | |
| tree | 1cb889fea31dfeba0590a791cbe80ef01a12e7fe | |
| parent | TCG: Use gen_opparam_buf from context instead of global variable. (diff) | |
| download | qemu-83eeb39669a19716a44bcad5a34158543b3779b8.tar.gz qemu-83eeb39669a19716a44bcad5a34158543b3779b8.tar.xz qemu-83eeb39669a19716a44bcad5a34158543b3779b8.zip | |
TCG: Remove unused global variables
Signed-off-by: Evgeny Voevodin <e.voevodin@samsung.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
| -rw-r--r-- | tcg/tcg.c | 4 | ||||
| -rw-r--r-- | tcg/tcg.h | 4 | ||||
| -rw-r--r-- | translate-all.c | 3 |
3 files changed, 0 insertions, 11 deletions
@@ -96,10 +96,6 @@ const size_t tcg_op_defs_max = ARRAY_SIZE(tcg_op_defs); static TCGRegSet tcg_target_available_regs[2]; static TCGRegSet tcg_target_call_clobber_regs; -/* XXX: move that inside the context */ -uint16_t *gen_opc_ptr; -TCGArg *gen_opparam_ptr; - static inline void tcg_out8(TCGContext *s, uint8_t v) { *s->code_ptr++ = v; @@ -465,10 +465,6 @@ struct TCGContext { }; extern TCGContext tcg_ctx; -extern uint16_t *gen_opc_ptr; -extern TCGArg *gen_opparam_ptr; -extern uint16_t gen_opc_buf[]; -extern TCGArg gen_opparam_buf[]; /* pool based memory allocation */ diff --git a/translate-all.c b/translate-all.c index 5bd2d3711a..d9c2e57861 100644 --- a/translate-all.c +++ b/translate-all.c @@ -33,9 +33,6 @@ /* code generation context */ TCGContext tcg_ctx; -uint16_t gen_opc_buf[OPC_BUF_SIZE]; -TCGArg gen_opparam_buf[OPPARAM_BUF_SIZE]; - target_ulong gen_opc_pc[OPC_BUF_SIZE]; uint16_t gen_opc_icount[OPC_BUF_SIZE]; uint8_t gen_opc_instr_start[OPC_BUF_SIZE]; |
