Add method

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4428 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-10-29 23:40:30 +00:00
parent 88726188fe
commit 8815c79ea4

View 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; }