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:
Chris Lattner 2004-08-12 17:58:27 +00:00
parent 6845dfe07e
commit 484577a870
3 changed files with 0 additions and 45 deletions

View File

@ -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

View File

@ -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());

View File

@ -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(); }