target/m68k: Reduce the l1 TCGLabel scope

Backports commit 89fa312be0dfd8b4c539c8763796e785c6b00b46 from qemu
This commit is contained in:
Philippe Mathieu-Daudé 2019-05-17 12:03:26 -04:00 committed by Lioncash
parent 3fb64fd5a2
commit a72a53c2d9
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -3127,7 +3127,6 @@ DISAS_INSN(branch)
int32_t offset;
uint32_t base;
int op;
TCGLabel *l1;
base = s->pc;
op = (insn >> 8) & 0xf;
@ -3143,7 +3142,7 @@ DISAS_INSN(branch)
}
if (op > 1) {
/* Bcc */
l1 = gen_new_label(tcg_ctx);
TCGLabel *l1 = gen_new_label(tcg_ctx);
gen_jmpcc(s, ((insn >> 8) & 0xf) ^ 1, l1);
gen_jmp_tb(s, 1, base + offset);
gen_set_label(tcg_ctx, l1);