From: Chris Lattner Date: Fri, 30 Sep 2005 04:13:23 +0000 (+0000) Subject: Now that self referential classes are supported, get rid of a work-around. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=ef242b1cccb47b0d2f4f5acde18143712ccc79d3;p=oota-llvm.git Now that self referential classes are supported, get rid of a work-around. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23544 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Target.td b/lib/Target/Target.td index fc79f592047..8ef76a611c8 100644 --- a/lib/Target/Target.td +++ b/lib/Target/Target.td @@ -46,7 +46,7 @@ def isVoid : ValueType<0 , 12>; // Produces no value // Register - You should define one instance of this class for each register // in the target machine. String n will become the "name" of the register. -class RegisterBase { +class Register { string Namespace = ""; string Name = n; @@ -60,10 +60,12 @@ class RegisterBase { // spilling the register. Like SpillSize, this should only be explicitly // specified if the register is not in a register class. int SpillAlignment = 0; -} -class Register : RegisterBase { - list Aliases = []; + // Aliases - A list of registers that this register overlaps with. A read or + // modification of this register can potentially read or modifie the aliased + // registers. + // + list Aliases = []; } // RegisterGroup - This can be used to define instances of Register which