Mercurial > hg > truffle
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/opto/superword.cpp Fri Jul 25 16:03:40 2008 -0700 +++ b/src/share/vm/opto/superword.cpp Mon Jul 28 17:12:52 2008 -0700 @@ -1196,8 +1196,10 @@ Node *n = lp()->fast_out(i); if (in_bb(n) && (n->is_Phi() && n->bottom_type() == Type::MEMORY)) { Node* n_tail = n->in(LoopNode::LoopBackControl); - _mem_slice_head.push(n); - _mem_slice_tail.push(n_tail); + if (n_tail != n->in(LoopNode::EntryControl)) { + _mem_slice_head.push(n); + _mem_slice_tail.push(n_tail); + } } }