mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-27 04:18:42 +00:00
Add MRegisterInfo::getNumRegs().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11058 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
1 parent
b180e3e92b
commit
93aa52a8a9
1 file changed
+6
@@ -182,6 +182,12 @@ public:
|
||||
return get(RegNo).Name;
|
||||
}
|
||||
|
||||
/// getNumRegs - Return the number of registers this target has
|
||||
/// (useful for sizing arrays holding per register information)
|
||||
unsigned getNumRegs() const {
|
||||
return NumRegs;
|
||||
}
|
||||
|
||||
virtual const unsigned* getCalleeSaveRegs() const = 0;
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user