Another API change to MRegisterInfo::foldMemoryOperand. Instead of a
[oota-llvm.git] / lib / Target / X86 / X86RegisterInfo.h
index 3fd6ebec509ec8bb6f0b0fb335d0063cc9b8cece..b67091cd404e853af554f4ea4a7afe279073c1e1 100644 (file)
@@ -48,7 +48,7 @@ struct X86RegisterInfo : public X86GenRegisterInfo {
   /// folding and return true, otherwise it should return false.  If it folds
   /// the instruction, it is likely that the MachineInstruction the iterator
   /// references has been changed.
-  virtual MachineInstr* foldMemoryOperand(MachineBasicBlock::iterator MI,
+  virtual MachineInstr* foldMemoryOperand(MachineInstr* MI,
                                           unsigned OpNum,
                                           int FrameIndex) const;