Mercurial > hg > truffle
diff src/share/vm/opto/matcher.cpp @ 4064:670a74b863fc
7107042: assert(no_dead_loop) failed: dead loop detected
Summary: Use dead nodes elimination code in PhaseIdealLoop before executing EA.
Reviewed-by: never, twisti
author | kvn |
---|---|
date | Wed, 09 Nov 2011 07:25:51 -0800 |
parents | c2d3caa64b3e |
children | 65149e74c706 |
line wrap: on
line diff
--- a/src/share/vm/opto/matcher.cpp Wed Nov 09 06:14:32 2011 -0800 +++ b/src/share/vm/opto/matcher.cpp Wed Nov 09 07:25:51 2011 -0800 @@ -1915,7 +1915,7 @@ set_dontcare(n); break; case Op_Jump: - mstack.push(n->in(1), Visit); // Switch Value + mstack.push(n->in(1), Pre_Visit); // Switch Value (could be shared) mstack.push(n->in(0), Pre_Visit); // Visit Control input continue; // while (mstack.is_nonempty()) case Op_StrComp: