diff options
author | Steven Bosscher <stevenb@suse.de> | 2004-07-21 18:57:09 +0000 |
---|---|---|
committer | Steven Bosscher <steven@gcc.gnu.org> | 2004-07-21 18:57:09 +0000 |
commit | 07a236b612fffa83c4d4f839351c13a560b48f9a (patch) | |
tree | d4da6fa4c9e5c2b532917701f2d280cf5b10c01a /gcc/passes.c | |
parent | d917fa87989411da1a6e002993aec077469ff719 (diff) | |
download | gcc-07a236b612fffa83c4d4f839351c13a560b48f9a.zip gcc-07a236b612fffa83c4d4f839351c13a560b48f9a.tar.gz gcc-07a236b612fffa83c4d4f839351c13a560b48f9a.tar.bz2 |
rtl.h (insn_note): Remove NOTE_INSN_PREDICTION.
* 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.
From-SVN: r85016
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 108d185..b124b3e 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 (); |