hotspot/src/share/vm/opto/idealGraphPrinter.cpp
changeset 19279 4be3c2e6663c
parent 17013 22a05c7f3314
child 19330 49d6711171e6
equal deleted inserted replaced
19160:6731e700c220 19279:4be3c2e6663c
   411     print_prop("idx", node->_idx);
   411     print_prop("idx", node->_idx);
   412 #ifdef ASSERT
   412 #ifdef ASSERT
   413     print_prop("debug_idx", node->_debug_idx);
   413     print_prop("debug_idx", node->_debug_idx);
   414 #endif
   414 #endif
   415 
   415 
   416     if(C->cfg() != NULL) {
   416     if (C->cfg() != NULL) {
   417       Block *block = C->cfg()->_bbs[node->_idx];
   417       Block* block = C->cfg()->get_block_for_node(node);
   418       if(block == NULL) {
   418       if (block == NULL) {
   419         print_prop("block", C->cfg()->_blocks[0]->_pre_order);
   419         print_prop("block", C->cfg()->_blocks[0]->_pre_order);
   420       } else {
   420       } else {
   421         print_prop("block", block->_pre_order);
   421         print_prop("block", block->_pre_order);
   422       }
   422       }
   423     }
   423     }