diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2012-10-26 23:49:51 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2012-10-26 23:49:51 +0000 |
commit | 3649255e14e369aa70bf1122cd5b0e1a92431662 (patch) | |
tree | b19f82a5a9d46c1eee48bbc07e43e10f96eca30a /lib/Target/Mips/MipsMachineFunction.h | |
parent | a5a3a61c5fdcee972791d4e08441ba6edf131b88 (diff) | |
download | external_llvm-3649255e14e369aa70bf1122cd5b0e1a92431662.zip external_llvm-3649255e14e369aa70bf1122cd5b0e1a92431662.tar.gz external_llvm-3649255e14e369aa70bf1122cd5b0e1a92431662.tar.bz2 |
Delete MipsFunctionInfo::InArgFIRange.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166837 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsMachineFunction.h')
-rw-r--r-- | lib/Target/Mips/MipsMachineFunction.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/lib/Target/Mips/MipsMachineFunction.h b/lib/Target/Mips/MipsMachineFunction.h index 5b766f2..b05f618 100644 --- a/lib/Target/Mips/MipsMachineFunction.h +++ b/lib/Target/Mips/MipsMachineFunction.h @@ -42,24 +42,14 @@ class MipsFunctionInfo : public MachineFunctionInfo { /// VarArgsFrameIndex - FrameIndex for start of varargs area. int VarArgsFrameIndex; - // Range of frame object indices. - // InArgFIRange: Range of indices of all frame objects created during call to - // LowerFormalArguments. - std::pair<int, int> InArgFIRange; - bool EmitNOAT; public: MipsFunctionInfo(MachineFunction& MF) : MF(MF), SRetReturnReg(0), GlobalBaseReg(0), - VarArgsFrameIndex(0), InArgFIRange(std::make_pair(-1, 0)), EmitNOAT(false) + VarArgsFrameIndex(0), EmitNOAT(false) {} - bool isInArgFI(int FI) const { - return FI <= InArgFIRange.first && FI >= InArgFIRange.second; - } - void setLastInArgFI(int FI) { InArgFIRange.second = FI; } - unsigned getSRetReturnReg() const { return SRetReturnReg; } void setSRetReturnReg(unsigned Reg) { SRetReturnReg = Reg; } |