diff mbox

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

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

Commit Message

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

Patch

diff --git a/target-s390x/translate.c b/target-s390x/translate.c
index 1261be4..baecd3f 100644
--- a/target-s390x/translate.c
+++ b/target-s390x/translate.c
@@ -1078,9 +1078,12 @@  static void gen_jcc(DisasContext *s, uint32_t mask, int skip)
             tcg_gen_brcondi_i32(TCG_COND_EQ, tmp, 0, skip);
             break;
         default:
+            tcg_temp_free_i32(tmp);
+            tcg_temp_free_i32(tmp2);
             goto do_dynamic;
         }
         tcg_temp_free_i32(tmp);
+        tcg_temp_free_i32(tmp2);
         account_inline_branch(s);
         break;
     case CC_OP_TM_64: