mirror of https://github.com/xemu-project/xemu.git
target/arm: Add missing TCG temp free in do_2shift_env_64()
In commit 37bfce81b1
we accidentally introduced a leak of a TCG
temporary in do_2shift_env_64(); free it.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
448f0e5f3e
commit
a4f67e180d
|
@ -1329,6 +1329,7 @@ static bool do_2shift_env_64(DisasContext *s, arg_2reg_shift *a,
|
||||||
neon_load_reg64(tmp, a->vm + pass);
|
neon_load_reg64(tmp, a->vm + pass);
|
||||||
fn(tmp, cpu_env, tmp, constimm);
|
fn(tmp, cpu_env, tmp, constimm);
|
||||||
neon_store_reg64(tmp, a->vd + pass);
|
neon_store_reg64(tmp, a->vd + pass);
|
||||||
|
tcg_temp_free_i64(tmp);
|
||||||
}
|
}
|
||||||
tcg_temp_free_i64(constimm);
|
tcg_temp_free_i64(constimm);
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue