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

src/share/vm/opto/idealGraphPrinter.cpp

Print this page
rev 9030 : 8137167: JEP165: Compiler Control: Implementation task
Summary:
Reviewed-by:
rev 9031 : [mq]: test

*** 667,677 **** } // Print current ideal graph void IdealGraphPrinter::print(Compile* compile, const char *name, Node *node, int level, bool clear_nodes) { ! if (!_current_method || !_should_send_method || !should_print(_current_method, level)) return; this->C = compile; // Warning, unsafe cast? _chaitin = (PhaseChaitin *)C->regalloc(); --- 667,677 ---- } // Print current ideal graph void IdealGraphPrinter::print(Compile* compile, const char *name, Node *node, int level, bool clear_nodes) { ! if (!_current_method || !_should_send_method || !should_print(level)) return; this->C = compile; // Warning, unsafe cast? _chaitin = (PhaseChaitin *)C->regalloc();
*** 720,733 **** tail(GRAPH_ELEMENT); _xml->flush(); } // Should method be printed? ! bool IdealGraphPrinter::should_print(ciMethod* method, int level) { ! intx ideal_graph_level = PrintIdealGraphLevel; ! method->has_option_value("PrintIdealGraphLevel", ideal_graph_level); // update value with per-method value (if available) ! return ideal_graph_level >= level; } extern const char *NodeClassNames[]; #endif --- 720,731 ---- tail(GRAPH_ELEMENT); _xml->flush(); } // Should method be printed? ! bool IdealGraphPrinter::should_print(int level) { ! return C->directive()->IGVPrintLevelOption >= level; } extern const char *NodeClassNames[]; #endif
src/share/vm/opto/idealGraphPrinter.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File