mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
Fixed previous aggregate initZ alignment.
Added missing IrType::isDelegate method.
This commit is contained in:
@@ -61,7 +61,7 @@ LLGlobalVariable * IrStruct::getInitSymbol()
|
||||
init_pa.get(), true, _linkage, NULL, initname, gIR->module);
|
||||
|
||||
// set alignment
|
||||
init->setAlignment(aggrdecl->alignsize);
|
||||
init->setAlignment(type->alignsize());
|
||||
|
||||
return init;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user