src/share/vm/opto/idealGraphPrinter.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File JDK-8023691 Cdiff src/share/vm/opto/idealGraphPrinter.cpp

src/share/vm/opto/idealGraphPrinter.cpp

Print this page

        

*** 637,648 **** if (C->cfg() != NULL) { // once we have a CFG there are some nodes that aren't really // reachable but are in the CFG so add them here. for (uint i = 0; i < C->cfg()->number_of_blocks(); i++) { Block* block = C->cfg()->get_block(i); ! for (uint s = 0; s < block->_nodes.size(); s++) { ! nodeStack.push(block->_nodes[s]); } } } while(nodeStack.length() > 0) { --- 637,648 ---- if (C->cfg() != NULL) { // once we have a CFG there are some nodes that aren't really // reachable but are in the CFG so add them here. for (uint i = 0; i < C->cfg()->number_of_blocks(); i++) { Block* block = C->cfg()->get_block(i); ! for (uint s = 0; s < block->number_of_nodes(); s++) { ! nodeStack.push(block->get_node(s)); } } } while(nodeStack.length() > 0) {
*** 711,723 **** end_elem(); } tail(SUCCESSORS_ELEMENT); head(NODES_ELEMENT); ! for (uint s = 0; s < block->_nodes.size(); s++) { begin_elem(NODE_ELEMENT); ! print_attr(NODE_ID_PROPERTY, get_node_id(block->_nodes[s])); end_elem(); } tail(NODES_ELEMENT); tail(BLOCK_ELEMENT); --- 711,723 ---- end_elem(); } tail(SUCCESSORS_ELEMENT); head(NODES_ELEMENT); ! for (uint s = 0; s < block->number_of_nodes(); s++) { begin_elem(NODE_ELEMENT); ! print_attr(NODE_ID_PROPERTY, get_node_id(block->get_node(s))); end_elem(); } tail(NODES_ELEMENT); tail(BLOCK_ELEMENT);
src/share/vm/opto/idealGraphPrinter.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File