mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-04-30 15:10:59 +03:00
Adapt to free-standing size(Type*)
function
This commit is contained in:
parent
665e14ac46
commit
c9ac30c236
25 changed files with 80 additions and 59 deletions
|
@ -198,7 +198,7 @@ llvm::FunctionType *DtoFunctionType(Type *type, IrFuncTy &irFty, Type *thistype,
|
|||
attrs.addAttribute(LLAttribute::NonNull);
|
||||
attrs.addAttribute(LLAttribute::NoUndef);
|
||||
} else {
|
||||
attrs.addDereferenceableAttr(loweredDType->size());
|
||||
attrs.addDereferenceableAttr(size(loweredDType));
|
||||
}
|
||||
} else {
|
||||
if (abi->passByVal(f, loweredDType)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue