mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-23 17:24:01 +00:00
target/mips: Fix TCG temporary leak in gen_cache_operation()
Fix a TCG temporary leak when translating CACHE opcode. Fixes: 0d74a222c27 ("make ITC Configuration Tags accessible to the CPU") Backports f4349ba966abfe39f5d98694abd7c7551d5c8c02
This commit is contained in:
parent
d248e38ec7
commit
00aebd3410
1 changed files with 2 additions and 0 deletions
|
@ -13823,6 +13823,8 @@ static void gen_cache_operation(DisasContext *ctx, uint32_t op, int base,
|
|||
TCGv t1 = tcg_temp_new(tcg_ctx);
|
||||
gen_base_offset_addr(ctx, t1, base, offset);
|
||||
gen_helper_cache(tcg_ctx, tcg_ctx->cpu_env, t1, t0);
|
||||
tcg_temp_free(tcg_ctx, t1);
|
||||
tcg_temp_free_i32(tcg_ctx, t0);
|
||||
}
|
||||
|
||||
#if defined(TARGET_MIPS64)
|
||||
|
|
Loading…
Reference in a new issue