Mercurial > hg > graal-jvmci-8
diff src/share/vm/opto/loopopts.cpp @ 401:ee8f06bfb27c
6743188: incomplete fix for 6700047 C2 failed in idom_no_update
Reviewed-by: rasbold, kvn
author | never |
---|---|
date | Fri, 03 Oct 2008 13:58:20 -0700 |
parents | 194b8e3a2fc4 |
children | 98cb887364d3 |
line wrap: on
line diff
--- a/src/share/vm/opto/loopopts.cpp Thu Oct 02 08:37:44 2008 -0700 +++ b/src/share/vm/opto/loopopts.cpp Fri Oct 03 13:58:20 2008 -0700 @@ -1903,9 +1903,6 @@ // Use in a phi is considered a use in the associated predecessor block use_c = use->in(0)->in(j); } - if (use_c->is_CountedLoop()) { - use_c = use_c->in(LoopNode::EntryControl); - } set_ctrl(n_clone, use_c); assert(!loop->is_member(get_loop(use_c)), "should be outside loop"); get_loop(use_c)->_body.push(n_clone);