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:
Alkis Evlogimenos 2004-02-13 18:07:06 +00:00
parent 4b2b684b9f
commit 87af94b291

View File

@ -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