From 8815c79ea4df2c5792dd7c44349710d73831f051 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 29 Oct 2002 23:40:30 +0000 Subject: [PATCH] Add method git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4428 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/MachineFunction.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/llvm/CodeGen/MachineFunction.h b/include/llvm/CodeGen/MachineFunction.h index 5e0fa6187c3..e2af5210d9a 100644 --- a/include/llvm/CodeGen/MachineFunction.h +++ b/include/llvm/CodeGen/MachineFunction.h @@ -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; } -- 2.34.1