mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
[svn r141] fixed more problems with classinfo
moved more IR state out of the AST classes
This commit is contained in:
@@ -13,6 +13,8 @@ IrInterface::IrInterface(BaseClass* b, const llvm::StructType* vt)
|
||||
infoTy = NULL;
|
||||
infoInit = NULL;
|
||||
info = NULL;
|
||||
|
||||
index = -1;
|
||||
}
|
||||
|
||||
IrInterface::~IrInterface()
|
||||
@@ -31,6 +33,18 @@ IrStruct::IrStruct(Type* t)
|
||||
constinited = false;
|
||||
interfaceInfosTy = NULL;
|
||||
interfaceInfos = NULL;
|
||||
|
||||
vtbl = NULL;
|
||||
constVtbl = NULL;
|
||||
init = NULL;
|
||||
constInit = NULL;
|
||||
classInfo = NULL;
|
||||
constClassInfo = NULL;
|
||||
hasUnions = false;
|
||||
dunion = NULL;
|
||||
|
||||
classDeclared = false;
|
||||
classDefined = false;
|
||||
}
|
||||
|
||||
IrStruct::~IrStruct()
|
||||
|
||||
Reference in New Issue
Block a user