Skip to content

Commit db666a2

Browse files
authored
Update assertionprop.cpp
1 parent 530b8e2 commit db666a2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/coreclr/jit/assertionprop.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5161,11 +5161,11 @@ static GCInfo::WriteBarrierForm GetWriteBarrierForm(Compiler* comp, ValueNum vn)
51615161
}
51625162

51635163
// If the target is a heap address + anything, we treat it as heap (it's UB if it's not)
5164-
if ((GetWriteBarrierForm(comp, funcApp.m_args[0]) == GCInfo::WriteBarrierForm::WBF_BarrierUnchecked) ||
5165-
(GetWriteBarrierForm(comp, funcApp.m_args[1]) == GCInfo::WriteBarrierForm::WBF_BarrierUnchecked))
5166-
{
5167-
return GCInfo::WriteBarrierForm::WBF_BarrierUnchecked;
5168-
}
5164+
// if ((GetWriteBarrierForm(comp, funcApp.m_args[0]) == GCInfo::WriteBarrierForm::WBF_BarrierUnchecked) ||
5165+
// (GetWriteBarrierForm(comp, funcApp.m_args[1]) == GCInfo::WriteBarrierForm::WBF_BarrierUnchecked))
5166+
// {
5167+
// return GCInfo::WriteBarrierForm::WBF_BarrierUnchecked;
5168+
// }
51695169
}
51705170
}
51715171
return GCInfo::WriteBarrierForm::WBF_BarrierUnknown;

0 commit comments

Comments
 (0)