mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-02-25 14:26:57 +00:00
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:
parent
06dfc2ada6
commit
1817f28afd
|
@ -1347,6 +1347,7 @@ static bool do_2shift_env_64(DisasContext *s, arg_2reg_shift *a,
|
|||
neon_load_reg64(s, tmp, a->vm + pass);
|
||||
fn(tcg_ctx, tmp, tcg_ctx->cpu_env, tmp, constimm);
|
||||
neon_store_reg64(s, tmp, a->vd + pass);
|
||||
tcg_temp_free_i64(tcg_ctx, tmp);
|
||||
}
|
||||
tcg_temp_free_i64(tcg_ctx, constimm);
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue