Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/coreclr/jit/fgdiagnostic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3195,6 +3195,15 @@ void Compiler::fgDebugCheckBBlist(bool checkBBNum /* = false */, bool checkBBRef
assert(genReturnBB->KindIs(BBJ_RETURN));
}

// Ensure that all throw helper blocks are currently in the block list.
for (Compiler::AddCodeDsc* add = fgAddCodeList; add != nullptr; add = add->acdNext)
{
if (add->acdUsed)
{
assert(add->acdDstBlk->bbTraversalStamp == curTraversalStamp);
}
}

// If this is an inlinee, we're done checking.
if (compIsForInlining())
{
Expand Down