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 | f806c025bdf0f9d8ebd0312ca02fa4e3b119d4f3 (patch) | |
tree | 027fd405845fe90c24bd41ceb40aa1bdf2941c2d /lib/Analysis/LoopDepth.cpp | |
parent | 3e0f8288e774a88d837329d8f70c02fcbb7e3c69 (diff) |
REmove huge hack used by register allocator
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1694 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/LoopDepth.cpp')
-rw-r--r-- | lib/Analysis/LoopDepth.cpp | 12 |
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 - |