[SPARC] Fix stupid oversight in stack realignment support.
[oota-llvm.git] / lib / Target / Sparc / SparcFrameLowering.h
index 67ef3084ab00aea715148c6e1222e3c0d80123ff..cbb4dc04fc236212ac222ac7a57606aaaee2de7a 100644 (file)
@@ -41,6 +41,12 @@ public:
 
   int getFrameIndexReference(const MachineFunction &MF, int FI,
                              unsigned &FrameReg) const override;
+
+  /// targetHandlesStackFrameRounding - Returns true if the target is
+  /// responsible for rounding up the stack frame (probably at emitPrologue
+  /// time).
+  bool targetHandlesStackFrameRounding() const override { return true; }
+
 private:
   // Remap input registers to output registers for leaf procedure.
   void remapRegsForLeafProc(MachineFunction &MF) const;