mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-02-25 19:56:57 +00:00
target/m68k: fix TCG variable double free
t64 is also unconditionally freed after the switch () { ... } Backports commit 39e3e113bdb27b4144d697fbd6678a9c24740103 from qemu
This commit is contained in:
parent
0af3b16b5b
commit
e039ae7a66
|
@ -998,7 +998,6 @@ static void gen_load_fp(DisasContext *s, int opsize, TCGv addr, TCGv_ptr fp)
|
|||
case OS_DOUBLE:
|
||||
tcg_gen_qemu_ld64(s->uc, t64, addr, index);
|
||||
gen_helper_extf64(tcg_ctx, tcg_ctx->cpu_env, fp, t64);
|
||||
tcg_temp_free_i64(tcg_ctx, t64);
|
||||
break;
|
||||
case OS_EXTENDED:
|
||||
if (m68k_feature(s->env, M68K_FEATURE_CF_FPU)) {
|
||||
|
|
Loading…
Reference in a new issue