Add method
authorChris Lattner <sabre@nondot.org>
Tue, 29 Oct 2002 23:40:30 +0000 (23:40 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 29 Oct 2002 23:40:30 +0000 (23:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4428 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/MachineFunction.h

index 5e0fa6187c3180b26d11962f6d9604f5ccb6586b..e2af5210d9a88d3ad5ac5969a68950315baae5c7 100644 (file)
@@ -49,6 +49,12 @@ class MachineFunction : private Annotation {
 public:
   MachineFunction(const Function *Fn, const TargetMachine& target);
 
+
+  /// CalculateArgSize - Call this method to fill in the maxOptionalArgsSize &
+  /// staticStackSize fields...
+  ///
+  void CalculateArgSize();
+
   /// getFunction - Return the LLVM function that this machine code represents
   ///
   const Function *getFunction() const { return Fn; }