Mercurial > projects > ldc
diff ir/irstruct.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 | ffcc9a2f3d9d |
line wrap: on
line diff
--- a/ir/irstruct.h Thu Jan 17 03:15:12 2008 +0100 +++ b/ir/irstruct.h Fri Jan 18 16:42:16 2008 +0100 @@ -19,6 +19,8 @@ llvm::ConstantStruct* infoInit; llvm::Constant* info; + int index; + IrInterface(BaseClass* b, const llvm::StructType* vt); ~IrInterface(); }; @@ -60,6 +62,17 @@ bool defined; bool constinited; + + llvm::GlobalVariable* vtbl; + llvm::ConstantStruct* constVtbl; + llvm::GlobalVariable* init; + llvm::Constant* constInit; + llvm::GlobalVariable* classInfo; + llvm::Constant* constClassInfo; + bool hasUnions; + DUnion* dunion; + bool classDeclared; + bool classDefined; }; #endif