aboutsummaryrefslogtreecommitdiff
path: root/target/microblaze/translate.c
diff options
context:
space:
mode:
authorEdgar E. Iglesias <edgar.iglesias@xilinx.com>2016-08-10 11:42:26 +0200
committerEdgar E. Iglesias <edgar.iglesias@xilinx.com>2017-07-04 09:22:20 +0200
commit5c8f44b7dbdec77eff2ed3e239ea31d649894932 (patch)
tree811bf73a69546f688dd432fdfa3013ae17c60743 /target/microblaze/translate.c
parent2acf6d539c3036b070004e0e11c69cf2db34ed1a (diff)
target-microblaze: dec_barrel: Plug TCG temp leak
Plug TCG temp leak. Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Diffstat (limited to 'target/microblaze/translate.c')
-rw-r--r--target/microblaze/translate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/microblaze/translate.c b/target/microblaze/translate.c
index 504ed8871a..6ee488581a 100644
--- a/target/microblaze/translate.c
+++ b/target/microblaze/translate.c
@@ -690,6 +690,7 @@ static void dec_barrel(DisasContext *dc)
tcg_gen_shr_tl(cpu_R[dc->rd], cpu_R[dc->ra], t0);
}
}
+ tcg_temp_free(t0);
}
static void dec_bit(DisasContext *dc)