AArch64CallLowering::lowerCall(): fix build by not passing InArgs into lowerTailCall()

llvm-svn: 372172
This commit is contained in:
Roman Lebedev 2019-09-17 19:37:07 +00:00
parent 97bc5ae993
commit ad0c2e00a8
1 changed files with 1 additions and 1 deletions

View File

@ -786,7 +786,7 @@ bool AArch64CallLowering::lowerCall(MachineIRBuilder &MIRBuilder,
// If we can lower as a tail call, do that instead.
if (Info.IsTailCall &&
isEligibleForTailCallOptimization(MIRBuilder, Info, InArgs, OutArgs))
return lowerTailCall(MIRBuilder, Info, OutArgs, InArgs);
return lowerTailCall(MIRBuilder, Info, OutArgs);
// Find out which ABI gets to decide where things go.
CCAssignFn *AssignFnFixed =