diff options
| author | Cameron Zwarich <zwarich@apple.com> | 2013-07-01 19:49:48 +0000 |
|---|---|---|
| committer | Cameron Zwarich <zwarich@apple.com> | 2013-07-01 19:49:48 +0000 |
| commit | e35038da945c9e43e47c0b150eabaee1a1d0e4da (patch) | |
| tree | 98884695226da0dd4ffb736f09d92fbe0a1e3482 /llvm/lib/CodeGen/PHIElimination.cpp | |
| parent | a7499c98301e847d2e525921801e1edcc44e34da (diff) | |
| download | bcm5719-llvm-e35038da945c9e43e47c0b150eabaee1a1d0e4da.tar.gz bcm5719-llvm-e35038da945c9e43e47c0b150eabaee1a1d0e4da.zip | |
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.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/PHIElimination.cpp b/llvm/lib/CodeGen/PHIElimination.cpp index 985967e55aa..bf23ecac4db 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()); |

