From 04ef49985b83210666c44803ba56491a4f5293fc Mon Sep 17 00:00:00 2001 From: "Vikram S. Adve" Date: Sun, 13 Oct 2002 00:06:04 +0000 Subject: [PATCH] Eliminate duplicate target pointer in SparcRegInfo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4129 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/SparcV9/SparcV9Internals.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/lib/Target/SparcV9/SparcV9Internals.h b/lib/Target/SparcV9/SparcV9Internals.h index b21951d7f7b..2399a1e68b3 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,