src/hotspot/share/opto/escape.cpp
changeset 58030 d6e2dbf20eaa
parent 57786 948ac3112da8
child 58064 d8f60e5bb4a6
equal deleted inserted replaced
58029:66c880e5d21d 58030:d6e2dbf20eaa
  2176   uint idx = n->_idx;
  2176   uint idx = n->_idx;
  2177   if (idx >= nodes_size()) {
  2177   if (idx >= nodes_size()) {
  2178     return false;
  2178     return false;
  2179   }
  2179   }
  2180   PointsToNode* ptn = ptnode_adr(idx);
  2180   PointsToNode* ptn = ptnode_adr(idx);
       
  2181   if (ptn == NULL) {
       
  2182     return false; // not in congraph (e.g. ConI)
       
  2183   }
  2181   PointsToNode::EscapeState es = ptn->escape_state();
  2184   PointsToNode::EscapeState es = ptn->escape_state();
  2182   // If we have already computed a value, return it.
  2185   // If we have already computed a value, return it.
  2183   if (es >= PointsToNode::GlobalEscape)
  2186   if (es >= PointsToNode::GlobalEscape)
  2184     return false;
  2187     return false;
  2185   if (ptn->is_JavaObject()) {
  2188   if (ptn->is_JavaObject()) {