Eliminate a layer of indirection in LoopInfo and MachineLoopInfo.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74394 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman
2009-06-27 21:22:48 +00:00
parent 1c34375f79
commit 9d59d9f849
4 changed files with 52 additions and 52 deletions

View File

@@ -30,7 +30,7 @@ const PassInfo *const llvm::MachineLoopInfoID = &X;
bool MachineLoopInfo::runOnMachineFunction(MachineFunction &) {
releaseMemory();
LI->Calculate(getAnalysis<MachineDominatorTree>().getBase()); // Update
LI.Calculate(getAnalysis<MachineDominatorTree>().getBase()); // Update
return false;
}