6913075: EA identifies escape state incorrectly after 6895383 fix

EA incorrectly identifies escape state of an allocation passed as call argument.

Reviewed-by: never
This commit is contained in:
Vladimir Kozlov 2010-01-04 15:21:09 -08:00
parent caf28727eb
commit 9be2e29930

View File

@ -1916,7 +1916,7 @@ void ConnectionGraph::process_call_arguments(CallNode *call, PhaseTransform *pha
Node *arg = call->in(i)->uncast();
if (at->isa_oopptr() != NULL &&
ptnode_adr(arg->_idx)->escape_state() < PointsToNode::ArgEscape) {
ptnode_adr(arg->_idx)->escape_state() < PointsToNode::GlobalEscape) {
bool global_escapes = false;
bool fields_escapes = false;