mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-05 03:46:27 +00:00
Eliminate duplicate target pointer in SparcRegInfo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4129 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c654c784f6
commit
04ef49985b
@ -250,10 +250,6 @@ class UltraSparcRegInfo : public MachineRegInfo {
|
||||
// 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)
|
||||
//
|
||||
unsigned const NumOfIntArgRegs;
|
||||
@ -329,13 +325,6 @@ class UltraSparcRegInfo : public MachineRegInfo {
|
||||
public:
|
||||
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
|
||||
//
|
||||
unsigned getRegClassIDOfType(const Type *type,
|
||||
|
Loading…
x
Reference in New Issue
Block a user