comparison 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
comparison
equal deleted inserted replaced
805:1b23aa1fb1b5 806:96b404ba7eb0
162 162
163 llvm::PATypeHolder vtblInitTy; 163 llvm::PATypeHolder vtblInitTy;
164 164
165 LLConstant* vtblInit; 165 LLConstant* vtblInit;
166 LLGlobalVariable* vtbl; 166 LLGlobalVariable* vtbl;
167 Array vtblDecls; // array of FuncDecls that make up the vtbl
167 168
168 const LLStructType* infoTy; 169 const LLStructType* infoTy;
169 LLConstant* infoInit; 170 LLConstant* infoInit;
170 LLConstant* info; 171 LLConstant* info;
171 172