[llvm] r185367 - Fix the build after r185363. Use llvm::next instead of raw next.
Cameron Zwarich
zwarich at apple.com
Mon Jul 1 12:49:48 PDT 2013
Author: zwarich
Date: Mon Jul 1 14:49:48 2013
New Revision: 185367
URL: http://llvm.org/viewvc/llvm-project?rev=185367&view=rev
Log:
Fix the build after r185363. Use llvm::next instead of raw next.
Modified:
llvm/trunk/lib/CodeGen/PHIElimination.cpp
Modified: llvm/trunk/lib/CodeGen/PHIElimination.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/PHIElimination.cpp?rev=185367&r1=185366&r2=185367&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/PHIElimination.cpp (original)
+++ llvm/trunk/lib/CodeGen/PHIElimination.cpp Mon Jul 1 14:49:48 2013
@@ -222,7 +222,7 @@ void PHIElimination::LowerPHINode(Machin
MachineBasicBlock::iterator LastPHIIt) {
++NumLowered;
- MachineBasicBlock::iterator AfterPHIsIt = next(LastPHIIt);
+ MachineBasicBlock::iterator AfterPHIsIt = llvm::next(LastPHIIt);
// Unlink the PHI node from the basic block, but don't delete the PHI yet.
MachineInstr *MPhi = MBB.remove(MBB.begin());
More information about the llvm-commits
mailing list