mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-25 12:49:50 +00:00
Delete MipsFunctionInfo::InArgFIRange.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166837 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a5a3a61c5f
commit
3649255e14
@ -3459,8 +3459,6 @@ MipsTargetLowering::LowerFormalArguments(SDValue Chain,
|
||||
}
|
||||
}
|
||||
|
||||
MipsFI->setLastInArgFI(LastFI);
|
||||
|
||||
// All stores are grouped in one node to allow the matching between
|
||||
// the size of Ins and InVals. This only happens when on varg functions
|
||||
if (!OutChains.empty()) {
|
||||
|
@ -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; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user