diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2018-01-23 10:50:01 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2018-01-23 09:50:01 +0000 |
commit | dae3e97c81811d87cd9d58e68a85dda83676b7f4 (patch) | |
tree | 3b55c2dd915d3575f17f013cd4031f01470571d1 /gcc/profile-count.h | |
parent | 950d1cd9ba49d2420f77ae0bc04be4fd6d0d009e (diff) | |
download | gcc-dae3e97c81811d87cd9d58e68a85dda83676b7f4.zip gcc-dae3e97c81811d87cd9d58e68a85dda83676b7f4.tar.gz gcc-dae3e97c81811d87cd9d58e68a85dda83676b7f4.tar.bz2 |
profile-count.h (profile_probability::very_unlikely, [...]): Set precision to guessed.
* profile-count.h (profile_probability::very_unlikely,
profile_probability::unlikely, profile_probability::even): Set
precision to guessed.
From-SVN: r256974
Diffstat (limited to 'gcc/profile-count.h')
-rw-r--r-- | gcc/profile-count.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/profile-count.h b/gcc/profile-count.h index db274f4..69919ee 100644 --- a/gcc/profile-count.h +++ b/gcc/profile-count.h @@ -164,7 +164,7 @@ public: { /* Be consistent with PROB_VERY_UNLIKELY in predict.h. */ profile_probability r - = profile_probability::always ().apply_scale (1, 2000); + = profile_probability::guessed_always ().apply_scale (1, 2000); r.m_val--; return r; } @@ -172,13 +172,13 @@ public: { /* Be consistent with PROB_VERY_LIKELY in predict.h. */ profile_probability r - = profile_probability::always ().apply_scale (1, 5); + = profile_probability::guessed_always ().apply_scale (1, 5); r.m_val--; return r; } static profile_probability even () { - return profile_probability::always ().apply_scale (1, 2); + return profile_probability::guessed_always ().apply_scale (1, 2); } static profile_probability very_likely () { |