Skip to content

Commit

Permalink
Align "in"s with "out"s for final assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
SingleAccretion committed Jul 8, 2021
1 parent 8620e64 commit 62f1ce1
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/coreclr/jit/assertionprop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5487,15 +5487,14 @@ void Compiler::optAssertionPropMain()
{
for (BasicBlock* const block : Blocks())
{
printf(FMT_BB " ", block->bbNum);
optDumpAssertionIndices("in = ", block->bbAssertionIn, "; ");
optDumpAssertionIndices("out = ", block->bbAssertionOut);
printf(FMT_BB ":\n", block->bbNum);
optDumpAssertionIndices(" in = ", block->bbAssertionIn, "\n");
optDumpAssertionIndices(" out = ", block->bbAssertionOut, "\n");
if (block->bbJumpKind == BBJ_COND)
{
printf(" => " FMT_BB " ", block->bbJumpDest->bbNum);
optDumpAssertionIndices("out = ", bbJtrueAssertionOut[block->bbNum]);
printf(" " FMT_BB " = ", block->bbJumpDest->bbNum);
optDumpAssertionIndices(bbJtrueAssertionOut[block->bbNum], "\n");
}
printf("\n");
}
printf("\n");
}
Expand Down

0 comments on commit 62f1ce1

Please sign in to comment.