projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bb6060
)
Fix tailCall check for CallI. (#39621)
author
Sergey Andreenko
<seandree@microsoft.com>
Tue, 21 Jul 2020 01:35:31 +0000
(18:35 -0700)
committer
GitHub
<noreply@github.com>
Tue, 21 Jul 2020 01:35:31 +0000
(18:35 -0700)
src/coreclr/src/jit/importer.cpp
patch
|
blob
|
history
diff --git
a/src/coreclr/src/jit/importer.cpp
b/src/coreclr/src/jit/importer.cpp
index e3efd08dbe309e1ffd58c1b8eefecdfb81bf76ec..e1443b849ad347f7b0767c05c6dc5d6e5667c3e8 100644
(file)
--- a/
src/coreclr/src/jit/importer.cpp
+++ b/
src/coreclr/src/jit/importer.cpp
@@
-8577,7
+8577,7
@@
DONE:
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";