提交 f223b4c7 编写于 作者: I Ivan Diaz Sanchez 提交者: Jan Kotas

Moved misplaced assert in StompWriteBarrier for safety. (dotnet/coreclr#26407)



Commit migrated from https://github.com/dotnet/coreclr/commit/5b247316ddd7f4beb7cf8bd21bb49b84702f1883
上级 0418da05
......@@ -802,10 +802,10 @@ void GCToEEInterface::DiagWalkBGCSurvivors(void* gcContext)
void GCToEEInterface::StompWriteBarrier(WriteBarrierParameters* args)
{
assert(args != nullptr);
int stompWBCompleteActions = SWB_PASS;
bool is_runtime_suspended = args->is_runtime_suspended;
assert(args != nullptr);
switch (args->operation)
{
case WriteBarrierOp::StompResize:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册