hotspot/src/share/vm/opto/ifnode.cpp
changeset 10258 10c77b8c8d3e
parent 10253 35b975b1e8f3
child 12958 009b6c9586d8
equal deleted inserted replaced
10257:c633d62a88dc 10258:10c77b8c8d3e
   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.