mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-25 15:49:11 +00:00
unicorn_aarch64: Clean up variable assignments in arm64_release
This commit is contained in:
parent
d0abc23e99
commit
767dedcb09
1 changed files with 2 additions and 4 deletions
|
@ -23,13 +23,11 @@ void arm64_release(void* ctx);
|
|||
|
||||
void arm64_release(void* ctx)
|
||||
{
|
||||
struct uc_struct* uc;
|
||||
ARMCPU* cpu;
|
||||
TCGContext *s = (TCGContext *) ctx;
|
||||
struct uc_struct* uc = s->uc;
|
||||
ARMCPU* cpu = ARM_CPU(uc, uc->cpu);
|
||||
|
||||
g_free(s->tb_ctx.tbs);
|
||||
uc = s->uc;
|
||||
cpu = (ARMCPU*) uc->cpu;
|
||||
g_free(cpu->cpreg_indexes);
|
||||
g_free(cpu->cpreg_values);
|
||||
g_free(cpu->cpreg_vmstate_indexes);
|
||||
|
|
Loading…
Reference in a new issue