summaryrefslogtreecommitdiff
path: root/src/jit/ICorJitInfo_API_wrapper.hpp
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/jit/ICorJitInfo_API_wrapper.hpp
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/jit/ICorJitInfo_API_wrapper.hpp')
-rw-r--r--src/jit/ICorJitInfo_API_wrapper.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/jit/ICorJitInfo_API_wrapper.hpp b/src/jit/ICorJitInfo_API_wrapper.hpp
index 1d30e0096e..78177e16d7 100644
--- a/src/jit/ICorJitInfo_API_wrapper.hpp
+++ b/src/jit/ICorJitInfo_API_wrapper.hpp
@@ -1029,6 +1029,17 @@ const char* WrapICorJitInfo::getMethodName(
return temp;
}
+const char* WrapICorJitInfo::getMethodNameFromMetadata(
+ CORINFO_METHOD_HANDLE ftn, /* IN */
+ const char **className, /* OUT */
+ const char **namespaceName /* OUT */)
+{
+ API_ENTER(getMethodNameFromMetadata);
+ const char* temp = wrapHnd->getMethodNameFromMetaData(ftn, moduleName, namespaceName);
+ API_LEAVE(getMethodNameFromMetadata);
+ return temp;
+}
+
unsigned WrapICorJitInfo::getMethodHash(
CORINFO_METHOD_HANDLE ftn /* IN */)
{