summaryrefslogtreecommitdiff
path: root/src/jit/importer.cpp
diff options
context:
space:
mode:
authorFei Peng <feipeng.compiler@gmail.com>2019-04-03 17:15:45 -0700
committerTanner Gooding <tagoo@outlook.com>2019-04-03 17:15:45 -0700
commit19c6b19645fccc8e010b4b8f8250f36a97b5433b (patch)
tree590d838a7277e503e3d9d07ba01f23845ed79f91 /src/jit/importer.cpp
parentd3e39bc2f81e3dbf9e4b96347f62b49d8700336c (diff)
downloadcoreclr-19c6b19645fccc8e010b4b8f8250f36a97b5433b.tar.gz
coreclr-19c6b19645fccc8e010b4b8f8250f36a97b5433b.tar.bz2
coreclr-19c6b19645fccc8e010b4b8f8250f36a97b5433b.zip
Fix GitHub23672 (#23674)
Diffstat (limited to 'src/jit/importer.cpp')
-rw-r--r--src/jit/importer.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/jit/importer.cpp b/src/jit/importer.cpp
index 95de830205..ce5c4740c7 100644
--- a/src/jit/importer.cpp
+++ b/src/jit/importer.cpp
@@ -4273,10 +4273,8 @@ NamedIntrinsic Compiler::lookupNamedIntrinsic(CORINFO_METHOD_HANDLE method)
else if (strncmp(namespaceName, "System.Runtime.Intrinsics", 25) == 0)
{
#if defined(_TARGET_XARCH_)
- assert(strcmp(namespaceName + 25, ".X86") == 0 || namespaceName[25] == '\0');
result = HWIntrinsicInfo::lookupId(className, methodName, enclosingClassName);
#elif defined(_TARGET_ARM64_)
- assert(strcmp(namespaceName + 25, ".Arm.Arm64") == 0 || namespaceName[25] == '\0');
result = lookupHWIntrinsic(className, methodName);
#else // !defined(_TARGET_XARCH_) && !defined(_TARGET_ARM64_)
#error Unsupported platform