src/hotspot/share/opto/node.cpp
changeset 54327 a4d19817609c
parent 53220 c14b7b6a9b2f
child 54722 f0bce2f93e72
--- a/src/hotspot/share/opto/node.cpp	Thu Mar 28 10:04:27 2019 -0700
+++ b/src/hotspot/share/opto/node.cpp	Thu Mar 28 11:06:00 2019 -0700
@@ -1433,8 +1433,8 @@
 
 //------------------------------cmp--------------------------------------------
 // Compare special parts of simple Nodes
-uint Node::cmp( const Node &n ) const {
-  return 1;                     // Must be same
+bool Node::cmp( const Node &n ) const {
+  return true;                  // Must be same
 }
 
 //------------------------------rematerialize-----------------------------------
@@ -2452,7 +2452,7 @@
 uint TypeNode::hash() const {
   return Node::hash() + _type->hash();
 }
-uint TypeNode::cmp( const Node &n ) const
+bool TypeNode::cmp( const Node &n ) const
 { return !Type::cmp( _type, ((TypeNode&)n)._type ); }
 const Type *TypeNode::bottom_type() const { return _type; }
 const Type* TypeNode::Value(PhaseGVN* phase) const { return _type; }