src/hotspot/share/opto/node.hpp
changeset 54327 a4d19817609c
parent 53244 9807daeb47c4
child 54423 6c0ab8bd8da5
--- a/src/hotspot/share/opto/node.hpp	Thu Mar 28 10:04:27 2019 -0700
+++ b/src/hotspot/share/opto/node.hpp	Thu Mar 28 11:06:00 2019 -0700
@@ -1003,7 +1003,7 @@
   // won't go into the table and we'll lose a little optimization.
   enum { NO_HASH = 0 };
   virtual uint hash() const;
-  virtual uint cmp( const Node &n ) const;
+  virtual bool cmp( const Node &n ) const;
 
   // Operation appears to be iteratively computed (such as an induction variable)
   // It is possible for this operation to return false for a loop-varying
@@ -1718,7 +1718,7 @@
 class TypeNode : public Node {
 protected:
   virtual uint hash() const;    // Check the type
-  virtual uint cmp( const Node &n ) const;
+  virtual bool cmp( const Node &n ) const;
   virtual uint size_of() const; // Size is bigger
   const Type* const _type;
 public: