delete useless functions
add comment


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6673 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/ModuloScheduling/ModuloScheduling.h b/lib/CodeGen/ModuloScheduling/ModuloScheduling.h
index cbb8fea..499d8f3 100644
--- a/lib/CodeGen/ModuloScheduling/ModuloScheduling.h
+++ b/lib/CodeGen/ModuloScheduling/ModuloScheduling.h
@@ -79,15 +79,15 @@
   printSchedule() { 
 
     //return ModuloScheduling::DebugLevel >= DebugLevel_PrintSchedule; 
-    return false;
+    return true;
 
-
+    
   }
   static bool 
   printScheduleProcess() {
   
     //return DebugLevel >= DebugLevel_PrintScheduleProcess;
-    return false;
+    return true;
 
 
   }
@@ -180,7 +180,7 @@
   ModuloSchedulingSet(ModuloSchedGraphSet _graphSet): graphSet(_graphSet) {
     for (unsigned i = 0; i < graphSet.size(); i++) {
       ModuloSchedGraph & graph = *(graphSet[i]);
-      if (graph.isLoop())
+      if (graph.isLoop(graph.getBasicBlock()))
         ModuloScheduling ModuloScheduling(graph);
     }
   };