From f806c025bdf0f9d8ebd0312ca02fa4e3b119d4f3 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 4 Feb 2002 17:39:02 +0000 Subject: [PATCH] REmove huge hack used by register allocator git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1694 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/LoopDepth.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/lib/Analysis/LoopDepth.cpp b/lib/Analysis/LoopDepth.cpp index e265837a476..03b81b93122 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 PassMgr; - LoopInfo *LI = new LoopInfo(LoopInfo::ID); - PassMgr.add(LI); - PassMgr.run(M); - calculate(M, *LI); -} -#endif - -- 2.34.1