]> www.infradead.org Git - users/dwmw2/qemu.git/commitdiff
target/mips: Drop tcg_temp_free from mips16e_translate.c.inc
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 25 Feb 2023 05:21:28 +0000 (19:21 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Sun, 5 Mar 2023 21:44:08 +0000 (13:44 -0800)
Translators are no longer required to free tcg temporaries.

Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/mips/tcg/mips16e_translate.c.inc

index 918b15d55ce8495dd3da7e171f4e6c795f7bba3a..602f5f0c02220dc7a0ce12928290ceb53c6ffaef 100644 (file)
@@ -280,9 +280,6 @@ static void gen_mips16_save(DisasContext *ctx,
 
     tcg_gen_movi_tl(t2, -framesize);
     gen_op_addr_add(ctx, cpu_gpr[29], cpu_gpr[29], t2);
-    tcg_temp_free(t0);
-    tcg_temp_free(t1);
-    tcg_temp_free(t2);
 }
 
 static void gen_mips16_restore(DisasContext *ctx,
@@ -386,9 +383,6 @@ static void gen_mips16_restore(DisasContext *ctx,
 
     tcg_gen_movi_tl(t2, framesize);
     gen_op_addr_add(ctx, cpu_gpr[29], cpu_gpr[29], t2);
-    tcg_temp_free(t0);
-    tcg_temp_free(t1);
-    tcg_temp_free(t2);
 }
 
 #if defined(TARGET_MIPS64)