src/hotspot/share/opto/node.hpp
changeset 52449 bac05440d98c
parent 52194 6eb876ac6827
child 52925 9c18c9d839d3
--- a/src/hotspot/share/opto/node.hpp	Thu Nov 08 07:42:08 2018 -0500
+++ b/src/hotspot/share/opto/node.hpp	Thu Nov 08 10:08:52 2018 +0100
@@ -457,9 +457,10 @@
 
   // Strip away casting.  (It is depth-limited.)
   Node* uncast() const;
-  // Return whether two Nodes are equivalent, after stripping casting
-  // and GC barriers.
-  bool eqv_uncast(const Node* n) const;
+  // Return whether two Nodes are equivalent, after stripping casting.
+  bool eqv_uncast(const Node* n) const {
+    return (this->uncast() == n->uncast());
+  }
 
   // Find out of current node that matches opcode.
   Node* find_out_with(int opcode);