aboutsummaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-02-24 18:02:13 -1000
committerRichard Henderson <richard.henderson@linaro.org>2023-03-05 13:44:07 -0800
commit9cf1fe2cc055f78343710166a322ad88d57b31ad (patch)
tree877556c2731e27844db8646fb00190239ab7fb41 /target
parent29a01a90b844334414d76b00acaf332de3787f81 (diff)
downloadqemu-9cf1fe2cc055f78343710166a322ad88d57b31ad.zip
qemu-9cf1fe2cc055f78343710166a322ad88d57b31ad.tar.gz
qemu-9cf1fe2cc055f78343710166a322ad88d57b31ad.tar.bz2
target/arm: Drop tcg_temp_free from translator.h
Translators are no longer required to free tcg temporaries. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target')
-rw-r--r--target/arm/tcg/translate.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/target/arm/tcg/translate.h b/target/arm/tcg/translate.h
index a5dd518..20f3ca7 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. */