mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
[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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user