mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
Delete member MipsFunctionInfo::OutArgFIRange and code that accesses it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164718 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -45,9 +45,7 @@ class MipsFunctionInfo : public MachineFunctionInfo {
|
||||
// Range of frame object indices.
|
||||
// InArgFIRange: Range of indices of all frame objects created during call to
|
||||
// LowerFormalArguments.
|
||||
// OutArgFIRange: Range of indices of all frame objects created during call to
|
||||
// LowerCall except for the frame object for restoring $gp.
|
||||
std::pair<int, int> InArgFIRange, OutArgFIRange;
|
||||
std::pair<int, int> InArgFIRange;
|
||||
unsigned MaxCallFrameSize;
|
||||
|
||||
bool EmitNOAT;
|
||||
@@ -56,7 +54,7 @@ public:
|
||||
MipsFunctionInfo(MachineFunction& MF)
|
||||
: MF(MF), SRetReturnReg(0), GlobalBaseReg(0),
|
||||
VarArgsFrameIndex(0), InArgFIRange(std::make_pair(-1, 0)),
|
||||
OutArgFIRange(std::make_pair(-1, 0)), MaxCallFrameSize(0), EmitNOAT(false)
|
||||
MaxCallFrameSize(0), EmitNOAT(false)
|
||||
{}
|
||||
|
||||
bool isInArgFI(int FI) const {
|
||||
@@ -64,16 +62,6 @@ public:
|
||||
}
|
||||
void setLastInArgFI(int FI) { InArgFIRange.second = FI; }
|
||||
|
||||
bool isOutArgFI(int FI) const {
|
||||
return FI <= OutArgFIRange.first && FI >= OutArgFIRange.second;
|
||||
}
|
||||
void extendOutArgFIRange(int FirstFI, int LastFI) {
|
||||
if (!OutArgFIRange.second)
|
||||
// this must be the first time this function was called.
|
||||
OutArgFIRange.first = FirstFI;
|
||||
OutArgFIRange.second = LastFI;
|
||||
}
|
||||
|
||||
unsigned getSRetReturnReg() const { return SRetReturnReg; }
|
||||
void setSRetReturnReg(unsigned Reg) { SRetReturnReg = Reg; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user