diff mbox

[09/12] target-s390x: Add missing tcg_temp_free_i64()

Message ID 1306355129-23447-10-git-send-email-weil@mail.berlios.de
State Superseded
Headers show

Commit Message

Stefan Weil May 25, 2011, 8:25 p.m. UTC
load_reg() needs a matching tcg_temp_free_i64().

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
---
 target-s390x/translate.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff mbox

Patch

diff --git a/target-s390x/translate.c b/target-s390x/translate.c
index aec1272..67b249b 100644
--- a/target-s390x/translate.c
+++ b/target-s390x/translate.c
@@ -2393,6 +2393,7 @@  static void disas_a5(DisasContext *s, int op, int r1, int i2)
         tcg_gen_trunc_i64_i32(tmp32, tmp2);
         tcg_gen_andi_i32(tmp32, tmp32, 0xffff);
         set_cc_nz_u32(s, tmp32);
+        tcg_temp_free_i64(tmp);
         tcg_temp_free_i64(tmp2);
         tcg_temp_free_i32(tmp32);
         break;