mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
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
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user