Skip to content

Commit

Permalink
needLabel assert (#62025)
Browse files Browse the repository at this point in the history
  • Loading branch information
kunalspathak authored Dec 1, 2021
1 parent 985f477 commit 7ffc96e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/coreclr/jit/codegenlinear.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -344,8 +344,8 @@ void CodeGen::genCodeForBBlist()
#if FEATURE_LOOP_ALIGN
if (GetEmitter()->emitEndsWithAlignInstr())
{
// we had better be planning on starting a new IG
assert(needLabel);
// Force new label if current IG ends with an align instruction.
needLabel = true;
}
#endif

Expand Down

0 comments on commit 7ffc96e

Please sign in to comment.