OSDN Git Service

target-ppc: fix a TCG local variable creation
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 15 Oct 2008 17:00:29 +0000 (17:00 +0000)
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 15 Oct 2008 17:00:29 +0000 (17:00 +0000)
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5492 c046a42c-6fe2-441c-8c8c-71466251a162

target-ppc/translate.c

index 76cedac..ac9037a 100644 (file)
@@ -5293,7 +5293,7 @@ static always_inline void gen_store_gpr64(int reg, TCGv t) {
     tcg_gen_mov_i64(cpu_gpr[reg], t);
 #else
     tcg_gen_trunc_i64_i32(cpu_gpr[reg], t);
-    TCGv tmp = tcg_temp_local_new(TCG_TYPE_I64);
+    TCGv tmp = tcg_temp_new(TCG_TYPE_I64);
     tcg_gen_shri_i64(tmp, t, 32);
     tcg_gen_trunc_i64_i32(cpu_gprh[reg], tmp);
     tcg_temp_free(tmp);