diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2012-11-02 21:03:58 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2012-11-02 21:03:58 +0000 |
commit | 294166d541fd634fea09fb1fe48457536ef43ed0 (patch) | |
tree | 05e8fdcd3059757f35a3fd56c926d7c215eae237 /lib/Target/Mips/MipsMachineFunction.h | |
parent | 322ff8834532915a4de0210a083672008d6499b6 (diff) | |
download | external_llvm-294166d541fd634fea09fb1fe48457536ef43ed0.zip external_llvm-294166d541fd634fea09fb1fe48457536ef43ed0.tar.gz external_llvm-294166d541fd634fea09fb1fe48457536ef43ed0.tar.bz2 |
[mips] Add member field MipsFunctionInfo::IncomingArgSize which holds the size
of the incoming argument area.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167312 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsMachineFunction.h')
-rw-r--r-- | lib/Target/Mips/MipsMachineFunction.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Target/Mips/MipsMachineFunction.h b/lib/Target/Mips/MipsMachineFunction.h index 1b3e0a3..d2eba58 100644 --- a/lib/Target/Mips/MipsMachineFunction.h +++ b/lib/Target/Mips/MipsMachineFunction.h @@ -51,6 +51,9 @@ class MipsFunctionInfo : public MachineFunctionInfo { unsigned NextStackOffset; bool HasByvalArg; + // Size of incoming argument area. + unsigned IncomingArgSize; + public: MipsFunctionInfo(MachineFunction& MF) : MF(MF), SRetReturnReg(0), GlobalBaseReg(0), Mips16SPAliasReg(0), @@ -75,6 +78,9 @@ public: NextStackOffset = Offset; HasByvalArg = HasByval; } + + unsigned getIncomingArgSize() const { return IncomingArgSize; } + void setIncomingArgSize(unsigned S) { IncomingArgSize = S; } }; } // end of namespace llvm |