Refactoring: Introduce TargetABI::reverseExplicitParams()

This commit is contained in:
Martin Kinkelin 2018-05-30 22:26:25 +02:00
parent 92913d4c08
commit 29d609d63d
13 changed files with 19 additions and 47 deletions

View file

@ -187,6 +187,8 @@ llvm::FunctionType *DtoFunctionType(Type *type, IrFuncTy &irFty, Type *thistype,
++nextLLArgIdx;
}
newIrFty.reverseParams = abi->reverseExplicitParams(f);
// let the ABI rewrite the types as necessary
abi->rewriteFunctionType(newIrFty);