src/hotspot/share/opto/loopopts.cpp
changeset 52429 b64514ff68fd
parent 51828 a7448f4f89a0
child 52712 d17e09494308
equal deleted inserted replaced
52428:0e8084c8cbb7 52429:b64514ff68fd
   127       _igvn.set_type(x, t);
   127       _igvn.set_type(x, t);
   128       // If x is a TypeNode, capture any more-precise type permanently into Node
   128       // If x is a TypeNode, capture any more-precise type permanently into Node
   129       // otherwise it will be not updated during igvn->transform since
   129       // otherwise it will be not updated during igvn->transform since
   130       // igvn->type(x) is set to x->Value() already.
   130       // igvn->type(x) is set to x->Value() already.
   131       x->raise_bottom_type(t);
   131       x->raise_bottom_type(t);
   132       Node *y = x->Identity(&_igvn);
   132       Node *y = _igvn.apply_identity(x);
   133       if (y != x) {
   133       if (y != x) {
   134         wins++;
   134         wins++;
   135         x = y;
   135         x = y;
   136       } else {
   136       } else {
   137         y = _igvn.hash_find(x);
   137         y = _igvn.hash_find(x);