mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-29 10:25:12 +00:00
improve portability to avoid conflicting with std::next in c++'0x.
Patch by Howard Hinnant! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90365 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -668,7 +668,7 @@ bool StackSlotColoring::RemoveDeadStores(MachineBasicBlock* MBB) {
|
||||
if (DCELimit != -1 && (int)NumDead >= DCELimit)
|
||||
break;
|
||||
|
||||
MachineBasicBlock::iterator NextMI = next(I);
|
||||
MachineBasicBlock::iterator NextMI = llvm::next(I);
|
||||
if (NextMI == MBB->end()) continue;
|
||||
|
||||
int FirstSS, SecondSS;
|
||||
|
Reference in New Issue
Block a user