Mercurial > projects > ldc
comparison dmd/aggregate.h @ 156:ccd07d9f2ce9 trunk
[svn r172] moving all IR state previously stored in Dsymbol into IrDsymbol and a Dsymbol->IrDsymbol map
author | ChristianK |
---|---|
date | Thu, 01 May 2008 13:05:53 +0200 |
parents | ce7b81fb957f |
children | 5acec6b2eef8 |
comparison
equal
deleted
inserted
replaced
155:7f92f477ff53 | 156:ccd07d9f2ce9 |
---|---|
43 class Value; | 43 class Value; |
44 class Constant; | 44 class Constant; |
45 class ConstantStruct; | 45 class ConstantStruct; |
46 class GlobalVariable; | 46 class GlobalVariable; |
47 } | 47 } |
48 struct IrStruct; | |
49 struct DUnion; | 48 struct DUnion; |
50 | 49 |
51 struct AggregateDeclaration : ScopeDsymbol | 50 struct AggregateDeclaration : ScopeDsymbol |
52 { | 51 { |
53 Type *type; | 52 Type *type; |
100 Symbol *stag; // tag symbol for debug data | 99 Symbol *stag; // tag symbol for debug data |
101 Symbol *sinit; | 100 Symbol *sinit; |
102 Symbol *toInitializer(); | 101 Symbol *toInitializer(); |
103 | 102 |
104 AggregateDeclaration *isAggregateDeclaration() { return this; } | 103 AggregateDeclaration *isAggregateDeclaration() { return this; } |
105 | |
106 // llvmdc | |
107 IrStruct* irStruct; | |
108 }; | 104 }; |
109 | 105 |
110 struct AnonymousAggregateDeclaration : AggregateDeclaration | 106 struct AnonymousAggregateDeclaration : AggregateDeclaration |
111 { | 107 { |
112 AnonymousAggregateDeclaration() | 108 AnonymousAggregateDeclaration() |