mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-06 15:03:13 +01:00
[svn r209] Fixed: exotic array to pointer casts were broken.
Changed: classes now have opaque vtables.
This commit is contained in:
@@ -21,7 +21,9 @@ IrType::IrType(const IrType& s)
|
||||
{
|
||||
assert(list.insert(this).second);
|
||||
type = s.type;
|
||||
#if OPAQUE_VTBLS
|
||||
vtblType = s.type;
|
||||
#endif
|
||||
}
|
||||
|
||||
IrType::~IrType()
|
||||
@@ -32,5 +34,7 @@ IrType::~IrType()
|
||||
void IrType::reset()
|
||||
{
|
||||
type = NULL;
|
||||
#if OPAQUE_VTBLS
|
||||
vtblType = NULL;
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user