mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 06:32:09 +00:00
Add getNumVirtualRegs().
Whitespace cleanups. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11388 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4b2b684b9f
commit
87af94b291
@ -44,6 +44,10 @@ class SSARegMap {
|
||||
RegClassMap.push_back(RegClass);
|
||||
return RegClassMap.size()+MRegisterInfo::FirstVirtualRegister-1;
|
||||
}
|
||||
|
||||
unsigned getNumVirtualRegs() const {
|
||||
return RegClassMap.size();
|
||||
}
|
||||
};
|
||||
|
||||
} // End llvm namespace
|
||||
|
Loading…
x
Reference in New Issue
Block a user