target/arm: Add missing TCG temp free in do_2shift_env_64()

In commit 37bfce81b10450071 we accidentally introduced a leak of a TCG
temporary in do_2shift_env_64(); free it.

Backports commit a4f67e180def790ff0bbb33fc93bb6e80382f041 from qemu
This commit is contained in:
Peter Maydell 2020-06-16 23:57:15 -04:00 committed by Lioncash
parent 06dfc2ada6
commit 1817f28afd

View file

@ -1347,6 +1347,7 @@ static bool do_2shift_env_64(DisasContext *s, arg_2reg_shift *a,
neon_load_reg64(s, tmp, a->vm + pass); neon_load_reg64(s, tmp, a->vm + pass);
fn(tcg_ctx, tmp, tcg_ctx->cpu_env, tmp, constimm); fn(tcg_ctx, tmp, tcg_ctx->cpu_env, tmp, constimm);
neon_store_reg64(s, tmp, a->vd + pass); neon_store_reg64(s, tmp, a->vd + pass);
tcg_temp_free_i64(tcg_ctx, tmp);
} }
tcg_temp_free_i64(tcg_ctx, constimm); tcg_temp_free_i64(tcg_ctx, constimm);
return true; return true;