From: Richard Henderson Date: Sat, 25 Feb 2023 04:02:13 +0000 (-1000) Subject: target/arm: Drop tcg_temp_free from translator.h X-Git-Tag: v8.0.0-rc0~27^2~56 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9cf1fe2cc055f78343710166a322ad88d57b31ad;p=thirdparty%2Fqemu.git target/arm: Drop tcg_temp_free from translator.h Translators are no longer required to free tcg temporaries. Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson --- diff --git a/target/arm/tcg/translate.h b/target/arm/tcg/translate.h index a5dd518903c..20f3ca7acaa 100644 --- a/target/arm/tcg/translate.h +++ b/target/arm/tcg/translate.h @@ -331,7 +331,6 @@ static inline void set_pstate_bits(uint32_t bits) tcg_gen_ld_i32(p, cpu_env, offsetof(CPUARMState, pstate)); tcg_gen_ori_i32(p, p, bits); tcg_gen_st_i32(p, cpu_env, offsetof(CPUARMState, pstate)); - tcg_temp_free_i32(p); } /* Clear bits within PSTATE. */ @@ -344,7 +343,6 @@ static inline void clear_pstate_bits(uint32_t bits) tcg_gen_ld_i32(p, cpu_env, offsetof(CPUARMState, pstate)); tcg_gen_andi_i32(p, p, ~bits); tcg_gen_st_i32(p, cpu_env, offsetof(CPUARMState, pstate)); - tcg_temp_free_i32(p); } /* If the singlestep state is Active-not-pending, advance to Active-pending. */