mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
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:
parent
1cee94f041
commit
e856685710
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user