diff options
author | Cong Hou <congh@google.com> | 2015-07-16 18:23:57 +0000 |
---|---|---|
committer | Cong Hou <congh@google.com> | 2015-07-16 18:23:57 +0000 |
commit | d2c1d91ed0e13298f8ce74b079d234ccb249d945 (patch) | |
tree | f815c9667d36e74690448fd293ba79370aef4e54 /llvm/lib/CodeGen/MachineLoopInfo.cpp | |
parent | 70231d68dcb98dc15f8622ad4c4e3e1ad5d63aa1 (diff) | |
download | bcm5719-llvm-d2c1d91ed0e13298f8ce74b079d234ccb249d945.tar.gz bcm5719-llvm-d2c1d91ed0e13298f8ce74b079d234ccb249d945.zip |
Rename LoopInfo::Analyze() to LoopInfo::analyze() and turn its parameter type to const&.
The benefit of turning the parameter of LoopInfo::analyze() to const& is that it now can accept a rvalue.
http://reviews.llvm.org/D11250
llvm-svn: 242426
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 ce6abdd870b..e19e6e30a01 100644 --- a/llvm/lib/CodeGen/MachineLoopInfo.cpp +++ b/llvm/lib/CodeGen/MachineLoopInfo.cpp @@ -37,7 +37,7 @@ char &llvm::MachineLoopInfoID = MachineLoopInfo::ID; bool MachineLoopInfo::runOnMachineFunction(MachineFunction &) { releaseMemory(); - LI.Analyze(getAnalysis<MachineDominatorTree>().getBase()); + LI.analyze(getAnalysis<MachineDominatorTree>().getBase()); return false; } |