forked from OSchip/llvm-project
parent
e843032834
commit
b0ac422db5
|
@ -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