[RyuJIT] Fix get_ManagedThreadId(get_CurrentThread) optimization (convert to NI)...
authorEgor Bogatov <egorbo@gmail.com>
Tue, 10 Nov 2020 14:54:09 +0000 (17:54 +0300)
committerGitHub <noreply@github.com>
Tue, 10 Nov 2020 14:54:09 +0000 (06:54 -0800)
commit819a3cc69e2bf606787a44f9f107ebbbed0fcb11
treea815ba1fc65786e6f0a7393aefb1e574d8b0b296
parentdfa6fe1419a47eda19ab4e3ad3d216962bf5542b
[RyuJIT] Fix get_ManagedThreadId(get_CurrentThread) optimization (convert to NI) (#41213)

* Convert get_ManagedThreadId(get_CurrentThread) optimization to NamedIntrinsics

* drop CORINFO_HELP_INTERNALTHROW and CORINFO_HELP_SEC_UNMGDCODE_EXCPT
19 files changed:
src/coreclr/src/System.Private.CoreLib/src/System/Threading/Thread.CoreCLR.cs
src/coreclr/src/inc/corinfo.h
src/coreclr/src/inc/jithelpers.h
src/coreclr/src/inc/readytorun.h
src/coreclr/src/inc/readytorunhelpers.h
src/coreclr/src/jit/importer.cpp
src/coreclr/src/jit/morph.cpp
src/coreclr/src/jit/namedintrinsiclist.h
src/coreclr/src/jit/utils.cpp
src/coreclr/src/tools/Common/Internal/Runtime/ReadyToRunConstants.cs
src/coreclr/src/tools/Common/JitInterface/CorInfoHelpFunc.cs
src/coreclr/src/tools/Common/JitInterface/CorInfoImpl.Intrinsics.cs
src/coreclr/src/tools/Common/JitInterface/CorInfoTypes.cs
src/coreclr/src/tools/aot/ILCompiler.ReadyToRun/JitInterface/CorInfoImpl.ReadyToRun.cs
src/coreclr/src/tools/aot/ILCompiler.Reflection.ReadyToRun/ReadyToRunSignature.cs
src/coreclr/src/tools/aot/jitinterface/jitwrapper.cpp
src/coreclr/src/vm/ecalllist.h
src/coreclr/src/vm/jithelpers.cpp
src/libraries/System.Private.CoreLib/src/System/Threading/Thread.cs