summaryrefslogtreecommitdiffstats
path: root/gcc/bb-reorder.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2000-04-27 05:58:05 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2000-04-27 05:58:05 +0000
commit8f8a2c5e5008674c5d6685753ad5cdfb14515880 (patch)
tree0935d72565c8f62d3c8af62f67c83e7ecadf6c31 /gcc/bb-reorder.c
parent77122c272ca8f152f162e0479c3891dceabb4b0b (diff)
downloadppe42-gcc-8f8a2c5e5008674c5d6685753ad5cdfb14515880.tar.gz
ppe42-gcc-8f8a2c5e5008674c5d6685753ad5cdfb14515880.zip
* jump.c (invert_jump): Always invert REG_BR_PROB. Do it correctly.
* bb-reorder.c (reorder_basic_blocks): Don't run estimate_probability. * flow.c (calculate_loop_depth): Remove. * output.h (calculate_loop_depth): Don't declare. * toplev.c (rest_of_compilation): Expand calculate_loop_depth inline; run estimate_probability at the same time. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33464 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/bb-reorder.c')
-rw-r--r--gcc/bb-reorder.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/bb-reorder.c b/gcc/bb-reorder.c
index 5f2e178c032..7812ff1bab9 100644
--- a/gcc/bb-reorder.c
+++ b/gcc/bb-reorder.c
@@ -813,10 +813,6 @@ reorder_basic_blocks ()
/* Dump loop information. */
flow_loops_dump (&loops_info, rtl_dump_file, 0);
- /* Estimate using heuristics if no profiling info is available. */
- if (! flag_branch_probabilities)
- estimate_probability (&loops_info);
-
reorder_last_visited = BASIC_BLOCK (0);
for (i = 0; i < n_basic_blocks; i++)
OpenPOWER on IntegriCloud