mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-04-30 23:20:40 +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
|
@ -71,8 +71,6 @@ llvm::FunctionType* DtoFunctionType(Type* type, IrFuncTy &irFty, Type* thistype,
|
|||
if (irFty.funcType) return irFty.funcType;
|
||||
|
||||
TargetABI* abi = (isIntrinsic ? TargetABI::getIntrinsic() : gABI);
|
||||
// Tell the ABI we're resolving a new function type
|
||||
abi->newFunctionType(f);
|
||||
|
||||
// Do not modify irFty yet; this function may be called recursively if any
|
||||
// of the argument types refer to this type.
|
||||
|
@ -255,9 +253,6 @@ llvm::FunctionType* DtoFunctionType(Type* type, IrFuncTy &irFty, Type* thistype,
|
|||
// let the abi rewrite the types as necesary
|
||||
abi->rewriteFunctionType(f, newIrFty);
|
||||
|
||||
// Tell the ABI we're done with this function type
|
||||
abi->doneWithFunctionType();
|
||||
|
||||
// Now we can modify irFty safely.
|
||||
irFty = llvm_move(newIrFty);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue