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 | f807a6ee3a6c7365ffdf07510767b13a5a7df93c (patch) | |
tree | 8b2a0fb43229af982fd181b92926b0adf995dde4 /lib/CodeGen | |
parent | 27253f5edd04791bfbd0b5dd6e228be1d8071fce (diff) | |
download | external_llvm-f807a6ee3a6c7365ffdf07510767b13a5a7df93c.zip external_llvm-f807a6ee3a6c7365ffdf07510767b13a5a7df93c.tar.gz external_llvm-f807a6ee3a6c7365ffdf07510767b13a5a7df93c.tar.bz2 |
Fix the build after r185363. Use llvm::next instead of raw next.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185367 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/PHIElimination.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/PHIElimination.cpp b/lib/CodeGen/PHIElimination.cpp index 985967e..bf23eca 100644 --- a/lib/CodeGen/PHIElimination.cpp +++ b/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()); |