src/hotspot/share/opto/ifnode.cpp
changeset 51078 fc6cfe40e32a
parent 50923 c98bf5aa35c5
child 51430 e2ced90cbd36
equal deleted inserted replaced
51077:9baa91bc7567 51078:fc6cfe40e32a
   385     } else if( v->is_ConstraintCast() ) {
   385     } else if( v->is_ConstraintCast() ) {
   386       proj = v->in(0);          // Controlling projection
   386       proj = v->in(0);          // Controlling projection
   387     } else {
   387     } else {
   388       assert( 0, "do not know how to handle this guy" );
   388       assert( 0, "do not know how to handle this guy" );
   389     }
   389     }
       
   390     guarantee(proj != NULL, "sanity");
   390 
   391 
   391     Node *proj_path_data, *proj_path_ctrl;
   392     Node *proj_path_data, *proj_path_ctrl;
   392     if( proj->Opcode() == Op_IfTrue ) {
   393     if( proj->Opcode() == Op_IfTrue ) {
   393       if( phi_s == NULL ) {
   394       if( phi_s == NULL ) {
   394         // Only construct phi_s if needed, otherwise provides
   395         // Only construct phi_s if needed, otherwise provides