Skip to content

Commit

Permalink
Fix tailCall check for CallI. (dotnet#39621)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Andreenko authored and Jacksondr5 committed Aug 10, 2020
1 parent 956ac8d commit 1bd9e88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coreclr/src/jit/importer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8577,7 +8577,7 @@ var_types Compiler::impImportCall(OPCODE opcode,

if (canTailCall &&
!impTailCallRetTypeCompatible(info.compRetType, info.compMethodInfo->args.retTypeClass, callRetTyp,
callInfo->sig.retTypeClass))
sig->retTypeClass))
{
canTailCall = false;
szCanTailCallFailReason = "Return types are not tail call compatible";
Expand Down

0 comments on commit 1bd9e88

Please sign in to comment.