--- a/src/hotspot/share/opto/memnode.cpp Thu Mar 28 10:04:27 2019 -0700
+++ b/src/hotspot/share/opto/memnode.cpp Thu Mar 28 11:06:00 2019 -0700
@@ -758,7 +758,7 @@
return true;
}
uint LoadNode::size_of() const { return sizeof(*this); }
-uint LoadNode::cmp( const Node &n ) const
+bool LoadNode::cmp( const Node &n ) const
{ return !Type::cmp( _type, ((LoadNode&)n)._type ); }
const Type *LoadNode::bottom_type() const { return _type; }
uint LoadNode::ideal_reg() const {
@@ -2627,7 +2627,7 @@
//------------------------------cmp--------------------------------------------
// Do not common stores up together. They generally have to be split
// back up anyways, so do not bother.
-uint StoreNode::cmp( const Node &n ) const {
+bool StoreNode::cmp( const Node &n ) const {
return (&n == this); // Always fail except on self
}
@@ -3057,7 +3057,7 @@
//------------------------------cmp--------------------------------------------
uint MemBarNode::hash() const { return NO_HASH; }
-uint MemBarNode::cmp( const Node &n ) const {
+bool MemBarNode::cmp( const Node &n ) const {
return (&n == this); // Always fail except on self
}
@@ -4438,7 +4438,7 @@
//------------------------------cmp--------------------------------------------
uint MergeMemNode::hash() const { return NO_HASH; }
-uint MergeMemNode::cmp( const Node &n ) const {
+bool MergeMemNode::cmp( const Node &n ) const {
return (&n == this); // Always fail except on self
}