[llvm-commits] [llvm] r48478 - /llvm/trunk/include/llvm/Analysis/LoopInfo.h
Dale Johannesen
dalej at apple.com
Mon Mar 17 18:52:17 PDT 2008
Author: johannes
Date: Mon Mar 17 20:52:17 2008
New Revision: 48478
URL: http://llvm.org/viewvc/llvm-project?rev=48478&view=rev
Log:
Get rid of compilation warnings. Per Devang.
Modified:
llvm/trunk/include/llvm/Analysis/LoopInfo.h
Modified: llvm/trunk/include/llvm/Analysis/LoopInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/LoopInfo.h?rev=48478&r1=48477&r2=48478&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/LoopInfo.h (original)
+++ llvm/trunk/include/llvm/Analysis/LoopInfo.h Mon Mar 17 20:52:17 2008
@@ -580,9 +580,6 @@
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 @@
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);
More information about the llvm-commits
mailing list