diff options
author | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-21 18:57:09 +0000 |
---|---|---|
committer | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-21 18:57:09 +0000 |
commit | 24049db97c735788356e1e84cd572237e3242bec (patch) | |
tree | d4da6fa4c9e5c2b532917701f2d280cf5b10c01a /gcc/passes.c | |
parent | cd45159c7ce27cd0eb6412c0cbbc6c2450bd95bf (diff) | |
download | ppe42-gcc-24049db97c735788356e1e84cd572237e3242bec.tar.gz ppe42-gcc-24049db97c735788356e1e84cd572237e3242bec.zip |
* rtl.h (insn_note): Remove NOTE_INSN_PREDICTION.
* rtl.c (note_insn_name): Likewise.
* print-rtl.c (print_rtx): Don't print it.
* cfgrtl.h (can_delete_note_p): Don't handle it.
(rtl_delete_block): Likewise.
* passes.c (rest_of_handle_guess_branch_prob): Remove.
(rest_of_compilation): Don't call it.
* predict.c (process_note_predictions, process_note_prediction,
note_prediction_to_br_prob): Remove.
* basic-block.c (note_prediction_to_br_prob): Remove prototype.
* stmt.c (return_prediction): Remove.
(expand_value_return): Don't call it. Don't add prediction
notes for return statements.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85016 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/passes.c')
-rw-r--r-- | gcc/passes.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/gcc/passes.c b/gcc/passes.c index 108d18583ad..b124b3eafcd 100644 --- a/gcc/passes.c +++ b/gcc/passes.c @@ -1473,18 +1473,6 @@ rest_of_handle_jump (void) } static void -rest_of_handle_guess_branch_prob (void) -{ - /* Turn NOTE_INSN_PREDICTIONs into branch predictions. */ - if (flag_guess_branch_prob) - { - timevar_push (TV_BRANCH_PROB); - note_prediction_to_br_prob (); - timevar_pop (TV_BRANCH_PROB); - } -} - -static void rest_of_handle_eh (void) { insn_locators_initialize (); @@ -1791,7 +1779,6 @@ rest_of_compilation (void) goto exit_rest_of_compilation; rest_of_handle_jump (); - rest_of_handle_guess_branch_prob (); if (cfun->tail_call_emit) fixup_tail_calls (); |