From e35038da945c9e43e47c0b150eabaee1a1d0e4da Mon Sep 17 00:00:00 2001 From: Cameron Zwarich Date: Mon, 1 Jul 2013 19:49:48 +0000 Subject: [PATCH] Fix the build after r185363. Use llvm::next instead of raw next. llvm-svn: 185367 --- llvm/lib/CodeGen/PHIElimination.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/CodeGen/PHIElimination.cpp b/llvm/lib/CodeGen/PHIElimination.cpp index 985967e55aa7..bf23ecac4db9 100644 --- a/llvm/lib/CodeGen/PHIElimination.cpp +++ b/llvm/lib/CodeGen/PHIElimination.cpp @@ -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());