storeReg2RegOffset() and loadRegOffset2Reg() now take the iterator by value

instead of by reference, since they return the modified iterator.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4914 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Misha Brukman 2002-12-04 17:14:13 +00:00
parent ab6d293435
commit a361c8417b
3 changed files with 6 additions and 6 deletions

View File

@ -119,13 +119,13 @@ public:
virtual MachineBasicBlock::iterator
storeReg2RegOffset(MachineBasicBlock *MBB,
MachineBasicBlock::iterator &MBBI,
MachineBasicBlock::iterator MBBI,
unsigned SrcReg, unsigned DestReg,
unsigned ImmOffset, unsigned dataSize) const = 0;
virtual MachineBasicBlock::iterator
loadRegOffset2Reg(MachineBasicBlock *MBB,
MachineBasicBlock::iterator &MBBI,
MachineBasicBlock::iterator MBBI,
unsigned DestReg, unsigned SrcReg,
unsigned ImmOffset, unsigned dataSize) const = 0;

View File

@ -26,7 +26,7 @@ X86RegisterInfo::X86RegisterInfo()
MachineBasicBlock::iterator
X86RegisterInfo::storeReg2RegOffset(MachineBasicBlock *MBB,
MachineBasicBlock::iterator &MBBI,
MachineBasicBlock::iterator MBBI,
unsigned SrcReg, unsigned DestReg,
unsigned ImmOffset, unsigned dataSize)
const
@ -38,7 +38,7 @@ X86RegisterInfo::storeReg2RegOffset(MachineBasicBlock *MBB,
MachineBasicBlock::iterator
X86RegisterInfo::loadRegOffset2Reg(MachineBasicBlock *MBB,
MachineBasicBlock::iterator &MBBI,
MachineBasicBlock::iterator MBBI,
unsigned DestReg, unsigned SrcReg,
unsigned ImmOffset, unsigned dataSize)
const

View File

@ -19,13 +19,13 @@ struct X86RegisterInfo : public MRegisterInfo {
MachineBasicBlock::iterator
storeReg2RegOffset(MachineBasicBlock *MBB,
MachineBasicBlock::iterator &MBBI,
MachineBasicBlock::iterator MBBI,
unsigned DestReg, unsigned SrcReg,
unsigned ImmOffset, unsigned dataSize) const;
MachineBasicBlock::iterator
loadRegOffset2Reg(MachineBasicBlock *MBB,
MachineBasicBlock::iterator &MBBI,
MachineBasicBlock::iterator MBBI,
unsigned DestReg, unsigned SrcReg,
unsigned ImmOffset, unsigned dataSize) const;