Delete MipsFunctionInfo::NextStackOffset. No functionality change intended.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167546 91177308-0d34-0410-b5e6-96231b3b80d8
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 @@
/// 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 @@
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