equal
deleted
inserted
replaced
1725 // 5. Currently an object is not scalar replaceable if a LoadStore node |
1725 // 5. Currently an object is not scalar replaceable if a LoadStore node |
1726 // access its field since the field value is unknown after it. |
1726 // access its field since the field value is unknown after it. |
1727 // |
1727 // |
1728 Node* n = field->ideal_node(); |
1728 Node* n = field->ideal_node(); |
1729 for (DUIterator_Fast imax, i = n->fast_outs(imax); i < imax; i++) { |
1729 for (DUIterator_Fast imax, i = n->fast_outs(imax); i < imax; i++) { |
1730 if (n->fast_out(i)->is_LoadStore()) { |
1730 Node* u = n->fast_out(i); |
|
1731 if (u->is_LoadStore() || (u->is_Mem() && u->as_Mem()->is_mismatched_access())) { |
1731 jobj->set_scalar_replaceable(false); |
1732 jobj->set_scalar_replaceable(false); |
1732 return; |
1733 return; |
1733 } |
1734 } |
1734 } |
1735 } |
1735 |
1736 |