Fix the build after r185363. Use llvm::next instead of raw next.

llvm-svn: 185367
This commit is contained in:
Cameron Zwarich 2013-07-01 19:49:48 +00:00
parent a7499c9830
commit e35038da94
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ void PHIElimination::LowerPHINode(MachineBasicBlock &MBB,
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());