mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-19 04:26:05 +00:00
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
This commit is contained in:
@@ -222,7 +222,7 @@ void PHIElimination::LowerPHINode(MachineBasicBlock &MBB,
|
|||||||
MachineBasicBlock::iterator LastPHIIt) {
|
MachineBasicBlock::iterator LastPHIIt) {
|
||||||
++NumLowered;
|
++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.
|
// Unlink the PHI node from the basic block, but don't delete the PHI yet.
|
||||||
MachineInstr *MPhi = MBB.remove(MBB.begin());
|
MachineInstr *MPhi = MBB.remove(MBB.begin());
|
||||||
|
Reference in New Issue
Block a user