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:
f41f16d
)
Fallback to JIT for explicit tailcalls in R2R
author
Jan Kotas
<jkotas@microsoft.com>
Fri, 11 Mar 2016 22:52:58 +0000
(14:52 -0800)
committer
Jan Kotas
<jkotas@microsoft.com>
Fri, 11 Mar 2016 22:52:58 +0000
(14:52 -0800)
Commit migrated from https://github.com/dotnet/coreclr/commit/
2ff99edf3dec6b5ad68c24444c9e68b880f844ca
src/coreclr/src/zap/zapinfo.cpp
patch
|
blob
|
history
diff --git
a/src/coreclr/src/zap/zapinfo.cpp
b/src/coreclr/src/zap/zapinfo.cpp
index
0b9d0a6
..
a42e48c
100644
(file)
--- a/
src/coreclr/src/zap/zapinfo.cpp
+++ b/
src/coreclr/src/zap/zapinfo.cpp
@@
-3588,7
+3588,15
@@
bool ZapInfo::canTailCall(CORINFO_METHOD_HANDLE caller,
#ifdef FEATURE_READYTORUN_COMPILER
// READYTORUN: FUTURE: Delay load fixups for tailcalls
if (IsReadyToRunCompilation())
+ {
+ if (fIsTailPrefix)
+ {
+ m_zapper->Warning(W("ReadyToRun: Explicit tailcalls not supported\n"));
+ ThrowHR(E_NOTIMPL);
+ }
+
return false;
+ }
#endif
return m_pEEJitInfo->canTailCall(caller, declaredCallee, exactCallee, fIsTailPrefix);