diff options
author | Dan Gohman <gohman@apple.com> | 2009-06-27 21:22:48 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-06-27 21:22:48 +0000 |
commit | 4f16a2923c892b9975111cd28ff315ce4f6e5973 (patch) | |
tree | a17db95ad23bdf63965fc9c3ecbb9fed2a562386 /llvm/lib/CodeGen/MachineLoopInfo.cpp | |
parent | c5c85c0fec8f9962d85e7953c78ab622435faeb6 (diff) | |
download | bcm5719-llvm-4f16a2923c892b9975111cd28ff315ce4f6e5973.tar.gz bcm5719-llvm-4f16a2923c892b9975111cd28ff315ce4f6e5973.zip |
Eliminate a layer of indirection in LoopInfo and MachineLoopInfo.
llvm-svn: 74394
Diffstat (limited to 'llvm/lib/CodeGen/MachineLoopInfo.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineLoopInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineLoopInfo.cpp b/llvm/lib/CodeGen/MachineLoopInfo.cpp index 68ddb7b3f47..ff56f4de590 100644 --- a/llvm/lib/CodeGen/MachineLoopInfo.cpp +++ b/llvm/lib/CodeGen/MachineLoopInfo.cpp @@ -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; } |