equal
deleted
inserted
replaced
1431 return (sum>>2) + _cnt + Opcode(); |
1431 return (sum>>2) + _cnt + Opcode(); |
1432 } |
1432 } |
1433 |
1433 |
1434 //------------------------------cmp-------------------------------------------- |
1434 //------------------------------cmp-------------------------------------------- |
1435 // Compare special parts of simple Nodes |
1435 // Compare special parts of simple Nodes |
1436 uint Node::cmp( const Node &n ) const { |
1436 bool Node::cmp( const Node &n ) const { |
1437 return 1; // Must be same |
1437 return true; // Must be same |
1438 } |
1438 } |
1439 |
1439 |
1440 //------------------------------rematerialize----------------------------------- |
1440 //------------------------------rematerialize----------------------------------- |
1441 // Should we clone rather than spill this instruction? |
1441 // Should we clone rather than spill this instruction? |
1442 bool Node::rematerialize() const { |
1442 bool Node::rematerialize() const { |
2450 } |
2450 } |
2451 #endif |
2451 #endif |
2452 uint TypeNode::hash() const { |
2452 uint TypeNode::hash() const { |
2453 return Node::hash() + _type->hash(); |
2453 return Node::hash() + _type->hash(); |
2454 } |
2454 } |
2455 uint TypeNode::cmp( const Node &n ) const |
2455 bool TypeNode::cmp( const Node &n ) const |
2456 { return !Type::cmp( _type, ((TypeNode&)n)._type ); } |
2456 { return !Type::cmp( _type, ((TypeNode&)n)._type ); } |
2457 const Type *TypeNode::bottom_type() const { return _type; } |
2457 const Type *TypeNode::bottom_type() const { return _type; } |
2458 const Type* TypeNode::Value(PhaseGVN* phase) const { return _type; } |
2458 const Type* TypeNode::Value(PhaseGVN* phase) const { return _type; } |
2459 |
2459 |
2460 //------------------------------ideal_reg-------------------------------------- |
2460 //------------------------------ideal_reg-------------------------------------- |