diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2021-01-30 15:46:17 -0800 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2021-03-17 07:24:44 -0600 |
commit | 65f1b6cc9a902560e5fcd9688fe8ffe44004ad33 (patch) | |
tree | 627747c9161c2f79ab0cf809e31af9b226445cb3 /tcg/tci | |
parent | 92bc4fad82c1fa2d19b0e6f592a47511f256e15a (diff) | |
download | qemu-65f1b6cc9a902560e5fcd9688fe8ffe44004ad33.zip qemu-65f1b6cc9a902560e5fcd9688fe8ffe44004ad33.tar.gz qemu-65f1b6cc9a902560e5fcd9688fe8ffe44004ad33.tar.bz2 |
tcg/tci: Remove tci_disas
This function is unused. It's not even the disassembler,
which is print_insn_tci, located in disas/tci.c.
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/tci')
-rw-r--r-- | tcg/tci/tcg-target.c.inc | 10 | ||||
-rw-r--r-- | tcg/tci/tcg-target.h | 2 |
2 files changed, 0 insertions, 12 deletions
diff --git a/tcg/tci/tcg-target.c.inc b/tcg/tci/tcg-target.c.inc index 6c187a2..7fb3b04 100644 --- a/tcg/tci/tcg-target.c.inc +++ b/tcg/tci/tcg-target.c.inc @@ -253,16 +253,6 @@ static bool patch_reloc(tcg_insn_unit *code_ptr, int type, return true; } -#if defined(CONFIG_DEBUG_TCG_INTERPRETER) -/* Show current bytecode. Used by tcg interpreter. */ -void tci_disas(uint8_t opc) -{ - const TCGOpDef *def = &tcg_op_defs[opc]; - fprintf(stderr, "TCG %s %u, %u, %u\n", - def->name, def->nb_oargs, def->nb_iargs, def->nb_cargs); -} -#endif - /* Write value (native size). */ static void tcg_out_i(TCGContext *s, tcg_target_ulong v) { diff --git a/tcg/tci/tcg-target.h b/tcg/tci/tcg-target.h index 9285c93..52af6d8 100644 --- a/tcg/tci/tcg-target.h +++ b/tcg/tci/tcg-target.h @@ -163,8 +163,6 @@ typedef enum { #define TCG_TARGET_CALL_STACK_OFFSET 0 #define TCG_TARGET_STACK_ALIGN 16 -void tci_disas(uint8_t opc); - #define HAVE_TCG_QEMU_TB_EXEC /* We could notice __i386__ or __s390x__ and reduce the barriers depending |