Fix ColdFire fmovem. Free the temporary we just allocated rather than some
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 24 Feb 2009 22:17:35 +0000 (22:17 +0000)
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 24 Feb 2009 22:17:35 +0000 (22:17 +0000)
other arbitrary value (e.g. A7).

Signed-off-by: Paul Brook <paul@codesourcery.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6643 c046a42c-6fe2-441c-8c8c-71466251a162

target-m68k/translate.c

index 6c3a008..7a0d85d 100644 (file)
@@ -2237,7 +2237,7 @@ DISAS_INSN(fpu)
                 }
                 mask >>= 1;
             }
-            tcg_temp_free_i32(tmp32);
+            tcg_temp_free_i32(addr);
         }
         return;
     }