aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/PHIElimination.cpp
diff options
context:
space:
mode:
authorCameron Zwarich <zwarich@apple.com>2013-07-01 19:49:48 +0000
committerCameron Zwarich <zwarich@apple.com>2013-07-01 19:49:48 +0000
commite35038da945c9e43e47c0b150eabaee1a1d0e4da (patch)
tree98884695226da0dd4ffb736f09d92fbe0a1e3482 /llvm/lib/CodeGen/PHIElimination.cpp
parenta7499c98301e847d2e525921801e1edcc44e34da (diff)
downloadllvm-e35038da945c9e43e47c0b150eabaee1a1d0e4da.zip
llvm-e35038da945c9e43e47c0b150eabaee1a1d0e4da.tar.gz
llvm-e35038da945c9e43e47c0b150eabaee1a1d0e4da.tar.bz2
Fix the build after r185363. Use llvm::next instead of raw next.
llvm-svn: 185367
Diffstat (limited to 'llvm/lib/CodeGen/PHIElimination.cpp')
-rw-r--r--llvm/lib/CodeGen/PHIElimination.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/PHIElimination.cpp b/llvm/lib/CodeGen/PHIElimination.cpp
index 985967e..bf23eca 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());