summaryrefslogtreecommitdiff
path: root/target-arm
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2014-11-26 13:40:05 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2015-01-03 09:22:12 +0100
commitcd42d5b23691ad73edfd6dbcfc935a960a9c5a65 (patch)
tree24464012cc46cee16e4307e11b1f29aea7606871 /target-arm
parentbd79255d2571a3c68820117caf94ea9afe1d527e (diff)
downloadqemu-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-arm')
-rw-r--r--target-arm/translate-a64.c2
-rw-r--r--target-arm/translate.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/target-arm/translate-a64.c b/target-arm/translate-a64.c
index c78ebde440..80d23597c7 100644
--- a/target-arm/translate-a64.c
+++ b/target-arm/translate-a64.c
@@ -10962,7 +10962,7 @@ void gen_intermediate_code_internal_a64(ARMCPU *cpu,
max_insns = CF_COUNT_MASK;
}
- gen_tb_start();
+ gen_tb_start(tb);
tcg_clear_temp_count();
diff --git a/target-arm/translate.c b/target-arm/translate.c
index f5a8482fbe..bdfcdf169c 100644
--- a/target-arm/translate.c
+++ b/target-arm/translate.c
@@ -11080,7 +11080,7 @@ static inline void gen_intermediate_code_internal(ARMCPU *cpu,
if (max_insns == 0)
max_insns = CF_COUNT_MASK;
- gen_tb_start();
+ gen_tb_start(tb);
tcg_clear_temp_count();