--- 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);