From d01fac15dc50343506947a463c781e9346cbdba0 Mon Sep 17 00:00:00 2001 From: Sergey Andreenko Date: Sun, 19 Jul 2020 23:35:32 -0700 Subject: [PATCH] Fix tailCall check for CallI. --- src/coreclr/src/jit/importer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coreclr/src/jit/importer.cpp b/src/coreclr/src/jit/importer.cpp index e3efd08dbe309e..e1443b849ad347 100644 --- a/src/coreclr/src/jit/importer.cpp +++ b/src/coreclr/src/jit/importer.cpp @@ -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";