diff ir/irstruct.h @ 806:96b404ba7eb0

Move storage of final vtbl from BaseClass to IrInterface: BaseClass instances are shared! Always use the target's irstruct interfaceMap when building the const initializer. Tango helloworld works again.
author Christian Kamm <kamm incasoftware de>
date Sun, 30 Nov 2008 11:25:40 +0100
parents 28ce72c60a21
children 7d16ce7ad19d
line wrap: on
line diff
--- a/ir/irstruct.h	Sat Nov 29 23:39:04 2008 +0100
+++ b/ir/irstruct.h	Sun Nov 30 11:25:40 2008 +0100
@@ -164,6 +164,7 @@
 
     LLConstant* vtblInit;
     LLGlobalVariable* vtbl;
+    Array vtblDecls; // array of FuncDecls that make up the vtbl
 
     const LLStructType* infoTy;
     LLConstant* infoInit;