Get rid of compilation warnings. Per Devang.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48478 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dale Johannesen 2008-03-18 01:52:17 +00:00
parent 1cee94f041
commit e856685710

View File

@ -580,9 +580,6 @@ public:
LoopInfoBase() { }
~LoopInfoBase() { releaseMemory(); }
/// isAnalysis - Return true if this pass is implementing an analysis pass.
virtual bool isAnalysis() const { return true; }
void releaseMemory() {
for (typename std::vector<LoopBase<BlockT>* >::iterator I =
TopLevelLoops.begin(), E = TopLevelLoops.end(); I != E; ++I)
@ -922,6 +919,9 @@ public:
return LI->isLoopHeader(BB);
}
/// isAnalysis - Return true if this pass is implementing an analysis pass.
bool isAnalysis() const { return true; }
/// runOnFunction - Calculate the natural loop information.
///
virtual bool runOnFunction(Function &F);