forked from OSchip/llvm-project
Remove method getRegClass from MRegisterInfo, as it is no longer used.
llvm-svn: 17243
This commit is contained in:
parent
e7d8dff1f7
commit
f94bedc26a
|
@ -175,15 +175,6 @@ public:
|
||||||
///
|
///
|
||||||
const MRegisterDesc &get(unsigned RegNo) const { return operator[](RegNo); }
|
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
|
/// getAliasSet - Return the set of registers aliased by the specified
|
||||||
/// register, or a null list of there are none. The list returned is zero
|
/// register, or a null list of there are none. The list returned is zero
|
||||||
/// terminated.
|
/// terminated.
|
||||||
|
|
Loading…
Reference in New Issue