aboutsummaryrefslogtreecommitdiff
path: root/gcc/predict.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2009-11-18 14:09:15 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2009-11-18 13:09:15 +0000
commit965b98d04ba5577aaaa2e1e48a8d9ba6dba35da9 (patch)
tree5ccc2b57b37b756a5c2cf26a4da08e0c6de03283 /gcc/predict.h
parent8b2205027de65d0d8c2fe0ef9c4238bf7e769eb8 (diff)
downloadgcc-965b98d04ba5577aaaa2e1e48a8d9ba6dba35da9.zip
gcc-965b98d04ba5577aaaa2e1e48a8d9ba6dba35da9.tar.gz
gcc-965b98d04ba5577aaaa2e1e48a8d9ba6dba35da9.tar.bz2
predict.c (compute_function_frequency): Export.
* predict.c (compute_function_frequency): Export. * predict.h (compute_function_frequency): Declare. * tree-optimize.c (execute_fixup_cfg): Rescale frequencies. From-SVN: r154291
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 0e04041..18e57d7 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 */