mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-14 15:19:33 +00:00
Fix the build after r185363. Use llvm::next instead of raw next.
llvm-svn: 185367
This commit is contained in:
parent
f6e50fd093
commit
6fa864e601
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user