[svn r141] fixed more problems with classinfo

moved more IR state out of the AST classes
This commit is contained in:
Tomas Lindquist Olsen
2008-01-18 16:42:16 +01:00
parent 5652546986
commit 17247d63e7
18 changed files with 311 additions and 267 deletions
+3 -13
View File
@@ -101,20 +101,10 @@ struct AggregateDeclaration : ScopeDsymbol
Symbol *sinit;
Symbol *toInitializer();
bool llvmInProgress;
llvm::GlobalVariable* llvmVtbl;
llvm::ConstantStruct* llvmConstVtbl;
llvm::GlobalVariable* llvmInit;
llvm::Constant* llvmConstInit;
llvm::GlobalVariable* llvmClass;
llvm::Constant* llvmConstClass;
bool llvmHasUnions;
DUnion* llvmUnion;
IrStruct* llvmIrStruct;
bool llvmClassDeclared;
bool llvmClassDefined;
AggregateDeclaration *isAggregateDeclaration() { return this; }
// llvmdc
IrStruct* irStruct;
};
struct AnonymousAggregateDeclaration : AggregateDeclaration