aboutsummaryrefslogtreecommitdiff
path: root/tcg/tcg.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2022-12-05 16:55:40 -0600
committerRichard Henderson <richard.henderson@linaro.org>2023-01-17 10:25:49 -1000
commit2fd2e78d1b5281d589eabdf31a21166c80bebd80 (patch)
tree700d3fbf2985621bd6d02736c11ea77ff9f80787 /tcg/tcg.c
parent90c0fee3a28b25d23081b3c435762cadde813ec4 (diff)
downloadqemu-2fd2e78d1b5281d589eabdf31a21166c80bebd80.zip
qemu-2fd2e78d1b5281d589eabdf31a21166c80bebd80.tar.gz
qemu-2fd2e78d1b5281d589eabdf31a21166c80bebd80.tar.bz2
tcg: Remove TCG_TARGET_HAS_direct_jump
We now have the option to generate direct or indirect goto_tb depending on the dynamic displacement, thus the define is no longer necessary or completely accurate. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/tcg.c')
-rw-r--r--tcg/tcg.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tcg/tcg.c b/tcg/tcg.c
index af2af99..d502327 100644
--- a/tcg/tcg.c
+++ b/tcg/tcg.c
@@ -320,7 +320,6 @@ static void G_GNUC_UNUSED set_jmp_insn_offset(TCGContext *s, int which)
* We will check for overflow at the end of the opcode loop in
* tcg_gen_code, where we bound tcg_current_code_size to UINT16_MAX.
*/
- tcg_debug_assert(TCG_TARGET_HAS_direct_jump);
s->gen_tb->jmp_insn_offset[which] = tcg_current_code_size(s);
}