diff options
author | Chris Lattner <sabre@nondot.org> | 2002-10-29 23:40:30 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-10-29 23:40:30 +0000 |
commit | 8815c79ea4df2c5792dd7c44349710d73831f051 (patch) | |
tree | 7050c8ca38b509bd7065efc451fc660bfd6494af /include/llvm/CodeGen/MachineFunction.h | |
parent | 88726188fe9a3e30ec9bdd9f2449905c0d8cedcf (diff) |
Add method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4428 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineFunction.h')
-rw-r--r-- | include/llvm/CodeGen/MachineFunction.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/MachineFunction.h b/include/llvm/CodeGen/MachineFunction.h index 5e0fa6187c..e2af5210d9 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; } |