load_reg() needs a matching tcg_temp_free_i64().
Signed-off-by: Stefan Weil <[email protected]>
---
target-s390x/translate.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/target-s390x/translate.c b/target-s390x/translate.c
index cfd2297..1261be4 100644
--- a/target-s390x/translate.c
+++ b/target-s390x/translate.c
@@ -2443,6 +2443,7 @@ static void disas_a5(DisasContext *s, int op, int r1, int
i2)
tcg_gen_trunc_i64_i32(tmp32, tmp);
tcg_gen_andi_i32(tmp32, tmp32, 0xffff);
set_cc_nz_u32(s, tmp32); /* signedness should not matter here */
+ tcg_temp_free_i64(tmp);
tcg_temp_free_i64(tmp2);
tcg_temp_free_i32(tmp32);
break;
--
1.7.2.5