REmove huge hack used by register allocator

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1694 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-02-04 17:39:02 +00:00
parent 3e0f8288e7
commit f806c025bd

View 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