[llvm-commits] CVS: llvm/include/llvm/Target/MRegisterInfo.h

Alkis Evlogimenos alkis at cs.uiuc.edu
Sun Mar 14 14:15:13 PST 2004


Changes in directory llvm/include/llvm/Target:

MRegisterInfo.h updated: 1.40 -> 1.41

---
Log message:

Another API change to MRegisterInfo::foldMemoryOperand. Instead of a
MachineBasicBlock::iterator take a MachineInstr*.


---
Diffs of the changes:  (+1 -1)

Index: llvm/include/llvm/Target/MRegisterInfo.h
diff -u llvm/include/llvm/Target/MRegisterInfo.h:1.40 llvm/include/llvm/Target/MRegisterInfo.h:1.41
--- llvm/include/llvm/Target/MRegisterInfo.h:1.40	Sun Mar 14 01:19:51 2004
+++ llvm/include/llvm/Target/MRegisterInfo.h	Sun Mar 14 14:14:27 2004
@@ -259,7 +259,7 @@
   /// 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;





More information about the llvm-commits mailing list