diff options
author | Emilio G. Cota | 2017-07-24 18:56:12 +0200 |
---|---|---|
committer | Peter Maydell | 2017-07-24 18:59:28 +0200 |
commit | e4256c3cbf7eefebc0bc6e1f472c47c6dd20b996 (patch) | |
tree | 20306de3332ab2b0d484d092e92a0550607a1443 /target | |
parent | Merge remote-tracking branch 'remotes/ericb/tags/pull-nbd-2017-07-24' into st... (diff) | |
download | qemu-e4256c3cbf7eefebc0bc6e1f472c47c6dd20b996.tar.gz qemu-e4256c3cbf7eefebc0bc6e1f472c47c6dd20b996.tar.xz qemu-e4256c3cbf7eefebc0bc6e1f472c47c6dd20b996.zip |
target/arm: fix TCG temp leak in aarch64 rev16
Fix a TCG temporary leak in the new aarch64 rev16 handling.
Signed-off-by: Emilio G. Cota <cota@braap.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target')
-rw-r--r-- | target/arm/translate-a64.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/arm/translate-a64.c b/target/arm/translate-a64.c index 883e9df0c2..58ed4c6d05 100644 --- a/target/arm/translate-a64.c +++ b/target/arm/translate-a64.c @@ -4051,6 +4051,7 @@ static void handle_rev16(DisasContext *s, unsigned int sf, tcg_gen_shli_i64(tcg_rd, tcg_rd, 8); tcg_gen_or_i64(tcg_rd, tcg_rd, tcg_tmp); + tcg_temp_free_i64(mask); tcg_temp_free_i64(tcg_tmp); } |