提交 985d91ee 编写于 作者: T Tanner Gooding 提交者: GitHub

Updating lookupNamedIntrinsic to no longer assert for an unexpected...

Updating lookupNamedIntrinsic to no longer assert for an unexpected hwintrinsic method. (dotnet/coreclr#24327)



Commit migrated from https://github.com/dotnet/coreclr/commit/07b3afc27304800f00975c8fd4836b319aaa8820
上级 2cdfa49b
......@@ -4347,11 +4347,14 @@ NamedIntrinsic Compiler::lookupNamedIntrinsic(CORINFO_METHOD_HANDLE method)
#else // !defined(_TARGET_XARCH_) && !defined(_TARGET_ARM64_)
#error Unsupported platform
#endif // !defined(_TARGET_XARCH_) && !defined(_TARGET_ARM64_)
else
else if (strcmp(methodName, "get_IsSupported") == 0)
{
assert(strcmp(methodName, "get_IsSupported") == 0);
return NI_IsSupported_False;
}
else
{
return gtIsRecursiveCall(method) ? NI_Throw_PlatformNotSupportedException : NI_Illegal;
}
}
#endif // FEATURE_HW_INTRINSICS
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册