Mercurial > projects > ldc
diff ir/irstruct.cpp @ 193:aca17e55b7a5 trunk
[svn r209] Fixed: exotic array to pointer casts were broken.
Changed: classes now have opaque vtables.
author | lindquist |
---|---|
date | Mon, 12 May 2008 18:44:11 +0200 |
parents | db9890b3fb64 |
children | e3355ce5444b |
line wrap: on
line diff
--- a/ir/irstruct.cpp Mon May 12 18:22:55 2008 +0200 +++ b/ir/irstruct.cpp Mon May 12 18:44:11 2008 +0200 @@ -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;