aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2025-02-15 11:45:21 -0800
committerRichard Henderson <richard.henderson@linaro.org>2025-02-18 07:33:42 -0800
commit3a3b282879e83efdee1cb752e75351725e07e90a (patch)
tree2bd6c41e101a5c84f83e85e19ece9d4ad01e0e3f
parente0209297cddd5e10a07e15fac5cca7aa1a8e0e59 (diff)
downloadqemu-3a3b282879e83efdee1cb752e75351725e07e90a.zip
qemu-3a3b282879e83efdee1cb752e75351725e07e90a.tar.gz
qemu-3a3b282879e83efdee1cb752e75351725e07e90a.tar.bz2
tcg: Remove last traces of TCG_TARGET_NEED_POOL_LABELS
These should have been removed with the rest. There are a couple of hosts which can emit guest_base into the constant pool: aarch64, mips64, ppc64, riscv64. Fixes: a417ef835058 ("tcg: Remove TCG_TARGET_NEED_LDST_LABELS and TCG_TARGET_NEED_POOL_LABELS") Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
-rw-r--r--tcg/tcg.c4
-rw-r--r--tcg/tci/tcg-target.h1
2 files changed, 0 insertions, 5 deletions
diff --git a/tcg/tcg.c b/tcg/tcg.c
index 43b6712..53de13d 100644
--- a/tcg/tcg.c
+++ b/tcg/tcg.c
@@ -1598,21 +1598,17 @@ void tcg_prologue_init(void)
tcg_qemu_tb_exec = (tcg_prologue_fn *)tcg_splitwx_to_rx(s->code_ptr);
#endif
-#ifdef TCG_TARGET_NEED_POOL_LABELS
s->pool_labels = NULL;
-#endif
qemu_thread_jit_write();
/* Generate the prologue. */
tcg_target_qemu_prologue(s);
-#ifdef TCG_TARGET_NEED_POOL_LABELS
/* Allow the prologue to put e.g. guest_base into a pool entry. */
{
int result = tcg_out_pool_finalize(s);
tcg_debug_assert(result == 0);
}
-#endif
prologue_size = tcg_current_code_size(s);
perf_report_prologue(s->code_gen_ptr, prologue_size);
diff --git a/tcg/tci/tcg-target.h b/tcg/tci/tcg-target.h
index a9ca493..bd03aa1 100644
--- a/tcg/tci/tcg-target.h
+++ b/tcg/tci/tcg-target.h
@@ -72,6 +72,5 @@ typedef enum {
} TCGReg;
#define HAVE_TCG_QEMU_TB_EXEC
-#define TCG_TARGET_NEED_POOL_LABELS
#endif /* TCG_TARGET_H */