src/hotspot/share/opto/node.cpp
changeset 52655 c88468bc7690
parent 52449 bac05440d98c
child 53063 b04860fd2e2c
equal deleted inserted replaced
52654:95ce45e0249f 52655:c88468bc7690
  1140     // Condition for subI(x,subI(y,z)) ==> subI(addI(x,z),y)
  1140     // Condition for subI(x,subI(y,z)) ==> subI(addI(x,z),y)
  1141     return n->Opcode() == op && n->in(2) == this;
  1141     return n->Opcode() == op && n->in(2) == this;
  1142   } else if (is_If() && (n->is_IfFalse() || n->is_IfTrue())) {
  1142   } else if (is_If() && (n->is_IfFalse() || n->is_IfTrue())) {
  1143     // See IfProjNode::Identity()
  1143     // See IfProjNode::Identity()
  1144     return true;
  1144     return true;
  1145   }
  1145   } else {
  1146   return false;
  1146     return BarrierSet::barrier_set()->barrier_set_c2()->has_special_unique_user(this);
       
  1147   }
  1147 };
  1148 };
  1148 
  1149 
  1149 //--------------------------find_exact_control---------------------------------
  1150 //--------------------------find_exact_control---------------------------------
  1150 // Skip Proj and CatchProj nodes chains. Check for Null and Top.
  1151 // Skip Proj and CatchProj nodes chains. Check for Null and Top.
  1151 Node* Node::find_exact_control(Node* ctrl) {
  1152 Node* Node::find_exact_control(Node* ctrl) {