aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/LoopDepth.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Analysis/LoopDepth.cpp')
-rw-r--r--lib/Analysis/LoopDepth.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/Analysis/LoopDepth.cpp b/lib/Analysis/LoopDepth.cpp
index e265837a47..03b81b9312 100644
--- a/lib/Analysis/LoopDepth.cpp
+++ b/lib/Analysis/LoopDepth.cpp
@@ -31,15 +31,3 @@ void cfg::LoopDepthCalculator::getAnalysisUsageInfo(Pass::AnalysisSet &Requires,
Requires.push_back(LoopInfo::ID);
}
-#if 1 /// FIXME, REMOVE EVENTUALLY
-#include "llvm/PassManager.h"
-
-cfg::LoopDepthCalculator::LoopDepthCalculator(Method *M) {
- PassManagerT<Method> PassMgr;
- LoopInfo *LI = new LoopInfo(LoopInfo::ID);
- PassMgr.add(LI);
- PassMgr.run(M);
- calculate(M, *LI);
-}
-#endif
-