delete useless functions

add comment


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6673 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Guochun Shi
2003-06-08 23:16:07 +00:00
parent 33280524f4
commit 8f1d4ab409
8 changed files with 382 additions and 434 deletions

View File

@@ -79,15 +79,15 @@ public:
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 @@ public:
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);
}
};