mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-16 12:53:14 +01:00
Remove DMDV1 and DMDV2.
This commit is contained in:
@@ -67,11 +67,9 @@ LLGlobalVariable * IrStruct::getInitSymbol()
|
||||
|
||||
// set alignment
|
||||
init->setAlignment(type->alignsize());
|
||||
#if DMDV2
|
||||
StructDeclaration *sd = aggrdecl->isStructDeclaration();
|
||||
if (sd && sd->alignment != STRUCTALIGN_DEFAULT)
|
||||
init->setAlignment(sd->alignment);
|
||||
#endif
|
||||
|
||||
return init;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user