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 Sep 25 16:23:22 2015
--- new/src/share/vm/opto/idealGraphPrinter.cpp Fri Sep 25 16:23:22 2015
*** 667,677 ****
--- 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();
*** 720,733 ****
--- 720,731 ----
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;
! return C->dirset()->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