1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

REmove huge hack used by register allocator

llvm-svn: 1694
This commit is contained in:
Chris Lattner 2002-02-04 17:39:02 +00:00
parent c457462f99
commit 473793df61

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