1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Unbreak the MSVC build.

llvm-svn: 149599
This commit is contained in:
Francois Pichet 2012-02-02 08:36:09 +00:00
parent 17ebcce7ef
commit 0f41b565e8

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