diff options
author | Steven Bosscher <stevenb.gcc@gmail.com> | 2006-03-12 22:58:22 +0000 |
---|---|---|
committer | Steven Bosscher <steven@gcc.gnu.org> | 2006-03-12 22:58:22 +0000 |
commit | 3d47ea88f3b5a2458f499633f831c65179003f6e (patch) | |
tree | d2df1cff7b7b6d39cad373f658025e733516f5d3 /gcc/passes.c | |
parent | 189cd5056db36dc477e1673f75f2eccf3be4056b (diff) | |
download | gcc-3d47ea88f3b5a2458f499633f831c65179003f6e.zip gcc-3d47ea88f3b5a2458f499633f831c65179003f6e.tar.gz gcc-3d47ea88f3b5a2458f499633f831c65179003f6e.tar.bz2 |
predict.c (estimate_probability): Remove.
* 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.
From-SVN: r111980
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 9732b25..f6a97f6 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 |