MipsDelaySlotFiller.cpp: Appease msvc to specify llvm::next() explicitly.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 5 Oct 2011 10:11:02 +0000 (10:11 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 5 Oct 2011 10:11:02 +0000 (10:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141174 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Mips/MipsDelaySlotFiller.cpp

index c790189606f630fc6d923a37c4e324e6d8c051b8..059c111edb1d92884a8efda5fbc184626188cc1c 100644 (file)
@@ -140,7 +140,7 @@ bool Filler::findDelayInstr(MachineBasicBlock &MBB,
       continue;
 
     // Convert to forward iterator.
-    MachineBasicBlock::iterator FI(next(I).base());
+    MachineBasicBlock::iterator FI(llvm::next(I).base());
 
     if (I->hasUnmodeledSideEffects()
         || I->isInlineAsm()