8283890: Changes in CFG file format break C1Visualizer

Reviewed-by: chagedorn, thartmann
This commit is contained in:
Frederic Parain 2022-03-31 15:54:51 +00:00
parent 49fcc7a5c3
commit 207b099858

View File

@ -244,13 +244,11 @@ void CFGPrinterOutput::print_block(BlockBegin* block) {
output()->cr();
output()->indent();
output()->print("successors ");
if (block->end() != NULL) {
output()->print("successors ");
for (i = 0; i < block->number_of_sux(); i++) {
output()->print("\"B%d\" ", block->sux_at(i)->block_id());
}
} else {
output()->print("(block has no end, cannot print successors)");
}
output()->cr();