提交 9efd5877 编写于 作者: R rrich

8230363: C2: Let ConnectionGraph::not_global_escape(Node* n) return false if n is not in the CG

Reviewed-by: thartmann, mdoerr

--HG--
extra : rebase_source : 506ba6f67cb248fb78906f8e66a5679f1b69e571
上级 5a194d8e
......@@ -2114,6 +2114,9 @@ bool ConnectionGraph::not_global_escape(Node *n) {
return false;
}
PointsToNode* ptn = ptnode_adr(idx);
if (ptn == NULL) {
return false; // not in congraph (e.g. ConI)
}
PointsToNode::EscapeState es = ptn->escape_state();
// If we have already computed a value, return it.
if (es >= PointsToNode::GlobalEscape)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册