diff options
author | Dale Johannesen <dalej@apple.com> | 2008-03-18 01:52:17 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2008-03-18 01:52:17 +0000 |
commit | 55c9e49de442a3a0b494de439d1467486f00aaa0 (patch) | |
tree | 708a4e8edbff909e4f0202c63c7f111084eb300e /include | |
parent | 2b4fa68564c792a120f73ccf659f190fa9caae2c (diff) | |
download | external_llvm-55c9e49de442a3a0b494de439d1467486f00aaa0.zip external_llvm-55c9e49de442a3a0b494de439d1467486f00aaa0.tar.gz external_llvm-55c9e49de442a3a0b494de439d1467486f00aaa0.tar.bz2 |
Get rid of compilation warnings. Per Devang.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48478 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Analysis/LoopInfo.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Analysis/LoopInfo.h b/include/llvm/Analysis/LoopInfo.h index afefbf1..ab7cb7e 100644 --- a/include/llvm/Analysis/LoopInfo.h +++ b/include/llvm/Analysis/LoopInfo.h @@ -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); |