Skip to content

Commit 60d82fc

Browse files
committed
Remove assertion from default case
1 parent 70d8a7f commit 60d82fc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/coreclr/jit/importercalls.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7996,6 +7996,7 @@ bool Compiler::IsMathIntrinsic(NamedIntrinsic intrinsicName)
79967996
{
79977997
switch (intrinsicName)
79987998
{
7999+
79998000
case NI_System_Math_Abs:
80008001
case NI_System_Math_Acos:
80018002
case NI_System_Math_Acosh:
@@ -8046,9 +8047,6 @@ bool Compiler::IsMathIntrinsic(NamedIntrinsic intrinsicName)
80468047

80478048
default:
80488049
{
8049-
assert((intrinsicName < NI_SYSTEM_MATH_START) || (intrinsicName > NI_SYSTEM_MATH_END) ||
8050-
(intrinsicName != NI_PRIMITIVE_LeadingZeroCount) ||
8051-
(intrinsicName != NI_PRIMITIVE_TrailingZeroCount) || (intrinsicName != NI_PRIMITIVE_PopCount));
80528050
return false;
80538051
}
80548052
}

0 commit comments

Comments
 (0)