Another API change to MRegisterInfo::foldMemoryOperand. Instead of a

MachineBasicBlock::iterator take a MachineInstr*.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12392 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Alkis Evlogimenos
2004-03-14 20:14:27 +00:00
parent 7546c3884a
commit a1a7148c4d
3 changed files with 5 additions and 6 deletions

View File

@@ -259,7 +259,7 @@ public:
/// is returned with the specified operand folded, otherwise NULL is
/// returned. The client is responsible for removing the old
/// instruction and adding the new one in the instruction stream
virtual MachineInstr* foldMemoryOperand(MachineBasicBlock::iterator MI,
virtual MachineInstr* foldMemoryOperand(MachineInstr* MI,
unsigned OpNum,
int FrameIndex) const {
return NULL;