Skip to content

Commit

Permalink
Moved misplaced assert in StompWriteBarrier for safety. (dotnet/corec…
Browse files Browse the repository at this point in the history
…lr#26407)

Commit migrated from dotnet/coreclr@5b24731
  • Loading branch information
ivdiazsa authored and jkotas committed Aug 28, 2019
1 parent 0418da0 commit f223b4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coreclr/src/vm/gcenv.ee.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f223b4c

Please sign in to comment.