mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-10-22 02:37:26 +02:00
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.
This commit is contained in:
@@ -164,6 +164,7 @@ struct IrInterface : IrBase
|
||||
|
||||
LLConstant* vtblInit;
|
||||
LLGlobalVariable* vtbl;
|
||||
Array vtblDecls; // array of FuncDecls that make up the vtbl
|
||||
|
||||
const LLStructType* infoTy;
|
||||
LLConstant* infoInit;
|
||||
|
||||
Reference in New Issue
Block a user