summaryrefslogtreecommitdiff
path: root/gcc/predict.h
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-25 10:06:18 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-25 10:06:18 +0000
commitffedd2549f6fe6cd65d27e8608032b38c940e79d (patch)
treea844c1a79dda581a3aa0d026ae759027d7ec0a30 /gcc/predict.h
parent182c482c1f4531d830caeb9755fd9ebf29dc189e (diff)
downloadgcc-ffedd2549f6fe6cd65d27e8608032b38c940e79d.tar.gz
* 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
Diffstat (limited to 'gcc/predict.h')
-rw-r--r--gcc/predict.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/predict.h b/gcc/predict.h
index 16817f9b5b6..77198118f08 100644
--- a/gcc/predict.h
+++ b/gcc/predict.h
@@ -41,5 +41,6 @@ enum prediction
extern void predict_insn_def (rtx, enum br_predictor, enum prediction);
extern void predict_insn (rtx, enum br_predictor, int);
+extern int counts_to_freqs (void);
#endif /* GCC_PREDICT_H */