mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
target/loongarch: Drop tcg_temp_free
Translators are no longer required to free tcg temporaries. Reviewed-by: Song Gao <gaosong@loongson.cn> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
60a7e25ea2
commit
34aac056a4
9 changed files with 6 additions and 99 deletions
|
@ -14,7 +14,6 @@ static bool gen_ll(DisasContext *ctx, arg_rr_i *a, MemOp mop)
|
|||
tcg_gen_st_tl(t0, cpu_env, offsetof(CPULoongArchState, lladdr));
|
||||
tcg_gen_st_tl(dest, cpu_env, offsetof(CPULoongArchState, llval));
|
||||
gen_set_gpr(a->rd, dest, EXT_NONE);
|
||||
tcg_temp_free(t0);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -43,8 +42,6 @@ static bool gen_sc(DisasContext *ctx, arg_rr_i *a, MemOp mop)
|
|||
tcg_gen_setcond_tl(TCG_COND_EQ, dest, t0, cpu_llval);
|
||||
gen_set_label(done);
|
||||
gen_set_gpr(a->rd, dest, EXT_NONE);
|
||||
tcg_temp_free(t0);
|
||||
tcg_temp_free(val);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue