REmove huge hack used by register allocator
authorChris Lattner <sabre@nondot.org>
Mon, 4 Feb 2002 17:39:02 +0000 (17:39 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 4 Feb 2002 17:39:02 +0000 (17:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1694 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/LoopDepth.cpp

index e265837a4765cbd360ce9b0316b242fd4b4d45f2..03b81b931225d1cd666947781db98df45142d45b 100644 (file)
@@ -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
-