mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-11 06:45:33 +00:00
target/m68k: Reduce the l1 TCGLabel scope
Backports commit 89fa312be0dfd8b4c539c8763796e785c6b00b46 from qemu
This commit is contained in:
parent
3fb64fd5a2
commit
a72a53c2d9
|
@ -3127,7 +3127,6 @@ DISAS_INSN(branch)
|
||||||
int32_t offset;
|
int32_t offset;
|
||||||
uint32_t base;
|
uint32_t base;
|
||||||
int op;
|
int op;
|
||||||
TCGLabel *l1;
|
|
||||||
|
|
||||||
base = s->pc;
|
base = s->pc;
|
||||||
op = (insn >> 8) & 0xf;
|
op = (insn >> 8) & 0xf;
|
||||||
|
@ -3143,7 +3142,7 @@ DISAS_INSN(branch)
|
||||||
}
|
}
|
||||||
if (op > 1) {
|
if (op > 1) {
|
||||||
/* Bcc */
|
/* Bcc */
|
||||||
l1 = gen_new_label(tcg_ctx);
|
TCGLabel *l1 = gen_new_label(tcg_ctx);
|
||||||
gen_jmpcc(s, ((insn >> 8) & 0xf) ^ 1, l1);
|
gen_jmpcc(s, ((insn >> 8) & 0xf) ^ 1, l1);
|
||||||
gen_jmp_tb(s, 1, base + offset);
|
gen_jmp_tb(s, 1, base + offset);
|
||||||
gen_set_label(tcg_ctx, l1);
|
gen_set_label(tcg_ctx, l1);
|
||||||
|
|
Loading…
Reference in a new issue