diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2014-11-26 13:40:05 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-01-03 09:22:12 +0100 |
commit | cd42d5b23691ad73edfd6dbcfc935a960a9c5a65 (patch) | |
tree | 24464012cc46cee16e4307e11b1f29aea7606871 /target-xtensa | |
parent | bd79255d2571a3c68820117caf94ea9afe1d527e (diff) | |
download | qemu-cd42d5b23691ad73edfd6dbcfc935a960a9c5a65.tar.gz qemu-cd42d5b23691ad73edfd6dbcfc935a960a9c5a65.tar.bz2 qemu-cd42d5b23691ad73edfd6dbcfc935a960a9c5a65.zip |
gen-icount: check cflags instead of use_icount global
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Pavel Dovgalyuk <pavel.dovgaluk@ispras.ru>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target-xtensa')
-rw-r--r-- | target-xtensa/translate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-xtensa/translate.c b/target-xtensa/translate.c index 65005546d6..9e137fe5ec 100644 --- a/target-xtensa/translate.c +++ b/target-xtensa/translate.c @@ -3054,7 +3054,7 @@ void gen_intermediate_code_internal(XtensaCPU *cpu, dc.next_icount = tcg_temp_local_new_i32(); } - gen_tb_start(); + gen_tb_start(tb); if (tb->flags & XTENSA_TBFLAG_EXCEPTION) { tcg_gen_movi_i32(cpu_pc, dc.pc); |