diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-05-20 18:06:55 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-05-20 18:06:55 +0000 |
commit | 195731ad171662442bca2721616e291e4fce1488 (patch) | |
tree | 6f48ee558ae32b2a271ec40182fded8214a3342f /gcc/predict.c | |
parent | 104bbbeb1d2f6e1d81ed5b6ad56056208ca64767 (diff) | |
download | gcc-195731ad171662442bca2721616e291e4fce1488.tar.gz |
* params.c: Fix formatting.
* params.h: Likewise.
* predict.c: Likewise.
* prefix.c: Likewise.
* print-rtl.c: Likewise.
* print-tree.c: Likewise.
* profile.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53670 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/predict.c')
-rw-r--r-- | gcc/predict.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/predict.c b/gcc/predict.c index f457817956d..b0be982761d 100644 --- a/gcc/predict.c +++ b/gcc/predict.c @@ -74,9 +74,9 @@ static void propagate_freq PARAMS ((basic_block)); static void estimate_bb_frequencies PARAMS ((struct loops *)); static void counts_to_freqs PARAMS ((void)); static void process_note_predictions PARAMS ((basic_block, int *, int *, - sbitmap *)); + sbitmap *)); static void process_note_prediction PARAMS ((basic_block, int *, int *, - sbitmap *, int, int)); + sbitmap *, int, int)); static bool last_basic_block_p PARAMS ((basic_block)); static void compute_function_frequency PARAMS ((void)); static void choose_function_section PARAMS ((void)); @@ -375,10 +375,10 @@ combine_predictions_for_insn (insn, bb) dump_prediction (predictor, probability, bb, !first_match || best_predictor == predictor); - *pnote = XEXP (*pnote, 1); + *pnote = XEXP (*pnote, 1); } else - pnote = &XEXP (*pnote, 1); + pnote = &XEXP (*pnote, 1); } if (!prob_note) @@ -705,7 +705,7 @@ last_basic_block_p (bb) should be index of basic block in that we need to alter branch predictions (i.e. the first of our dominators such that we do not post-dominate it) (but we fill this information on demand, so -1 may be there in case this - was not needed yet). */ + was not needed yet). */ static void process_note_prediction (bb, heads, dominators, post_dominators, pred, flags) @@ -1117,7 +1117,7 @@ expensive_function_p (threshold) is available and function has not been executed at all. */ if (ENTRY_BLOCK_PTR->frequency == 0) return true; - + /* Maximally BB_FREQ_MAX^2 so overflow won't happen. */ limit = ENTRY_BLOCK_PTR->frequency * threshold; for (i = 0; i < n_basic_blocks; i++) |