summaryrefslogtreecommitdiff
path: root/gcc/sched-ebb.c
diff options
context:
space:
mode:
authordorit <dorit@138bc75d-0d04-0410-961f-82ee72b054a4>2006-11-29 18:24:14 +0000
committerdorit <dorit@138bc75d-0d04-0410-961f-82ee72b054a4>2006-11-29 18:24:14 +0000
commit3953ee1cd1c9fd6023d4548fe5a5d9ff3f230785 (patch)
treeda4032793fa855993d2d1d0ddb8fafbcd3e51adc /gcc/sched-ebb.c
parent90489f58c23298d23fdfbc7967783e7c6f4d3d49 (diff)
downloadgcc-3953ee1cd1c9fd6023d4548fe5a5d9ff3f230785.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119328 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sched-ebb.c')
-rw-r--r--gcc/sched-ebb.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/sched-ebb.c b/gcc/sched-ebb.c
index 19c60cf9f0d..38b81af94e8 100644
--- a/gcc/sched-ebb.c
+++ b/gcc/sched-ebb.c
@@ -479,11 +479,6 @@ schedule_ebb (rtx head, rtx tail)
current_sched_info->prev_head = PREV_INSN (head);
current_sched_info->next_tail = NEXT_INSN (tail);
- if (write_symbols != NO_DEBUG)
- {
- save_line_notes (first_bb->index, 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
or after the last real insn of the block. So if the first insn
@@ -519,9 +514,6 @@ schedule_ebb (rtx head, rtx tail)
head = current_sched_info->head;
tail = current_sched_info->tail;
- if (write_symbols != NO_DEBUG)
- restore_line_notes (head, tail);
-
if (EDGE_COUNT (last_bb->preds) == 0)
/* LAST_BB is unreachable. */
{