target-alpha: fix double TCG variable allocation
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 11 Nov 2008 11:30:04 +0000 (11:30 +0000)
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 11 Nov 2008 11:30:04 +0000 (11:30 +0000)
Noticed by Chris Krumme.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5671 c046a42c-6fe2-441c-8c8c-71466251a162

target-alpha/translate.c

index 5510ca7f3faf096b09d2af50a2ab8ffe69045a9f..e3ffb89e213d8058639f587d2bc65ff9ca231472 100644 (file)
@@ -236,7 +236,7 @@ static always_inline void gen_store_mem (DisasContext *ctx,
                                          int ra, int rb, int32_t disp16,
                                          int fp, int clear, int local)
 {
-    TCGv addr = tcg_temp_new(TCG_TYPE_I64);
+    TCGv addr;
     if (local)
         addr = tcg_temp_local_new(TCG_TYPE_I64);
     else