[llvm-commits] CVS: llvm/lib/Target/Sparc/SparcInternals.h

Vikram Adve vadve at cs.uiuc.edu
Sat Oct 12 19:07:01 PDT 2002


Changes in directory llvm/lib/Target/Sparc:

SparcInternals.h updated: 1.66 -> 1.67

---
Log message:

Eliminate duplicate target pointer in SparcRegInfo.


---
Diffs of the changes:

Index: llvm/lib/Target/Sparc/SparcInternals.h
diff -u llvm/lib/Target/Sparc/SparcInternals.h:1.66 llvm/lib/Target/Sparc/SparcInternals.h:1.67
--- llvm/lib/Target/Sparc/SparcInternals.h:1.66	Sat Sep 28 11:56:39 2002
+++ llvm/lib/Target/Sparc/SparcInternals.h	Sat Oct 12 19:06:04 2002
@@ -250,10 +250,6 @@
   // 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;
@@ -328,13 +324,6 @@
   
 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
   //





More information about the llvm-commits mailing list