mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-30 07:00:57 +00:00
Remove dead methods
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15691 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6845dfe07e
commit
484577a870
@ -95,17 +95,6 @@ public:
|
||||
bool& growUp) const;
|
||||
virtual int getDynamicAreaOffset (MachineFunction& mcInfo,
|
||||
bool& growUp) const;
|
||||
|
||||
//
|
||||
// These methods specify the base register used for each stack area
|
||||
// (generally FP or SP)
|
||||
//
|
||||
virtual int getIncomingArgBaseRegNum() const;
|
||||
virtual int getOutgoingArgBaseRegNum() const;
|
||||
virtual int getOptionalOutgoingArgBaseRegNum() const;
|
||||
virtual int getAutomaticVarBaseRegNum() const;
|
||||
virtual int getRegSpillAreaBaseRegNum() const;
|
||||
virtual int getDynamicAreaBaseRegNum() const;
|
||||
};
|
||||
|
||||
} // End llvm namespace
|
||||
|
@ -67,29 +67,6 @@ public:
|
||||
int getTmpAreaOffset(MachineFunction& mcInfo, bool& growUp) const;
|
||||
int getDynamicAreaOffset(MachineFunction& mcInfo, bool& growUp) const;
|
||||
|
||||
//
|
||||
// These methods specify the base register used for each stack area
|
||||
// (generally FP or SP)
|
||||
//
|
||||
virtual int getIncomingArgBaseRegNum() const {
|
||||
return (int) target.getRegInfo()->getFramePointer();
|
||||
}
|
||||
virtual int getOutgoingArgBaseRegNum() const {
|
||||
return (int) target.getRegInfo()->getStackPointer();
|
||||
}
|
||||
virtual int getOptionalOutgoingArgBaseRegNum() const {
|
||||
return (int) target.getRegInfo()->getStackPointer();
|
||||
}
|
||||
virtual int getAutomaticVarBaseRegNum() const {
|
||||
return (int) target.getRegInfo()->getFramePointer();
|
||||
}
|
||||
virtual int getRegSpillAreaBaseRegNum() const {
|
||||
return (int) target.getRegInfo()->getFramePointer();
|
||||
}
|
||||
virtual int getDynamicAreaBaseRegNum() const {
|
||||
return (int) target.getRegInfo()->getStackPointer();
|
||||
}
|
||||
|
||||
virtual int getIncomingArgOffset(MachineFunction& mcInfo,
|
||||
unsigned argNum) const {
|
||||
assert(argsOnStackHaveFixedSize());
|
||||
|
@ -73,14 +73,3 @@ int
|
||||
TargetFrameInfo::getDynamicAreaOffset(MachineFunction& mcInfo, bool& growUp)
|
||||
const { abort(); }
|
||||
|
||||
//
|
||||
// These methods specify the base register used for each stack area
|
||||
// (generally FP or SP)
|
||||
//
|
||||
int TargetFrameInfo::getIncomingArgBaseRegNum() const { abort(); }
|
||||
int TargetFrameInfo::getOutgoingArgBaseRegNum() const { abort(); }
|
||||
int TargetFrameInfo::getOptionalOutgoingArgBaseRegNum() const {abort();}
|
||||
int TargetFrameInfo::getAutomaticVarBaseRegNum() const { abort(); }
|
||||
int TargetFrameInfo::getRegSpillAreaBaseRegNum() const { abort(); }
|
||||
int TargetFrameInfo::getDynamicAreaBaseRegNum() const { abort(); }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user