haifa-sched.c (restore_line_notes): Remove argument block B since it's unused.

* 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.

From-SVN: r38954
This commit is contained in:
Andreas Jaeger 2001-01-12 19:00:49 +01:00 committed by Andreas Jaeger
parent 86aff12599
commit 14052b68db
5 changed files with 14 additions and 9 deletions

View File

@ -1,5 +1,11 @@
2001-01-12 Andreas Jaeger <aj@suse.de>
* 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.
* loop.h: Remove wrong declaration of doloop_condition_get.
2001-01-12 Phil Edwards <pme@sources.redhat.com>

View File

@ -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;

View File

@ -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)
@ -274,7 +274,7 @@ schedule_ebb (head, tail)
tail = current_sched_info->tail;
if (write_symbols != NO_DEBUG)
restore_line_notes (0, head, tail);
restore_line_notes (head, tail);
finish_deps_global ();
}

View File

@ -1,7 +1,7 @@
/* Instruction scheduling pass. This file contains definitions used
internally in the scheduler.
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998,
1999, 2000 Free Software Foundation, Inc.
1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of GNU CC.
@ -272,7 +272,7 @@ extern int no_real_insns_p PARAMS ((rtx, rtx));
extern void rm_line_notes PARAMS ((rtx, rtx));
extern void save_line_notes PARAMS ((int, rtx, rtx));
extern void restore_line_notes PARAMS ((int, rtx, rtx));
extern void restore_line_notes PARAMS ((rtx, rtx));
extern void rm_redundant_line_notes PARAMS ((void));
extern void rm_other_notes PARAMS ((rtx, rtx));

View File

@ -2864,7 +2864,7 @@ schedule_region (rgn)
{
rtx head, tail;
get_block_head_tail (BB_TO_BLOCK (bb), &head, &tail);
restore_line_notes (BB_TO_BLOCK (bb), head, tail);
restore_line_notes (head, tail);
}
}