Commit 19f98ff634d82a73b25de8f4dbbce2e0dc6de7e3
1 parent
f0aabd1a
target-ppc: fix a TCG local variable creation
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5492 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
1 deletions
target-ppc/translate.c
... | ... | @@ -5293,7 +5293,7 @@ static always_inline void gen_store_gpr64(int reg, TCGv t) { |
5293 | 5293 | tcg_gen_mov_i64(cpu_gpr[reg], t); |
5294 | 5294 | #else |
5295 | 5295 | tcg_gen_trunc_i64_i32(cpu_gpr[reg], t); |
5296 | - TCGv tmp = tcg_temp_local_new(TCG_TYPE_I64); | |
5296 | + TCGv tmp = tcg_temp_new(TCG_TYPE_I64); | |
5297 | 5297 | tcg_gen_shri_i64(tmp, t, 32); |
5298 | 5298 | tcg_gen_trunc_i64_i32(cpu_gprh[reg], tmp); |
5299 | 5299 | tcg_temp_free(tmp); | ... | ... |