tcg: Remove last traces of TCG_TARGET_NEED_POOL_LABELS
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 15 Feb 2025 19:45:21 +0000 (11:45 -0800)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 18 Feb 2025 15:33:42 +0000 (07:33 -0800)
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>
tcg/tcg.c
tcg/tci/tcg-target.h

index 43b6712286c303c7e94ebebf24e561d8d1f883b3..53de13df71710db4cf3657e9e8b57882f081011b 100644 (file)
--- 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);
index a9ca493d20f61bc66a08bd5a491817c15089d5c5..bd03aa1bc4a2a760e5c177575aa33af8f551912a 100644 (file)
@@ -72,6 +72,5 @@ typedef enum {
 } TCGReg;
 
 #define HAVE_TCG_QEMU_TB_EXEC
-#define TCG_TARGET_NEED_POOL_LABELS
 
 #endif /* TCG_TARGET_H */