haifa-sched.c (restore_line_notes): Remove argument block B since it's unused.
authorAndreas Jaeger <aj@suse.de>
Fri, 12 Jan 2001 18:00:49 +0000 (19:00 +0100)
committerAndreas Jaeger <aj@gcc.gnu.org>
Fri, 12 Jan 2001 18:00:49 +0000 (19:00 +0100)
* 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

gcc/ChangeLog
gcc/haifa-sched.c
gcc/sched-ebb.c
gcc/sched-int.h
gcc/sched-rgn.c

index 1e6eed144bcb22363b10b5630ebbfda38cbc3335..06feedc024043cb58393797218990ddd8d881ad1 100644 (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>
index 06480456269cf8f87b2f6abd819daa8b01e3a1f5..b4053b5e90cd76743a11099352195f2e0bd27e9e 100644 (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;
index 1ff7cea79f5d5a840664d4746488e8ec2a764b52..56d96612be66300fc63858e5b05c300400d294ea 100644 (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 ();
 }
index fdd49eadca707354d411572be096301de736b18e..2a7eb6a03845166ba711ac6be613856376fda0e3 100644 (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));
 
index 13c358816b77667eff9f9f3b7e6d10cf86cc314c..46c734cf7da55a405e18d1ca2b57b97073a26e69 100644 (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);
        }
     }