src/hotspot/share/opto/node.hpp
changeset 55050 feba48c5dfb4
parent 54722 f0bce2f93e72
child 55307 ed12027517c0
child 58678 9cf78a70fa4f
--- a/src/hotspot/share/opto/node.hpp	Mon May 27 19:46:34 2019 -0700
+++ b/src/hotspot/share/opto/node.hpp	Tue May 28 12:01:52 2019 +0530
@@ -998,7 +998,7 @@
   // the node is guaranteed never to compare equal to any other node.
   // If we accidentally generate a hash with value NO_HASH the node
   // won't go into the table and we'll lose a little optimization.
-  enum { NO_HASH = 0 };
+  static const uint NO_HASH = 0;
   virtual uint hash() const;
   virtual bool cmp( const Node &n ) const;