Clean up code a bit.
[oota-llvm.git] / lib / Target / X86 / X86RegisterInfo.h
index 5d843ab729dd6f7a68b0bfe16310dcbee36c59e4..b67091cd404e853af554f4ea4a7afe279073c1e1 100644 (file)
@@ -48,8 +48,9 @@ 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 bool foldMemoryOperand(MachineBasicBlock::iterator &MI,unsigned OpNum,
-                                 int FrameIndex) const;
+  virtual MachineInstr* foldMemoryOperand(MachineInstr* MI,
+                                          unsigned OpNum,
+                                          int FrameIndex) const;
 
 
   void eliminateCallFramePseudoInstr(MachineFunction &MF,