2112 uint idx = n->_idx; |
2112 uint idx = n->_idx; |
2113 if (idx >= nodes_size()) { |
2113 if (idx >= nodes_size()) { |
2114 return false; |
2114 return false; |
2115 } |
2115 } |
2116 PointsToNode* ptn = ptnode_adr(idx); |
2116 PointsToNode* ptn = ptnode_adr(idx); |
|
2117 if (ptn == NULL) { |
|
2118 return false; // not in congraph (e.g. ConI) |
|
2119 } |
2117 PointsToNode::EscapeState es = ptn->escape_state(); |
2120 PointsToNode::EscapeState es = ptn->escape_state(); |
2118 // If we have already computed a value, return it. |
2121 // If we have already computed a value, return it. |
2119 if (es >= PointsToNode::GlobalEscape) |
2122 if (es >= PointsToNode::GlobalEscape) |
2120 return false; |
2123 return false; |
2121 if (ptn->is_JavaObject()) { |
2124 if (ptn->is_JavaObject()) { |