From: Chris Lattner Date: Tue, 29 Oct 2002 23:40:30 +0000 (+0000) Subject: Add method X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8815c79ea4df2c5792dd7c44349710d73831f051;p=oota-llvm.git Add method git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4428 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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; }