diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2019-03-10 01:34:23 +0100 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2019-05-17 00:30:41 +0200 |
commit | 89fa312be0dfd8b4c539c8763796e785c6b00b46 (patch) | |
tree | c05af9b335287d59b49565462914a8da4739d2e4 /target/m68k | |
parent | e1aaf3a88e95ab007445281e2b2f6e3c8da47f22 (diff) |
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>
Diffstat (limited to 'target/m68k')
-rw-r--r-- | target/m68k/translate.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/target/m68k/translate.c b/target/m68k/translate.c index 58596278c2..176c5d966c 100644 --- a/target/m68k/translate.c +++ b/target/m68k/translate.c @@ -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); |