Remove dead methods

llvm-svn: 15691
This commit is contained in:
Chris Lattner 2004-08-12 17:58:27 +00:00
parent e843032834
commit b0ac422db5
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(); }