mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 06:30:16 +00:00
Require that targets specify a namespace for their register classes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22921 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
42de581b2f
commit
1ff9540c17
@ -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.
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user