Move most user of TargetMachine::getDataLayout to the Module one
[oota-llvm.git] / lib / Target / SystemZ / SystemZFrameLowering.h
index 60bad894ee44d646e6d660e7f61dfcff72d87bed..5ade757f17f71cb22ac4479a970a8a9f6062a10d 100644 (file)
@@ -27,8 +27,8 @@ public:
   bool isFPCloseToIncomingSP() const override { return false; }
   const SpillSlot *getCalleeSavedSpillSlots(unsigned &NumEntries) const
     override;
-  void processFunctionBeforeCalleeSavedScan(MachineFunction &MF,
-                                            RegScavenger *RS) const override;
+  void determineCalleeSaves(MachineFunction &MF, BitVector &SavedRegs,
+                            RegScavenger *RS) const override;
   bool spillCalleeSavedRegisters(MachineBasicBlock &MBB,
                                  MachineBasicBlock::iterator MBBI,
                                  const std::vector<CalleeSavedInfo> &CSI,