aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/Spiller.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <doug.gregor@gmail.com>2010-05-11 06:17:44 +0000
committerDouglas Gregor <doug.gregor@gmail.com>2010-05-11 06:17:44 +0000
commit491363c2ba41b17b9e3698918beaea8f5bf9d024 (patch)
treea4571e1049d2174868e79f76d46f5c73da97654e /lib/CodeGen/Spiller.cpp
parent66c2c93df8e6f2b2926dd3ce8b087eb4355ded8b (diff)
downloadexternal_llvm-491363c2ba41b17b9e3698918beaea8f5bf9d024.zip
external_llvm-491363c2ba41b17b9e3698918beaea8f5bf9d024.tar.gz
external_llvm-491363c2ba41b17b9e3698918beaea8f5bf9d024.tar.bz2
Fixes for Microsoft Visual Studio 2010, from Steven Watanabe!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103457 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/Spiller.cpp')
-rw-r--r--lib/CodeGen/Spiller.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/Spiller.cpp b/lib/CodeGen/Spiller.cpp
index 735ca31..a7b2efe 100644
--- a/lib/CodeGen/Spiller.cpp
+++ b/lib/CodeGen/Spiller.cpp
@@ -451,9 +451,9 @@ private:
// reg.
MachineBasicBlock *useMBB = useInst->getParent();
MachineBasicBlock::iterator useItr(useInst);
- tii->copyRegToReg(*useMBB, next(useItr), li->reg, newVReg, trc, trc,
+ tii->copyRegToReg(*useMBB, llvm::next(useItr), li->reg, newVReg, trc, trc,
DebugLoc());
- MachineInstr *copyMI = next(useItr);
+ MachineInstr *copyMI = llvm::next(useItr);
copyMI->addRegisterKilled(newVReg, tri);
SlotIndex copyIdx = lis->InsertMachineInstrInMaps(copyMI);