Require that targets specify a namespace for their register classes.

llvm-svn: 22921
This commit is contained in:
Chris Lattner 2005-08-19 18:48:48 +00:00
parent 74f60c306d
commit 3fb85f2702
1 changed files with 4 additions and 1 deletions

View File

@ -79,7 +79,10 @@ class RegisterGroup<string n, list<Register> aliases> : Register<n> {
// register classes. This also defines the default allocation order of
// registers by register allocators.
//
class RegisterClass<ValueType regType, int alignment, list<Register> regList> {
class RegisterClass<string namespace, ValueType regType, int alignment,
list<Register> regList> {
string Namespace = namespace;
// RegType - Specify the ValueType of the registers in this register class.
// Note that all registers in a register class must have the same ValueType.
//