From 19c6b19645fccc8e010b4b8f8250f36a97b5433b Mon Sep 17 00:00:00 2001 From: Fei Peng Date: Wed, 3 Apr 2019 17:15:45 -0700 Subject: Fix GitHub23672 (#23674) --- src/jit/importer.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/jit/importer.cpp') 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 -- cgit v1.2.3