Get rid of compilation warnings. Per Devang.
authorDale Johannesen <dalej@apple.com>
Tue, 18 Mar 2008 01:52:17 +0000 (01:52 +0000)
committerDale Johannesen <dalej@apple.com>
Tue, 18 Mar 2008 01:52:17 +0000 (01:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48478 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/LoopInfo.h

index afefbf16b4193686391592c6586e2014cf8d1763..ab7cb7e03e55f577c6b236d6e9575b30ad7160ab 100644 (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);