Eliminate duplicate target pointer in SparcRegInfo.
llvm-svn: 4129
This commit is contained in:
parent
879eac9fa1
commit
d00beecb59
|
@ -250,10 +250,6 @@ class UltraSparcRegInfo : public MachineRegInfo {
|
||||||
// order for efficiency.
|
// order for efficiency.
|
||||||
|
|
||||||
|
|
||||||
// reverse pointer to get info about the ultra sparc machine
|
|
||||||
//
|
|
||||||
const UltraSparc *const UltraSparcInfo;
|
|
||||||
|
|
||||||
// Number of registers used for passing int args (usually 6: %o0 - %o5)
|
// Number of registers used for passing int args (usually 6: %o0 - %o5)
|
||||||
//
|
//
|
||||||
unsigned const NumOfIntArgRegs;
|
unsigned const NumOfIntArgRegs;
|
||||||
|
@ -329,13 +325,6 @@ class UltraSparcRegInfo : public MachineRegInfo {
|
||||||
public:
|
public:
|
||||||
UltraSparcRegInfo(const UltraSparc &tgt);
|
UltraSparcRegInfo(const UltraSparc &tgt);
|
||||||
|
|
||||||
// To get complete machine information structure using the machine register
|
|
||||||
// information
|
|
||||||
//
|
|
||||||
inline const UltraSparc &getUltraSparcInfo() const {
|
|
||||||
return *UltraSparcInfo;
|
|
||||||
}
|
|
||||||
|
|
||||||
// To find the register class used for a specified Type
|
// To find the register class used for a specified Type
|
||||||
//
|
//
|
||||||
unsigned getRegClassIDOfType(const Type *type,
|
unsigned getRegClassIDOfType(const Type *type,
|
||||||
|
|
Loading…
Reference in New Issue