8354625: Compile::igv_print_graph_to_network doesn't use its second parameter
Reviewed-by: rcastanedalo, thartmann
This commit is contained in:
parent
a4e9da3747
commit
fabf67c376
@ -5265,10 +5265,10 @@ void Compile::igv_print_method_to_file(const char* phase_name, bool append) {
|
|||||||
void Compile::igv_print_method_to_network(const char* phase_name) {
|
void Compile::igv_print_method_to_network(const char* phase_name) {
|
||||||
ResourceMark rm;
|
ResourceMark rm;
|
||||||
GrowableArray<const Node*> empty_list;
|
GrowableArray<const Node*> empty_list;
|
||||||
igv_print_graph_to_network(phase_name, (Node*) C->root(), empty_list);
|
igv_print_graph_to_network(phase_name, empty_list);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Compile::igv_print_graph_to_network(const char* name, Node* node, GrowableArray<const Node*>& visible_nodes) {
|
void Compile::igv_print_graph_to_network(const char* name, GrowableArray<const Node*>& visible_nodes) {
|
||||||
if (_debug_network_printer == nullptr) {
|
if (_debug_network_printer == nullptr) {
|
||||||
_debug_network_printer = new IdealGraphPrinter(C);
|
_debug_network_printer = new IdealGraphPrinter(C);
|
||||||
} else {
|
} else {
|
||||||
|
@ -680,7 +680,7 @@ public:
|
|||||||
|
|
||||||
void igv_print_method_to_file(const char* phase_name = "Debug", bool append = false);
|
void igv_print_method_to_file(const char* phase_name = "Debug", bool append = false);
|
||||||
void igv_print_method_to_network(const char* phase_name = "Debug");
|
void igv_print_method_to_network(const char* phase_name = "Debug");
|
||||||
void igv_print_graph_to_network(const char* name, Node* node, GrowableArray<const Node*>& visible_nodes);
|
void igv_print_graph_to_network(const char* name, GrowableArray<const Node*>& visible_nodes);
|
||||||
static IdealGraphPrinter* debug_file_printer() { return _debug_file_printer; }
|
static IdealGraphPrinter* debug_file_printer() { return _debug_file_printer; }
|
||||||
static IdealGraphPrinter* debug_network_printer() { return _debug_network_printer; }
|
static IdealGraphPrinter* debug_network_printer() { return _debug_network_printer; }
|
||||||
#endif
|
#endif
|
||||||
|
@ -2057,7 +2057,7 @@ void PrintBFS::print() {
|
|||||||
if (_print_igv) {
|
if (_print_igv) {
|
||||||
Compile* C = Compile::current();
|
Compile* C = Compile::current();
|
||||||
C->init_igv();
|
C->init_igv();
|
||||||
C->igv_print_graph_to_network("PrintBFS", (Node*) C->root(), _print_list);
|
C->igv_print_graph_to_network("PrintBFS", _print_list);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
_output->print_cr("No nodes to print.");
|
_output->print_cr("No nodes to print.");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user