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

src/share/vm/opto/idealGraphPrinter.cpp

Print this page




 396   } else {
 397 
 398     // Output node
 399     begin_head(NODE_ELEMENT);
 400     print_attr(NODE_ID_PROPERTY, get_node_id(n));
 401     end_head();
 402 
 403     head(PROPERTIES_ELEMENT);
 404 
 405     Node *node = n;
 406 #ifndef PRODUCT
 407     node->_in_dump_cnt++;
 408     print_prop(NODE_NAME_PROPERTY, (const char *)node->Name());
 409     const Type *t = node->bottom_type();
 410     print_prop("type", t->msg());
 411     print_prop("idx", node->_idx);
 412 #ifdef ASSERT
 413     print_prop("debug_idx", node->_debug_idx);
 414 #endif
 415 
 416     if(C->cfg() != NULL) {
 417       Block *block = C->cfg()->_bbs[node->_idx];
 418       if(block == NULL) {
 419         print_prop("block", C->cfg()->_blocks[0]->_pre_order);
 420       } else {
 421         print_prop("block", block->_pre_order);
 422       }
 423     }
 424 
 425     const jushort flags = node->flags();
 426     if (flags & Node::Flag_is_Copy) {
 427       print_prop("is_copy", "true");
 428     }
 429     if (flags & Node::Flag_rematerialize) {
 430       print_prop("rematerialize", "true");
 431     }
 432     if (flags & Node::Flag_needs_anti_dependence_check) {
 433       print_prop("needs_anti_dependence_check", "true");
 434     }
 435     if (flags & Node::Flag_is_macro) {
 436       print_prop("is_macro", "true");
 437     }
 438     if (flags & Node::Flag_is_Con) {




 396   } else {
 397 
 398     // Output node
 399     begin_head(NODE_ELEMENT);
 400     print_attr(NODE_ID_PROPERTY, get_node_id(n));
 401     end_head();
 402 
 403     head(PROPERTIES_ELEMENT);
 404 
 405     Node *node = n;
 406 #ifndef PRODUCT
 407     node->_in_dump_cnt++;
 408     print_prop(NODE_NAME_PROPERTY, (const char *)node->Name());
 409     const Type *t = node->bottom_type();
 410     print_prop("type", t->msg());
 411     print_prop("idx", node->_idx);
 412 #ifdef ASSERT
 413     print_prop("debug_idx", node->_debug_idx);
 414 #endif
 415 
 416     if (C->cfg() != NULL) {
 417       Block* block = C->cfg()->get_block_for_node(node);
 418       if (block == NULL) {
 419         print_prop("block", C->cfg()->_blocks[0]->_pre_order);
 420       } else {
 421         print_prop("block", block->_pre_order);
 422       }
 423     }
 424 
 425     const jushort flags = node->flags();
 426     if (flags & Node::Flag_is_Copy) {
 427       print_prop("is_copy", "true");
 428     }
 429     if (flags & Node::Flag_rematerialize) {
 430       print_prop("rematerialize", "true");
 431     }
 432     if (flags & Node::Flag_needs_anti_dependence_check) {
 433       print_prop("needs_anti_dependence_check", "true");
 434     }
 435     if (flags & Node::Flag_is_macro) {
 436       print_prop("is_macro", "true");
 437     }
 438     if (flags & Node::Flag_is_Con) {


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