]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
target/loongarch: Remove target_ulong use in gen_goto_tb()
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 8 Oct 2025 06:14:50 +0000 (08:14 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 16 Oct 2025 15:07:27 +0000 (17:07 +0200)
translator_use_goto_tb() expects a vaddr type since commit
b1c09220b4c ("accel/tcg: Replace target_ulong with vaddr in
translator*()").

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20251009201947.34643-3-philmd@linaro.org>

target/loongarch/tcg/translate.c

index 57c3b8c4bb2dd363c235b991347baff7aa73b170..055f6fb6046b941915aeb9f2d20032b15e1d8419 100644 (file)
@@ -99,8 +99,7 @@ void generate_exception(DisasContext *ctx, int excp)
     ctx->base.is_jmp = DISAS_NORETURN;
 }
 
-static void gen_goto_tb(DisasContext *ctx, unsigned tb_slot_idx,
-                        target_ulong dest)
+static void gen_goto_tb(DisasContext *ctx, unsigned tb_slot_idx, vaddr dest)
 {
     if (ctx->va32) {
         dest = (uint32_t) dest;