summaryrefslogtreecommitdiff
path: root/gcc/predict.h
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2009-11-18 13:09:15 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2009-11-18 13:09:15 +0000
commit63aab97df901f60f2e854e6ad3e7e47fd72e74ae (patch)
tree5ccc2b57b37b756a5c2cf26a4da08e0c6de03283 /gcc/predict.h
parent8e78b58c2aa924fed285f175b325da48f2f4e631 (diff)
downloadgcc-63aab97df901f60f2e854e6ad3e7e47fd72e74ae.tar.gz
* predict.c (compute_function_frequency): Export.
* predict.h (compute_function_frequency): Declare. * tree-optimize.c (execute_fixup_cfg): Rescale frequencies. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154291 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 0e040410768..18e57d77065 100644
--- a/gcc/predict.h
+++ b/gcc/predict.h
@@ -41,5 +41,6 @@ extern void estimate_bb_frequencies (void);
extern const char *predictor_name (enum br_predictor);
extern tree build_predict_expr (enum br_predictor, enum prediction);
extern void tree_estimate_probability (void);
+extern void compute_function_frequency (void);
#endif /* GCC_PREDICT_H */