Mercurial > hg > truffle
comparison src/share/vm/opto/idealGraphPrinter.cpp @ 3842:c7b60b601eb4
7069452: Cleanup NodeFlags
Summary: Remove flags which duplicate information in Node::NodeClasses.
Reviewed-by: never
author | kvn |
---|---|
date | Wed, 27 Jul 2011 17:28:36 -0700 |
parents | a80577f854f9 |
children | 11211f7cb5a0 |
comparison
equal
deleted
inserted
replaced
3841:0f34fdee809e | 3842:c7b60b601eb4 |
---|---|
424 | 424 |
425 const jushort flags = node->flags(); | 425 const jushort flags = node->flags(); |
426 if (flags & Node::Flag_is_Copy) { | 426 if (flags & Node::Flag_is_Copy) { |
427 print_prop("is_copy", "true"); | 427 print_prop("is_copy", "true"); |
428 } | 428 } |
429 if (flags & Node::Flag_is_Call) { | |
430 print_prop("is_call", "true"); | |
431 } | |
432 if (flags & Node::Flag_rematerialize) { | 429 if (flags & Node::Flag_rematerialize) { |
433 print_prop("rematerialize", "true"); | 430 print_prop("rematerialize", "true"); |
434 } | 431 } |
435 if (flags & Node::Flag_needs_anti_dependence_check) { | 432 if (flags & Node::Flag_needs_anti_dependence_check) { |
436 print_prop("needs_anti_dependence_check", "true"); | 433 print_prop("needs_anti_dependence_check", "true"); |
445 print_prop("is_cisc_alternate", "true"); | 442 print_prop("is_cisc_alternate", "true"); |
446 } | 443 } |
447 if (flags & Node::Flag_is_Branch) { | 444 if (flags & Node::Flag_is_Branch) { |
448 print_prop("is_branch", "true"); | 445 print_prop("is_branch", "true"); |
449 } | 446 } |
450 if (flags & Node::Flag_is_block_start) { | |
451 print_prop("is_block_start", "true"); | |
452 } | |
453 if (flags & Node::Flag_is_Goto) { | |
454 print_prop("is_goto", "true"); | |
455 } | |
456 if (flags & Node::Flag_is_dead_loop_safe) { | 447 if (flags & Node::Flag_is_dead_loop_safe) { |
457 print_prop("is_dead_loop_safe", "true"); | 448 print_prop("is_dead_loop_safe", "true"); |
458 } | 449 } |
459 if (flags & Node::Flag_may_be_short_branch) { | 450 if (flags & Node::Flag_may_be_short_branch) { |
460 print_prop("may_be_short_branch", "true"); | 451 print_prop("may_be_short_branch", "true"); |
461 } | |
462 if (flags & Node::Flag_is_safepoint_node) { | |
463 print_prop("is_safepoint_node", "true"); | |
464 } | |
465 if (flags & Node::Flag_is_pc_relative) { | |
466 print_prop("is_pc_relative", "true"); | |
467 } | 452 } |
468 | 453 |
469 if (C->matcher() != NULL) { | 454 if (C->matcher() != NULL) { |
470 if (C->matcher()->is_shared(node)) { | 455 if (C->matcher()->is_shared(node)) { |
471 print_prop("is_shared", "true"); | 456 print_prop("is_shared", "true"); |