HHVM calling conventions.
[oota-llvm.git] / include / llvm / Target / TargetFrameLowering.h
index 61e3afd77b3d2bf5114052d3cddca597f910711b..3485ed6df8b4423b9d2ad0a5c5646def8223655d 100644 (file)
@@ -96,6 +96,11 @@ public:
     return StackRealignable;
   }
 
+  /// Return the skew that has to be applied to stack alignment under
+  /// certain conditions (e.g. stack was adjusted before function \p MF
+  /// was called).
+  virtual unsigned getStackAlignmentSkew(const MachineFunction &MF) const;
+
   /// getOffsetOfLocalArea - This method returns the offset of the local area
   /// from the stack pointer on entrance to a function.
   ///