Skip to content

Commit 9acad86

Browse files
Fix assert
1 parent f841d28 commit 9acad86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coreclr/jit/fgbasic.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ void Compiler::fgConvertBBToThrowBB(BasicBlock* block)
374374
// Must do this after we update bbJumpKind of block.
375375
if (isCallAlwaysPair)
376376
{
377-
BasicBlock* leaveBlk = block->GetFallThroughSucc();
377+
BasicBlock* leaveBlk = block->Next();
378378
noway_assert(leaveBlk->KindIs(BBJ_ALWAYS));
379379

380380
leaveBlk->bbFlags &= ~BBF_DONT_REMOVE;

0 commit comments

Comments
 (0)