summaryrefslogtreecommitdiff
path: root/gcc/haifa-sched.c
diff options
context:
space:
mode:
authoraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-12 18:00:49 +0000
committeraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-12 18:00:49 +0000
commit61ff7bd535b564bd651cf44347a4b27d86b9dc20 (patch)
treebd9480282eb4fe4a38245036c264bcbaebee7384 /gcc/haifa-sched.c
parent9f3e84741f110219afd95975b4e149b2b5021cf8 (diff)
downloadgcc-61ff7bd535b564bd651cf44347a4b27d86b9dc20.tar.gz
* haifa-sched.c (restore_line_notes): Remove argument block B
since it's unused. * sched-ebb.c (schedule_ebb): Change caller. * sched-rgn.c (schedule_region): Likewise. * sched-int.h (restore_line_notes): Adjust prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38954 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/haifa-sched.c')
-rw-r--r--gcc/haifa-sched.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c
index 06480456269..b4053b5e90c 100644
--- a/gcc/haifa-sched.c
+++ b/gcc/haifa-sched.c
@@ -1,6 +1,6 @@
/* Instruction scheduling pass.
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998,
- 1999, 2000 Free Software Foundation, Inc.
+ 1999, 2000, 2001 Free Software Foundation, Inc.
Contributed by Michael Tiemann (tiemann@cygnus.com) Enhanced by,
and currently maintained by, Jim Wilson (wilson@cygnus.com)
@@ -1225,13 +1225,12 @@ save_line_notes (b, head, tail)
LINE_NOTE (insn) = line;
}
-/* After block B was scheduled, insert line notes into the insns list.
+/* After a block was scheduled, insert line notes into the insns list.
HEAD and TAIL are the boundaries of the block in which notes should
be processed.*/
void
-restore_line_notes (b, head, tail)
- int b;
+restore_line_notes (head, tail)
rtx head, tail;
{
rtx line, note, prev, new;