From 1ae52f686cb04a08cb64b3fab90e7ac4c9010384 Mon Sep 17 00:00:00 2001 From: Francois Pichet Date: Thu, 2 Feb 2012 08:36:09 +0000 Subject: [PATCH] Unbreak the MSVC build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149599 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86ISelLowering.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) { -- 2.34.1