Unbreak the MSVC build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149599 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Francois Pichet 2012-02-02 08:36:09 +00:00
parent eec68e7ffa
commit 1ae52f686c

View File

@ -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)) {