--- a/src/hotspot/share/opto/memnode.cpp Tue Nov 06 10:10:18 2018 -0800
+++ b/src/hotspot/share/opto/memnode.cpp Tue Nov 06 23:03:05 2018 +0100
@@ -1404,7 +1404,7 @@
// Do nothing here if Identity will find a value
// (to avoid infinite chain of value phis generation).
- if (!phase->eqv(this, this->Identity(phase)))
+ if (!phase->eqv(this, phase->apply_identity(this)))
return NULL;
// Select Region to split through.
@@ -1494,7 +1494,7 @@
// otherwise it will be not updated during igvn->transform since
// igvn->type(x) is set to x->Value() already.
x->raise_bottom_type(t);
- Node *y = x->Identity(igvn);
+ Node *y = igvn->apply_identity(x);
if (y != x) {
x = y;
} else {