From a72a53c2d9adb55f9e7f9ccd3a49c03ea78a2e61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Date: Fri, 17 May 2019 12:03:26 -0400 Subject: [PATCH] target/m68k: Reduce the l1 TCGLabel scope Backports commit 89fa312be0dfd8b4c539c8763796e785c6b00b46 from qemu --- qemu/target/m68k/translate.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qemu/target/m68k/translate.c b/qemu/target/m68k/translate.c index 963706a5..d31f0095 100644 --- a/qemu/target/m68k/translate.c +++ b/qemu/target/m68k/translate.c @@ -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);