Mercurial > projects > ldc
diff ir/irstruct.cpp @ 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 | 5c17f81fc1c1 |
line wrap: on
line diff
--- a/ir/irstruct.cpp Thu Jan 17 03:15:12 2008 +0100 +++ b/ir/irstruct.cpp Fri Jan 18 16:42:16 2008 +0100 @@ -13,6 +13,8 @@ infoTy = NULL; infoInit = NULL; info = NULL; + + index = -1; } IrInterface::~IrInterface() @@ -31,6 +33,18 @@ 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()