mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
[svn r209] Fixed: exotic array to pointer casts were broken.
Changed: classes now have opaque vtables.
This commit is contained in:
@@ -4,7 +4,11 @@
|
||||
#include "ir/irstruct.h"
|
||||
#include "gen/irstate.h"
|
||||
|
||||
#if OPAQUE_VTBLS
|
||||
IrInterface::IrInterface(BaseClass* b, const llvm::ArrayType* vt)
|
||||
#else
|
||||
IrInterface::IrInterface(BaseClass* b, const llvm::StructType* vt)
|
||||
#endif
|
||||
{
|
||||
base = b;
|
||||
decl = b->base;
|
||||
|
||||
Reference in New Issue
Block a user