summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-10-29 23:40:30 +0000
committerChris Lattner <sabre@nondot.org>2002-10-29 23:40:30 +0000
commit8815c79ea4df2c5792dd7c44349710d73831f051 (patch)
tree7050c8ca38b509bd7065efc451fc660bfd6494af /include
parent88726188fe9a3e30ec9bdd9f2449905c0d8cedcf (diff)
downloadllvm-8815c79ea4df2c5792dd7c44349710d73831f051.tar.gz
llvm-8815c79ea4df2c5792dd7c44349710d73831f051.tar.bz2
llvm-8815c79ea4df2c5792dd7c44349710d73831f051.tar.xz
Add method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4428 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/MachineFunction.h6
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; }