From ffedd2549f6fe6cd65d27e8608032b38c940e79d Mon Sep 17 00:00:00 2001 From: hubicka Date: Sat, 25 Sep 2004 10:06:18 +0000 Subject: * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88093 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/profile.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/profile.c') diff --git a/gcc/profile.c b/gcc/profile.c index 7b04bfdf12f..3f48be623d2 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) { -- cgit v1.2.1