summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-02-04 17:39:02 +0000
committerChris Lattner <sabre@nondot.org>2002-02-04 17:39:02 +0000
commit519af2962d70736c9545cc09622c973671266898 (patch)
tree6e92d341012541c3e965642e311d23b5c29d4a4c /llvm/lib
parent669a74ce8a89dad2bdc5b40732758e513545e32e (diff)
downloadbcm5719-llvm-519af2962d70736c9545cc09622c973671266898.tar.gz
bcm5719-llvm-519af2962d70736c9545cc09622c973671266898.zip
REmove huge hack used by register allocator
llvm-svn: 1694
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Analysis/LoopDepth.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/llvm/lib/Analysis/LoopDepth.cpp b/llvm/lib/Analysis/LoopDepth.cpp
index e265837a476..03b81b93122 100644
--- a/llvm/lib/Analysis/LoopDepth.cpp
+++ b/llvm/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
-
OpenPOWER on IntegriCloud