hotspot/src/share/vm/opto/castnode.cpp
changeset 36072 2e822f451746
parent 36065 4f0e0cb7b016
child 42041 f316fd20ed98
equal deleted inserted replaced
36071:96ae0e7ed4fa 36072:2e822f451746
   122     return NULL;
   122     return NULL;
   123   }
   123   }
   124   for (DUIterator_Fast imax, i = val->fast_outs(imax); i < imax; i++) {
   124   for (DUIterator_Fast imax, i = val->fast_outs(imax); i < imax; i++) {
   125     Node* u = val->fast_out(i);
   125     Node* u = val->fast_out(i);
   126     if (u != this &&
   126     if (u != this &&
       
   127         u->outcnt() > 0 &&
   127         u->Opcode() == opc &&
   128         u->Opcode() == opc &&
   128         u->in(0) != NULL &&
   129         u->in(0) != NULL &&
   129         u->bottom_type()->higher_equal(type())) {
   130         u->bottom_type()->higher_equal(type())) {
   130       if (phase->is_dominator(u->in(0), ctl)) {
   131       if (phase->is_dominator(u->in(0), ctl)) {
   131         return u->as_Type();
   132         return u->as_Type();