comparison src/share/vm/opto/idealGraphPrinter.cpp @ 14438:4cdf4f71177d

8029025: PPC64 (part 203): opto: Move static _in_dump_cnt to Compile object. Summary: Also introduces the compiler oracle 'option' feature for PrintAssembly. Reviewed-by: kvn
author goetz
date Fri, 22 Nov 2013 12:14:09 -0800
parents 90abdd727e64
children 4ca6dc0799b6 78bbf4d43a14
comparison
equal deleted inserted replaced
14437:15120a36272d 14438:4cdf4f71177d
402 402
403 head(PROPERTIES_ELEMENT); 403 head(PROPERTIES_ELEMENT);
404 404
405 Node *node = n; 405 Node *node = n;
406 #ifndef PRODUCT 406 #ifndef PRODUCT
407 node->_in_dump_cnt++; 407 Compile::current()->_in_dump_cnt++;
408 print_prop(NODE_NAME_PROPERTY, (const char *)node->Name()); 408 print_prop(NODE_NAME_PROPERTY, (const char *)node->Name());
409 const Type *t = node->bottom_type(); 409 const Type *t = node->bottom_type();
410 print_prop("type", t->msg()); 410 print_prop("type", t->msg());
411 print_prop("idx", node->_idx); 411 print_prop("idx", node->_idx);
412 #ifdef ASSERT 412 #ifdef ASSERT
621 lrg_id = _chaitin->_lrg_map.live_range_id(node); 621 lrg_id = _chaitin->_lrg_map.live_range_id(node);
622 } 622 }
623 print_prop("lrg", lrg_id); 623 print_prop("lrg", lrg_id);
624 } 624 }
625 625
626 node->_in_dump_cnt--; 626 Compile::current()->_in_dump_cnt--;
627 #endif 627 #endif
628 628
629 tail(PROPERTIES_ELEMENT); 629 tail(PROPERTIES_ELEMENT);
630 tail(NODE_ELEMENT); 630 tail(NODE_ELEMENT);
631 } 631 }