mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
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: a417ef8350
("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>
This commit is contained in:
parent
e0209297cd
commit
3a3b282879
2 changed files with 0 additions and 5 deletions
|
@ -1598,21 +1598,17 @@ void tcg_prologue_init(void)
|
||||||
tcg_qemu_tb_exec = (tcg_prologue_fn *)tcg_splitwx_to_rx(s->code_ptr);
|
tcg_qemu_tb_exec = (tcg_prologue_fn *)tcg_splitwx_to_rx(s->code_ptr);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef TCG_TARGET_NEED_POOL_LABELS
|
|
||||||
s->pool_labels = NULL;
|
s->pool_labels = NULL;
|
||||||
#endif
|
|
||||||
|
|
||||||
qemu_thread_jit_write();
|
qemu_thread_jit_write();
|
||||||
/* Generate the prologue. */
|
/* Generate the prologue. */
|
||||||
tcg_target_qemu_prologue(s);
|
tcg_target_qemu_prologue(s);
|
||||||
|
|
||||||
#ifdef TCG_TARGET_NEED_POOL_LABELS
|
|
||||||
/* Allow the prologue to put e.g. guest_base into a pool entry. */
|
/* Allow the prologue to put e.g. guest_base into a pool entry. */
|
||||||
{
|
{
|
||||||
int result = tcg_out_pool_finalize(s);
|
int result = tcg_out_pool_finalize(s);
|
||||||
tcg_debug_assert(result == 0);
|
tcg_debug_assert(result == 0);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
prologue_size = tcg_current_code_size(s);
|
prologue_size = tcg_current_code_size(s);
|
||||||
perf_report_prologue(s->code_gen_ptr, prologue_size);
|
perf_report_prologue(s->code_gen_ptr, prologue_size);
|
||||||
|
|
|
@ -72,6 +72,5 @@ typedef enum {
|
||||||
} TCGReg;
|
} TCGReg;
|
||||||
|
|
||||||
#define HAVE_TCG_QEMU_TB_EXEC
|
#define HAVE_TCG_QEMU_TB_EXEC
|
||||||
#define TCG_TARGET_NEED_POOL_LABELS
|
|
||||||
|
|
||||||
#endif /* TCG_TARGET_H */
|
#endif /* TCG_TARGET_H */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue