Skip to content

Commit

Permalink
Fix assert
Browse files Browse the repository at this point in the history
  • Loading branch information
amanasifkhalid committed Oct 20, 2023
1 parent f841d28 commit 9acad86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coreclr/jit/fgbasic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ void Compiler::fgConvertBBToThrowBB(BasicBlock* block)
// Must do this after we update bbJumpKind of block.
if (isCallAlwaysPair)
{
BasicBlock* leaveBlk = block->GetFallThroughSucc();
BasicBlock* leaveBlk = block->Next();
noway_assert(leaveBlk->KindIs(BBJ_ALWAYS));

leaveBlk->bbFlags &= ~BBF_DONT_REMOVE;
Expand Down

0 comments on commit 9acad86

Please sign in to comment.