From d2c1d91ed0e13298f8ce74b079d234ccb249d945 Mon Sep 17 00:00:00 2001 From: Cong Hou Date: Thu, 16 Jul 2015 18:23:57 +0000 Subject: 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 --- llvm/lib/CodeGen/MachineLoopInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/CodeGen') 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().getBase()); + LI.analyze(getAnalysis().getBase()); return false; } -- cgit v1.2.3