forked from OSchip/llvm-project
parent
0f7e786a6b
commit
a0d572707a
|
@ -39,6 +39,7 @@ class SSARegMap {
|
|||
/// function with the specified register class.
|
||||
///
|
||||
unsigned createVirtualRegister(const TargetRegisterClass *RegClass) {
|
||||
assert(RegClass && "Cannot create register without RegClass!");
|
||||
RegClassMap.grow(NextRegNum);
|
||||
RegClassMap[NextRegNum] = RegClass;
|
||||
return NextRegNum++;
|
||||
|
|
Loading…
Reference in New Issue