aboutsummaryrefslogtreecommitdiff
path: root/target-s390x
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2011-05-27 19:03:36 +0200
committerAlexander Graf <agraf@suse.de>2011-06-03 13:34:02 +0200
commit2497a67fed5d4844ec0ea053d27b538712245dc2 (patch)
tree8bb84d47296fac0363fe47ec5d44dd6d20cdc639 /target-s390x
parentbbf9f3b4d4327421f8d415bed9c5f50ca28cab1f (diff)
downloadqemu-2497a67fed5d4844ec0ea053d27b538712245dc2.zip
qemu-2497a67fed5d4844ec0ea053d27b538712245dc2.tar.gz
qemu-2497a67fed5d4844ec0ea053d27b538712245dc2.tar.bz2
target-s390x: Add missing tcg_temp_free_i32()
Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-s390x')
-rw-r--r--target-s390x/translate.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/target-s390x/translate.c b/target-s390x/translate.c
index 81b8c5b..5828b5f 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: