summaryrefslogtreecommitdiff
path: root/src/zap/zapinfo.cpp
diff options
context:
space:
mode:
authorAndy Ayers <andya@microsoft.com>2017-09-07 14:28:07 -0700
committerGitHub <noreply@github.com>2017-09-07 14:28:07 -0700
commitb7cce5a59f7c6bd5a33b88f2af252693bbbd7373 (patch)
tree81d3ed8966aaa3df80e4b20d05ad0cedfbf14616 /src/zap/zapinfo.cpp
parentf3dfbf546396db24f5fbc690213e89beaebd5f35 (diff)
downloadcoreclr-b7cce5a59f7c6bd5a33b88f2af252693bbbd7373.tar.gz
coreclr-b7cce5a59f7c6bd5a33b88f2af252693bbbd7373.tar.bz2
coreclr-b7cce5a59f7c6bd5a33b88f2af252693bbbd7373.zip
New jit intrinsic support (#13815)
Support for new-style intrinsics where corelib methods can have both IL implementations and optional jit-supplied implementations. Mark such methods with the [Intrinsic] attribute, then recognize the intrinsic methods by name in the jit. Jit currently has a placeholder for the Enum.HasFlag method.
Diffstat (limited to 'src/zap/zapinfo.cpp')
-rw-r--r--src/zap/zapinfo.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/zap/zapinfo.cpp b/src/zap/zapinfo.cpp
index 5683f4f3e1..b8ef3eab91 100644
--- a/src/zap/zapinfo.cpp
+++ b/src/zap/zapinfo.cpp
@@ -3545,6 +3545,11 @@ const char* ZapInfo::getMethodName(CORINFO_METHOD_HANDLE ftn, const char **modul
return m_pEEJitInfo->getMethodName(ftn, moduleName);
}
+const char* ZapInfo::getMethodNameFromMetadata(CORINFO_METHOD_HANDLE ftn, const char **className, const char** namespaceName)
+{
+ return m_pEEJitInfo->getMethodNameFromMetadata(ftn, className, namespaceName);
+}
+
unsigned ZapInfo::getMethodHash(CORINFO_METHOD_HANDLE ftn)
{
return m_pEEJitInfo->getMethodHash(ftn);