mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-10 02:54:58 -06:00
target/hexagon: Don't use tcg_temp_local_new_*
Since tcg_temp_new_* is now identical, use those. Reviewed-by: Taylor Simpson <tsimpson@quicinc.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
5f153b12ab
commit
7a819de850
7 changed files with 26 additions and 30 deletions
|
@ -294,9 +294,9 @@ generators the previous declarations are mapped to
|
|||
|
||||
::
|
||||
|
||||
int var1; -> TCGv_i32 var1 = tcg_temp_local_new_i32();
|
||||
int var1; -> TCGv_i32 var1 = tcg_temp_new_i32();
|
||||
|
||||
int var2 = 0; -> TCGv_i32 var1 = tcg_temp_local_new_i32();
|
||||
int var2 = 0; -> TCGv_i32 var1 = tcg_temp_new_i32();
|
||||
tcg_gen_movi_i32(j, ((int64_t) 0ULL));
|
||||
|
||||
which are later automatically freed at the end of the function they're declared
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue