tcg: Replace asserts on tcg_jmp_insn_offset
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 26 Nov 2022 23:09:00 +0000 (15:09 -0800)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 17 Jan 2023 19:55:13 +0000 (09:55 -1000)
commit7f83167c612438bb46ef01b5b23f7b2a0827bdc4
tree5eaacc6aae3a5b8b19fb5f53cfe6cb66655de88c
parent1ce41e044391120e8dd74fc7c9119747fb072632
tcg: Replace asserts on tcg_jmp_insn_offset

Test TCG_TARGET_HAS_direct_jump instead of testing an
implementation pointer.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/aarch64/tcg-target.c.inc
tcg/arm/tcg-target.c.inc
tcg/loongarch64/tcg-target.c.inc
tcg/mips/tcg-target.c.inc
tcg/riscv/tcg-target.c.inc
tcg/tci/tcg-target.c.inc