@@ -155,7 +155,6 @@ void IdealGraphPrinter::init(const char* file_name, bool use_multiple_files, boo
155
155
// in the mach where kill projections have no users but should
156
156
// appear in the dump.
157
157
_traverse_outs = true ;
158
- _should_send_method = true ;
159
158
_output = nullptr ;
160
159
buffer[0 ] = 0 ;
161
160
_depth = 0 ;
@@ -300,13 +299,11 @@ void IdealGraphPrinter::print_inline_tree(InlineTree *tree) {
300
299
void IdealGraphPrinter::print_inlining () {
301
300
302
301
// Print inline tree
303
- if (_should_send_method) {
304
- InlineTree *inlineTree = C->ilt ();
305
- if (inlineTree != nullptr ) {
306
- print_inline_tree (inlineTree);
307
- } else {
308
- // print this method only
309
- }
302
+ InlineTree *inlineTree = C->ilt ();
303
+ if (inlineTree != nullptr ) {
304
+ print_inline_tree (inlineTree);
305
+ } else {
306
+ // print this method only
310
307
}
311
308
}
312
309
@@ -382,7 +379,6 @@ void IdealGraphPrinter::begin_method() {
382
379
383
380
tail (PROPERTIES_ELEMENT);
384
381
385
- _should_send_method = true ;
386
382
this ->_current_method = method;
387
383
388
384
_xml->flush ();
@@ -975,7 +971,7 @@ void IdealGraphPrinter::print_graph(const char* name, const frame* fr) {
975
971
// Print current ideal graph
976
972
void IdealGraphPrinter::print (const char * name, Node* node, GrowableArray<const Node*>& visible_nodes, const frame* fr) {
977
973
978
- if (!_current_method || !_should_send_method || node == nullptr ) return ;
974
+ if (!_current_method || node == nullptr ) return ;
979
975
980
976
if (name == nullptr ) {
981
977
stringStream graph_name;
0 commit comments