Remove method getRegClass from MRegisterInfo, as it is no longer used.
authorNate Begeman <natebegeman@mac.com>
Tue, 26 Oct 2004 06:00:31 +0000 (06:00 +0000)
committerNate Begeman <natebegeman@mac.com>
Tue, 26 Oct 2004 06:00:31 +0000 (06:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17243 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/MRegisterInfo.h

index 03797c7428b987a66c47b5659706587011f208dd..3e40b7a10ac35bde554562838b62af63a64bfc70 100644 (file)
@@ -175,15 +175,6 @@ public:
   ///
   const MRegisterDesc &get(unsigned RegNo) const { return operator[](RegNo); }
 
-  /// getRegClass - Return the register class for the specified physical
-  /// register.
-  ///
-  const TargetRegisterClass *getRegClass(unsigned RegNo) const {
-    assert(RegNo < NumRegs && "Register number out of range!");
-    assert(PhysRegClasses[RegNo] && "Register is not in a class!");
-    return PhysRegClasses[RegNo];
-  }
-
   /// getAliasSet - Return the set of registers aliased by the specified
   /// register, or a null list of there are none.  The list returned is zero
   /// terminated.