Skip to content

Commit 0e00b82

Browse files
am11michaelgsharp
authored andcommitted
Fix a compiler error on alpine-arm64 (dotnet#101206)
1 parent b8f9b9e commit 0e00b82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coreclr/jit/optimizebools.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1248,7 +1248,7 @@ void OptBoolsDsc::optOptimizeBoolsUpdateTrees()
12481248
optReturnBlock = true;
12491249
}
12501250

1251-
assert(m_cmpOp != NULL && m_c1 != nullptr && m_c2 != nullptr);
1251+
assert(m_cmpOp != GT_NONE && m_c1 != nullptr && m_c2 != nullptr);
12521252

12531253
GenTree* cmpOp1 = m_foldOp == GT_NONE ? m_c1 : m_comp->gtNewOperNode(m_foldOp, m_foldType, m_c1, m_c2);
12541254
if (m_testInfo1.isBool && m_testInfo2.isBool)

0 commit comments

Comments
 (0)