mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-11 21:37:17 +03:00
Get rid of obsolete TargetABI::newFunctionType() and doneWithFunctionType().
This commit is contained in:
parent
a00c2b5732
commit
f5592048e5
5 changed files with 0 additions and 23 deletions
|
@ -963,9 +963,7 @@ static void LLVM_D_BuildRuntimeModule()
|
|||
);
|
||||
assert(dty->ctype);
|
||||
IrFuncTy &irFty = dty->ctype->getIrFuncTy();
|
||||
gABI->newFunctionType(dty);
|
||||
gABI->rewriteFunctionType(dty, irFty);
|
||||
gABI->doneWithFunctionType();
|
||||
#if LDC_LLVM_VER < 303
|
||||
fn->addAttribute(1, irFty.args[0]->attrs);
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue