aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/Mips/MipsMachineFunction.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/Mips/MipsMachineFunction.h')
-rw-r--r--lib/Target/Mips/MipsMachineFunction.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/Target/Mips/MipsMachineFunction.h b/lib/Target/Mips/MipsMachineFunction.h
index be27606ed8..bc30b6b242 100644
--- a/lib/Target/Mips/MipsMachineFunction.h
+++ b/lib/Target/Mips/MipsMachineFunction.h
@@ -51,16 +51,12 @@ private:
mutable int DynAllocFI; // Frame index of dynamically allocated stack area.
unsigned MaxCallFrameSize;
- // Size of area on callee's stack frame which is used to save va_arg or
- // byval arguments passed in registers.
- unsigned RegSaveAreaSize;
-
public:
MipsFunctionInfo(MachineFunction& MF)
: MF(MF), SRetReturnReg(0), GlobalBaseReg(0),
VarArgsFrameIndex(0), InArgFIRange(std::make_pair(-1, 0)),
OutArgFIRange(std::make_pair(-1, 0)), GPFI(0), DynAllocFI(0),
- MaxCallFrameSize(0), RegSaveAreaSize(0)
+ MaxCallFrameSize(0)
{}
bool isInArgFI(int FI) const {
@@ -104,11 +100,6 @@ public:
unsigned getMaxCallFrameSize() const { return MaxCallFrameSize; }
void setMaxCallFrameSize(unsigned S) { MaxCallFrameSize = S; }
-
- unsigned getRegSaveAreaSize() const { return RegSaveAreaSize; }
- void setRegSaveAreaSize(unsigned S) {
- if (RegSaveAreaSize < S) RegSaveAreaSize = S;
- }
};
} // end of namespace llvm