src/share/vm/opto/ifnode.cpp

changeset 3043
c96c3eb1efae
parent 3038
4e761e7e6e12
child 3847
5e990493719e
equal deleted inserted replaced
3042:ce3e1d4dc416 3043:c96c3eb1efae
252 region_x->init_req( i_x, r ->in(i) ); 252 region_x->init_req( i_x, r ->in(i) );
253 phi_x ->init_req( i_x++, phi->in(i) ); 253 phi_x ->init_req( i_x++, phi->in(i) );
254 if (r->in(i) == predicate_proj) 254 if (r->in(i) == predicate_proj)
255 predicate_x = predicate_proj; 255 predicate_x = predicate_proj;
256 } 256 }
257 }
258 if (predicate_c != NULL && (req_c > 1)) {
259 assert(predicate_x == NULL, "only one predicate entry expected");
260 predicate_c = NULL; // Do not clone predicate below merge point
261 }
262 if (predicate_x != NULL && ((len - req_c) > 2)) {
263 assert(predicate_c == NULL, "only one predicate entry expected");
264 predicate_x = NULL; // Do not clone predicate below merge point
257 } 265 }
258 266
259 // Register the new RegionNodes but do not transform them. Cannot 267 // Register the new RegionNodes but do not transform them. Cannot
260 // transform until the entire Region/Phi conglomerate has been hacked 268 // transform until the entire Region/Phi conglomerate has been hacked
261 // as a single huge transform. 269 // as a single huge transform.

mercurial