diff options
author | kvn <none@none> | 2011-07-27 17:28:36 -0700 |
---|---|---|
committer | kvn <none@none> | 2011-07-27 17:28:36 -0700 |
commit | 63844830b0d7dabf7d8dcbefce27cf1d7fffaa72 (patch) | |
tree | 1324bbf278ed8e04b1724b7c4bfd0a0a83e6c228 /src/share/vm/opto/coalesce.cpp | |
parent | 92329a90fb4c4dd91090db6fd2b7629742cbf9fb (diff) |
7069452: Cleanup NodeFlags
Summary: Remove flags which duplicate information in Node::NodeClasses.
Reviewed-by: never
Diffstat (limited to 'src/share/vm/opto/coalesce.cpp')
-rw-r--r-- | src/share/vm/opto/coalesce.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/share/vm/opto/coalesce.cpp b/src/share/vm/opto/coalesce.cpp index bc4d1fdcf..0811ea061 100644 --- a/src/share/vm/opto/coalesce.cpp +++ b/src/share/vm/opto/coalesce.cpp @@ -139,7 +139,7 @@ int PhaseChaitin::clone_projs( Block *b, uint idx, Node *con, Node *copy, uint & Block *bcon = _cfg._bbs[con->_idx]; uint cindex = bcon->find_node(con); Node *con_next = bcon->_nodes[cindex+1]; - if( con_next->in(0) != con || con_next->Opcode() != Op_MachProj ) + if( con_next->in(0) != con || !con_next->is_MachProj() ) return false; // No MachProj's follow // Copy kills after the cloned constant @@ -312,7 +312,7 @@ void PhaseAggressiveCoalesce::insert_copy_with_overlap( Block *b, Node *copy, ui // parallel renaming effort. if( n->_idx < _unique ) break; uint idx = n->is_Copy(); - assert( idx || n->is_Con() || n->Opcode() == Op_MachProj, "Only copies during parallel renaming" ); + assert( idx || n->is_Con() || n->is_MachProj(), "Only copies during parallel renaming" ); if( idx && _phc.Find(n->in(idx)) == dst_name ) break; i--; } @@ -329,7 +329,7 @@ void PhaseAggressiveCoalesce::insert_copy_with_overlap( Block *b, Node *copy, ui // Check for end of virtual copies; this is also the end of the // parallel renaming effort. if( n->_idx < _unique ) break; - assert( n->is_Copy() || n->is_Con() || n->Opcode() == Op_MachProj, "Only copies during parallel renaming" ); + assert( n->is_Copy() || n->is_Con() || n->is_MachProj(), "Only copies during parallel renaming" ); if( _phc.Find(n) == src_name ) { kill_src_idx = i; break; |