diff options
author | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-03-12 22:58:22 +0000 |
---|---|---|
committer | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-03-12 22:58:22 +0000 |
commit | 5018c250118696d37986d14aa91cc388791c4a43 (patch) | |
tree | d2df1cff7b7b6d39cad373f658025e733516f5d3 /gcc/passes.c | |
parent | 354363fb354ac0da1e9a6edd0541ab378242090d (diff) | |
download | gcc-5018c250118696d37986d14aa91cc388791c4a43.tar.gz |
* predict.c (estimate_probability): Remove.
* profile.c (rest_of_handle_branch_prob, pass_branch_prob): Remove.
* basic-block.h (estimate_probability): Remove prototype.
* passes.c (finish_optimization_passes): Dump branch prediction or
profiling heuristics to the .profile tree dump.
(init_optimization_passes): Unqueue pass_branch_prob.
* doc/invoke.texi (-fdump-rtl-bp): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111980 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/passes.c')
-rw-r--r-- | gcc/passes.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/passes.c b/gcc/passes.c index 9732b2518e9..f6a97f65edf 100644 --- a/gcc/passes.c +++ b/gcc/passes.c @@ -216,10 +216,10 @@ finish_optimization_passes (void) timevar_push (TV_DUMP); if (profile_arc_flag || flag_test_coverage || flag_branch_probabilities) { - dump_file = dump_begin (pass_branch_prob.static_pass_number, NULL); + dump_file = dump_begin (pass_profile.static_pass_number, NULL); end_branch_prob (); if (dump_file) - dump_end (pass_branch_prob.static_pass_number, dump_file); + dump_end (pass_profile.static_pass_number, dump_file); } if (optimize > 0) @@ -635,7 +635,6 @@ init_optimization_passes (void) NEXT_PASS (pass_gcse); NEXT_PASS (pass_jump_bypass); NEXT_PASS (pass_cfg); - NEXT_PASS (pass_branch_prob); NEXT_PASS (pass_rtl_ifcvt); NEXT_PASS (pass_tracer); /* Perform loop optimizations. It might be better to do them a bit |