diff mbox

[v2,09/12] target-s390x: Add missing tcg_temp_free_i64() in disas_a5(), opc == 0x9

Message ID 1306515816-5386-10-git-send-email-weil@mail.berlios.de
State Rejected
Headers show

Commit Message

Stefan Weil May 27, 2011, 5:03 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 692de6e..705fe2b 100644
--- a/target-s390x/translate.c
+++ b/target-s390x/translate.c
@@ -2391,6 +2391,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;