mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-04 00:55:49 +03:00
Pass IrFunction* to applyFuncDeclUDAs instead of irfunc->func (llvm::Function*) such that LDC's UDAs can set function properties that are not part of llvm::Function.
This commit is contained in:
parent
339d875327
commit
b25b7966cc
3 changed files with 8 additions and 4 deletions
|
@ -496,7 +496,7 @@ void DtoDeclareFunction(FuncDeclaration *fdecl) {
|
|||
}
|
||||
}
|
||||
|
||||
applyFuncDeclUDAs(fdecl, func);
|
||||
applyFuncDeclUDAs(fdecl, irFunc);
|
||||
|
||||
// main
|
||||
if (fdecl->isMain()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue