mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-07 03:16:05 +03:00
LDC 2 compiles again.
This commit is contained in:
parent
6619190ba5
commit
c5be82c5ae
97 changed files with 67333 additions and 56949 deletions
|
@ -171,7 +171,11 @@ void IrTypeClass::addBaseClassData(
|
|||
ArrayIter<BaseClass> it2(*base->vtblInterfaces);
|
||||
|
||||
VarDeclarationIter interfaces_idx(ClassDeclaration::classinfo->fields, 3);
|
||||
#if DMDV2
|
||||
Type* first = interfaces_idx->type->nextOf()->pointerTo();
|
||||
#else
|
||||
Type* first = interfaces_idx->type->next->pointerTo();
|
||||
#endif
|
||||
|
||||
// align offset
|
||||
offset = (offset + PTRSIZE - 1) & ~(PTRSIZE - 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue