Eliminate duplicate target pointer in SparcRegInfo.
authorVikram S. Adve <vadve@cs.uiuc.edu>
Sun, 13 Oct 2002 00:06:04 +0000 (00:06 +0000)
committerVikram S. Adve <vadve@cs.uiuc.edu>
Sun, 13 Oct 2002 00:06:04 +0000 (00:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4129 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/SparcV9/SparcV9Internals.h

index b21951d7f7b22bee1b75686b80a19c5885487d6b..2399a1e68b3971c6873eb6e48845c5f9fa90d040 100644 (file)
@@ -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,