Mercurial > projects > ldc
comparison dmd/aggregate.h @ 137:ce7b81fb957f trunk
[svn r141] fixed more problems with classinfo
moved more IR state out of the AST classes
author | lindquist |
---|---|
date | Fri, 18 Jan 2008 16:42:16 +0100 |
parents | 0e28624814e8 |
children | ccd07d9f2ce9 |
comparison
equal
deleted
inserted
replaced
136:0e28624814e8 | 137:ce7b81fb957f |
---|---|
99 // Back end | 99 // Back end |
100 Symbol *stag; // tag symbol for debug data | 100 Symbol *stag; // tag symbol for debug data |
101 Symbol *sinit; | 101 Symbol *sinit; |
102 Symbol *toInitializer(); | 102 Symbol *toInitializer(); |
103 | 103 |
104 bool llvmInProgress; | |
105 llvm::GlobalVariable* llvmVtbl; | |
106 llvm::ConstantStruct* llvmConstVtbl; | |
107 llvm::GlobalVariable* llvmInit; | |
108 llvm::Constant* llvmConstInit; | |
109 llvm::GlobalVariable* llvmClass; | |
110 llvm::Constant* llvmConstClass; | |
111 bool llvmHasUnions; | |
112 DUnion* llvmUnion; | |
113 IrStruct* llvmIrStruct; | |
114 bool llvmClassDeclared; | |
115 bool llvmClassDefined; | |
116 | |
117 AggregateDeclaration *isAggregateDeclaration() { return this; } | 104 AggregateDeclaration *isAggregateDeclaration() { return this; } |
105 | |
106 // llvmdc | |
107 IrStruct* irStruct; | |
118 }; | 108 }; |
119 | 109 |
120 struct AnonymousAggregateDeclaration : AggregateDeclaration | 110 struct AnonymousAggregateDeclaration : AggregateDeclaration |
121 { | 111 { |
122 AnonymousAggregateDeclaration() | 112 AnonymousAggregateDeclaration() |