mirror of
https://github.com/openjdk/jdk.git
synced 2026-04-23 21:30:26 +00:00
8230363: C2: Let ConnectionGraph::not_global_escape(Node* n) return false if n is not in the CG
Reviewed-by: thartmann, mdoerr
This commit is contained in:
parent
c417c473a4
commit
d7ca08a5cc
@ -2178,6 +2178,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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user