diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2012-11-07 19:04:26 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2012-11-07 19:04:26 +0000 |
commit | 7085221a593ac5cb2478a4f81e0f7212616a9afb (patch) | |
tree | 2bbac444c8ed1fd588738fcd182ff7286f297ed5 /lib/Target/Mips/MipsMachineFunction.h | |
parent | 162d91c1e0bf5c14e2838dd623b3e054e7537de6 (diff) | |
download | external_llvm-7085221a593ac5cb2478a4f81e0f7212616a9afb.zip external_llvm-7085221a593ac5cb2478a4f81e0f7212616a9afb.tar.gz external_llvm-7085221a593ac5cb2478a4f81e0f7212616a9afb.tar.bz2 |
Delete MipsFunctionInfo::NextStackOffset. No functionality change intended.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167546 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsMachineFunction.h')
-rw-r--r-- | lib/Target/Mips/MipsMachineFunction.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/lib/Target/Mips/MipsMachineFunction.h b/lib/Target/Mips/MipsMachineFunction.h index d2eba58..bb45f92 100644 --- a/lib/Target/Mips/MipsMachineFunction.h +++ b/lib/Target/Mips/MipsMachineFunction.h @@ -47,11 +47,10 @@ class MipsFunctionInfo : public MachineFunctionInfo { /// VarArgsFrameIndex - FrameIndex for start of varargs area. int VarArgsFrameIndex; - // Formal argument information obtained during call to LowerFormalArguments. - unsigned NextStackOffset; + /// True if function has a byval argument. bool HasByvalArg; - // Size of incoming argument area. + /// Size of incoming argument area. unsigned IncomingArgSize; public: @@ -72,15 +71,13 @@ public: int getVarArgsFrameIndex() const { return VarArgsFrameIndex; } void setVarArgsFrameIndex(int Index) { VarArgsFrameIndex = Index; } - unsigned nextStackOffset() const { return NextStackOffset; } bool hasByvalArg() const { return HasByvalArg; } - void setFormalArgInfo(unsigned Offset, bool HasByval) { - NextStackOffset = Offset; + void setFormalArgInfo(unsigned Size, bool HasByval) { + IncomingArgSize = Size; HasByvalArg = HasByval; } unsigned getIncomingArgSize() const { return IncomingArgSize; } - void setIncomingArgSize(unsigned S) { IncomingArgSize = S; } }; } // end of namespace llvm |