[llvm-commits] CVS: llvm/include/llvm/Target/MRegisterInfo.h

Nate Begeman natebegeman at mac.com
Mon Oct 25 23:00:41 PDT 2004



Changes in directory llvm/include/llvm/Target:

MRegisterInfo.h updated: 1.51 -> 1.52
---
Log message:

Remove method getRegClass from MRegisterInfo, as it is no longer used.


---
Diffs of the changes:  (+0 -9)

Index: llvm/include/llvm/Target/MRegisterInfo.h
diff -u llvm/include/llvm/Target/MRegisterInfo.h:1.51 llvm/include/llvm/Target/MRegisterInfo.h:1.52
--- llvm/include/llvm/Target/MRegisterInfo.h:1.51	Sun Aug 29 16:59:26 2004
+++ llvm/include/llvm/Target/MRegisterInfo.h	Tue Oct 26 01:00:31 2004
@@ -175,15 +175,6 @@
   ///
   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.






More information about the llvm-commits mailing list