diff options
author | Tehila Meyzels <tehila@il.ibm.com> | 2006-11-29 18:24:14 +0000 |
---|---|---|
committer | Dorit Nuzman <dorit@gcc.gnu.org> | 2006-11-29 18:24:14 +0000 |
commit | 07c02828326880b3df56dd0dfbf00847688351c3 (patch) | |
tree | da4032793fa855993d2d1d0ddb8fafbcd3e51adc /gcc/sched-rgn.c | |
parent | 14502dad061deb34939adf92cb5ea35a06f1da34 (diff) | |
download | gcc-07c02828326880b3df56dd0dfbf00847688351c3.zip gcc-07c02828326880b3df56dd0dfbf00847688351c3.tar.gz gcc-07c02828326880b3df56dd0dfbf00847688351c3.tar.bz2 |
haifa-sched.c: Remove define LINE_NOTE(INSN).
2006-11-29 Tehila Meyzels <tehila@il.ibm.com>
* haifa-sched.c: Remove define LINE_NOTE(INSN).
Remove line_note_head.
Update documentation.
(associate_line_notes_with_blocks): Kill.
(extend_bb): Remove basic block argument, put void instead.
Remove line number handling for each bb.
(save_line_notes): Kill.
(restore_line_notes): Kill.
(sched_init): Remove line_note_head initialization.
Change extend_bb call.
(sched_finish): Remove free of line_note_head.
(add_block): Change extend_bb call.
* sched-ebb.c (schedule_ebb): Remove save_line_notes,
rm_line_notes and restore_line_notes calls.
(schedule_ebbs): Remove rm_redundant_line_notes.
* sched-int.h (struct haifa_insn_data): Remove line_note.
(save_line_notes): Remove declaration.
(restore_line_notes): Remove declaration.
* modulo-sched.c (loop_canon_p): Update debug info printing
by using insn locators instead of line note.
(sms_schedule): Update debug info printing, by using insn
locators instead of line note.
* sched-rgn.c (debug_dependencies): Remove handling of case
n>0 (line number), since it's a dead code.
(schedule_region): Remove save_line_notes and
restore_line_notes calls.
From-SVN: r119328
Diffstat (limited to 'gcc/sched-rgn.c')
-rw-r--r-- | gcc/sched-rgn.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/gcc/sched-rgn.c b/gcc/sched-rgn.c index 47d0a9a..8b9cf9931 100644 --- a/gcc/sched-rgn.c +++ b/gcc/sched-rgn.c @@ -2584,13 +2584,6 @@ debug_dependencies (void) n = NOTE_LINE_NUMBER (insn); if (n < 0) fprintf (sched_dump, "%s\n", GET_NOTE_INSN_NAME (n)); - else - { - expanded_location xloc; - NOTE_EXPANDED_LOCATION (xloc, insn); - fprintf (sched_dump, "line %d, file %s\n", - xloc.line, xloc.file); - } } else fprintf (sched_dump, " {%s}\n", GET_RTX_NAME (GET_CODE (insn))); @@ -2768,7 +2761,6 @@ schedule_region (int rgn) { basic_block first_bb, last_bb, curr_bb; rtx head, tail; - int b = BB_TO_BLOCK (bb); first_bb = EBB_FIRST_BB (bb); last_bb = EBB_LAST_BB (bb); @@ -2784,10 +2776,6 @@ schedule_region (int rgn) current_sched_info->prev_head = PREV_INSN (head); current_sched_info->next_tail = NEXT_INSN (tail); - if (write_symbols != NO_DEBUG) - { - save_line_notes (b, head, tail); - } /* rm_other_notes only removes notes which are _inside_ the block---that is, it won't remove notes before the first real insn @@ -2838,17 +2826,6 @@ schedule_region (int rgn) /* Sanity check: verify that all region insns were scheduled. */ gcc_assert (sched_rgn_n_insns == rgn_n_insns); - /* Restore line notes. */ - if (write_symbols != NO_DEBUG) - { - for (bb = 0; bb < current_nr_blocks; bb++) - { - rtx head, tail; - - get_ebb_head_tail (EBB_FIRST_BB (bb), EBB_LAST_BB (bb), &head, &tail); - restore_line_notes (head, tail); - } - } /* Done with this region. */ |