src/share/vm/opto/idealGraphPrinter.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/src/share/vm/opto/idealGraphPrinter.cpp Fri Aug 23 23:47:48 2013
--- new/src/share/vm/opto/idealGraphPrinter.cpp Fri Aug 23 23:47:48 2013
*** 637,648 ****
--- 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]);
! for (uint s = 0; s < block->number_of_nodes(); s++) {
! nodeStack.push(block->get_node(s));
}
}
}
while(nodeStack.length() > 0) {
*** 711,723 ****
--- 711,723 ----
end_elem();
}
tail(SUCCESSORS_ELEMENT);
head(NODES_ELEMENT);
! for (uint s = 0; s < block->_nodes.size(); s++) {
! for (uint s = 0; s < block->number_of_nodes(); s++) {
begin_elem(NODE_ELEMENT);
! print_attr(NODE_ID_PROPERTY, get_node_id(block->_nodes[s]));
! 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