diff options
| author | Chris Lattner <sabre@nondot.org> | 2002-02-04 17:39:02 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2002-02-04 17:39:02 +0000 |
| commit | 519af2962d70736c9545cc09622c973671266898 (patch) | |
| tree | 6e92d341012541c3e965642e311d23b5c29d4a4c /llvm/lib | |
| parent | 669a74ce8a89dad2bdc5b40732758e513545e32e (diff) | |
| download | bcm5719-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.cpp | 12 |
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 - |

