OSDN Git Service

Revert bogus commit.
[pf3gnuchains/gcc-fork.git] / gcc / sched-ebb.c
index 13b9fe6..31b5f3c 100644 (file)
@@ -36,6 +36,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 #include "except.h"
 #include "toplev.h"
 #include "recog.h"
+#include "cfglayout.h"
 #include "sched-int.h"
 \f
 /* The number of insns to be scheduled in total.  */
@@ -285,9 +286,7 @@ schedule_ebbs (dump_file)
   if (n_basic_blocks == 0)
     return;
 
-  /* Remove lexical block notes for empty regions.  These get shuffled
-     about during scheduling and confuse the debugging issue.  */
-  remove_unnecessary_notes ();
+  scope_to_insns_initialize ();
 
   sched_init (dump_file);
 
@@ -357,5 +356,7 @@ schedule_ebbs (dump_file)
   if (write_symbols != NO_DEBUG)
     rm_redundant_line_notes ();
 
+  scope_to_insns_finalize ();
+
   sched_finish ();
 }