target/m68k: Reduce the l1 TCGLabel scope

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20190310003428.11723-2-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
Philippe Mathieu-Daudé 2019-03-10 01:34:23 +01:00 committed by Laurent Vivier
parent e1aaf3a88e
commit 89fa312be0

View File

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