From: Francois Pichet Date: Thu, 2 Feb 2012 08:36:09 +0000 (+0000) Subject: Unbreak the MSVC build. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1ae52f686cb04a08cb64b3fab90e7ac4c9010384;p=oota-llvm.git Unbreak the MSVC build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149599 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index 2e8909a5c39..76b21aca00e 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -12063,7 +12063,7 @@ X86TargetLowering::EmitVAStartSaveXMMRegsWithCustomInserter( // the EFLAGS operand. static bool shouldHaveEFlagsKill(MachineBasicBlock::iterator SelectItr, MachineBasicBlock* BB) { - for (MachineBasicBlock::iterator miI(next(SelectItr)), miE = BB->end(); + for (MachineBasicBlock::iterator miI(llvm::next(SelectItr)), miE = BB->end(); miI != miE; ++miI) { const MachineInstr& mi = *miI; if (mi.readsRegister(X86::EFLAGS)) {