mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-10-26 11:47:25 +01:00
[svn r328] Fixed an issue with interfaces where the vtable type of a interface implemented could be invalid. Fixes several tango modules like, FileStream, ServerSocket
and most tina cluster modules :)
This commit is contained in:
+3
-12
@@ -11,13 +11,8 @@ struct IrInterface : IrBase
|
||||
BaseClass* base;
|
||||
ClassDeclaration* decl;
|
||||
|
||||
#if OPAQUE_VTBLS
|
||||
const LLArrayType* vtblTy;
|
||||
LLConstantArray* vtblInit;
|
||||
#else
|
||||
const LLStructType* vtblTy;
|
||||
LLConstantStruct* vtblInit;
|
||||
#endif
|
||||
llvm::PATypeHolder* vtblTy;
|
||||
LLConstant* vtblInit;
|
||||
LLGlobalVariable* vtbl;
|
||||
|
||||
const LLStructType* infoTy;
|
||||
@@ -26,11 +21,7 @@ struct IrInterface : IrBase
|
||||
|
||||
int index;
|
||||
|
||||
#if OPAQUE_VTBLS
|
||||
IrInterface(BaseClass* b, const LLArrayType* vt);
|
||||
#else
|
||||
IrInterface(BaseClass* b, const LLStructType* vt);
|
||||
#endif
|
||||
IrInterface(BaseClass* b);
|
||||
~IrInterface();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user