From b7cce5a59f7c6bd5a33b88f2af252693bbbd7373 Mon Sep 17 00:00:00 2001 From: Andy Ayers Date: Thu, 7 Sep 2017 14:28:07 -0700 Subject: 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. --- src/zap/zapinfo.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/zap/zapinfo.cpp') 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); -- cgit v1.2.3