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>
/* 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)
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;
/* 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)
tail = current_sched_info->tail;
if (write_symbols != NO_DEBUG)
- restore_line_notes (0, head, tail);
+ restore_line_notes (head, tail);
finish_deps_global ();
}
/* 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.
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));
{
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);
}
}