mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-07-19 14:37:54 +00:00
unicorn_aarch64: Clean up variable assignments in arm64_release
This commit is contained in:
parent
d0abc23e99
commit
767dedcb09
|
@ -23,13 +23,11 @@ void arm64_release(void* ctx);
|
||||||
|
|
||||||
void arm64_release(void* ctx)
|
void arm64_release(void* ctx)
|
||||||
{
|
{
|
||||||
struct uc_struct* uc;
|
|
||||||
ARMCPU* cpu;
|
|
||||||
TCGContext *s = (TCGContext *) ctx;
|
TCGContext *s = (TCGContext *) ctx;
|
||||||
|
struct uc_struct* uc = s->uc;
|
||||||
|
ARMCPU* cpu = ARM_CPU(uc, uc->cpu);
|
||||||
|
|
||||||
g_free(s->tb_ctx.tbs);
|
g_free(s->tb_ctx.tbs);
|
||||||
uc = s->uc;
|
|
||||||
cpu = (ARMCPU*) uc->cpu;
|
|
||||||
g_free(cpu->cpreg_indexes);
|
g_free(cpu->cpreg_indexes);
|
||||||
g_free(cpu->cpreg_values);
|
g_free(cpu->cpreg_values);
|
||||||
g_free(cpu->cpreg_vmstate_indexes);
|
g_free(cpu->cpreg_vmstate_indexes);
|
||||||
|
|
Loading…
Reference in a new issue