aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorVikram S. Adve <vadve@cs.uiuc.edu>2002-10-13 00:06:04 +0000
committerVikram S. Adve <vadve@cs.uiuc.edu>2002-10-13 00:06:04 +0000
commit04ef49985b83210666c44803ba56491a4f5293fc (patch)
tree148ab4fc3c237b6ff63c5064874aee969292fafd /lib
parentc654c784f6cbb164b4cef77e2917934c4a4c9307 (diff)
downloadexternal_llvm-04ef49985b83210666c44803ba56491a4f5293fc.zip
external_llvm-04ef49985b83210666c44803ba56491a4f5293fc.tar.gz
external_llvm-04ef49985b83210666c44803ba56491a4f5293fc.tar.bz2
Eliminate duplicate target pointer in SparcRegInfo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4129 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/SparcV9/SparcV9Internals.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/Target/SparcV9/SparcV9Internals.h b/lib/Target/SparcV9/SparcV9Internals.h
index b21951d..2399a1e 100644
--- a/lib/Target/SparcV9/SparcV9Internals.h
+++ b/lib/Target/SparcV9/SparcV9Internals.h
@@ -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,