comparison src/share/vm/opto/superword.cpp @ 253:b0fe4deeb9fb

6726999: nsk/stress/jck12a/jck12a010 assert(n != null,"Bad immediate dominator info.") Summary: Escape Analysis fixes. Reviewed-by: never, rasbold
author kvn
date Mon, 28 Jul 2008 17:12:52 -0700
parents 9c2ecc2ffb12
children 3b5ac9e7e6ea
comparison
equal deleted inserted replaced
252:be7facf71163 253:b0fe4deeb9fb
1194 // Find memory slices (head and tail) 1194 // Find memory slices (head and tail)
1195 for (DUIterator_Fast imax, i = lp()->fast_outs(imax); i < imax; i++) { 1195 for (DUIterator_Fast imax, i = lp()->fast_outs(imax); i < imax; i++) {
1196 Node *n = lp()->fast_out(i); 1196 Node *n = lp()->fast_out(i);
1197 if (in_bb(n) && (n->is_Phi() && n->bottom_type() == Type::MEMORY)) { 1197 if (in_bb(n) && (n->is_Phi() && n->bottom_type() == Type::MEMORY)) {
1198 Node* n_tail = n->in(LoopNode::LoopBackControl); 1198 Node* n_tail = n->in(LoopNode::LoopBackControl);
1199 _mem_slice_head.push(n); 1199 if (n_tail != n->in(LoopNode::EntryControl)) {
1200 _mem_slice_tail.push(n_tail); 1200 _mem_slice_head.push(n);
1201 _mem_slice_tail.push(n_tail);
1202 }
1201 } 1203 }
1202 } 1204 }
1203 1205
1204 // Create an RPO list of nodes in block 1206 // Create an RPO list of nodes in block
1205 1207