diff options
author | Jan Hubicka <jh@suse.cz> | 2004-09-25 12:06:18 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2004-09-25 10:06:18 +0000 |
commit | bbd236a198069ed5a9e9526b99f70f406c30e5c0 (patch) | |
tree | a844c1a79dda581a3aa0d026ae759027d7ec0a30 /gcc/profile.c | |
parent | 70f3cc30aa04ab2f57f156c16a7f1db33084f04e (diff) | |
download | gcc-bbd236a198069ed5a9e9526b99f70f406c30e5c0.zip gcc-bbd236a198069ed5a9e9526b99f70f406c30e5c0.tar.gz gcc-bbd236a198069ed5a9e9526b99f70f406c30e5c0.tar.bz2 |
predict.c (counts_to_freqs): Make glolbal.
* predict.c (counts_to_freqs): Make glolbal.
* predict.h (counts_to_freqa): Declare.
* profile.c (compute_branch_probabilities): Compute frequencies
* tree-profile.c (do_tree_profiling): Refine conditional on when
tree profiling pass is needed.
From-SVN: r88093
Diffstat (limited to 'gcc/profile.c')
-rw-r--r-- | gcc/profile.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/profile.c b/gcc/profile.c index 7b04bfd..3f48be6 100644 --- a/gcc/profile.c +++ b/gcc/profile.c @@ -590,6 +590,7 @@ compute_branch_probabilities (void) num_branches++, num_never_executed; } } + counts_to_freqs (); if (dump_file) { |