< prev index next >

src/hotspot/share/c1/c1_CFGPrinter.cpp

Print this page
*** 242,17 ***
      output()->print("\"B%d\" ", block->pred_at(i)->block_id());
    }
    output()->cr();
  
    output()->indent();
    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();
  
    output()->indent();
    output()->print("xhandlers");
--- 242,15 ---
      output()->print("\"B%d\" ", block->pred_at(i)->block_id());
    }
    output()->cr();
  
    output()->indent();
+   output()->print("successors ");
    if (block->end() != NULL) {
      for (i = 0; i < block->number_of_sux(); i++) {
        output()->print("\"B%d\" ", block->sux_at(i)->block_id());
      }
    }
    output()->cr();
  
    output()->indent();
    output()->print("xhandlers");
< prev index next >