diff options
author | ths | 2008-07-03 19:57:36 +0200 |
---|---|---|
committer | ths | 2008-07-03 19:57:36 +0200 |
commit | 551bd27f22638c854c43d7e6417d549764311c31 (patch) | |
tree | b67965e4923a4b5367c47686b279be46ba79c2a0 /target-cris/translate.c | |
parent | Silence compiler warning. (diff) | |
download | qemu-551bd27f22638c854c43d7e6417d549764311c31.tar.gz qemu-551bd27f22638c854c43d7e6417d549764311c31.tar.xz qemu-551bd27f22638c854c43d7e6417d549764311c31.zip |
Convert remaining __builtin_expect to likely/unlikely, by Jan Kiszka.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4840 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-cris/translate.c')
-rw-r--r-- | target-cris/translate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-cris/translate.c b/target-cris/translate.c index 81b61326f5..d971d1d2bf 100644 --- a/target-cris/translate.c +++ b/target-cris/translate.c @@ -3191,7 +3191,7 @@ gen_intermediate_code_internal(CPUState *env, TranslationBlock *tb, cris_evaluate_flags (dc); - if (__builtin_expect(env->singlestep_enabled, 0)) { + if (unlikely(env->singlestep_enabled)) { tcg_gen_movi_tl(env_pc, npc); t_gen_raise_exception(EXCP_DEBUG); } else { |