src/hotspot/share/opto/ifnode.cpp
branchdatagramsocketimpl-branch
changeset 58678 9cf78a70fa4f
parent 54653 332f28c3a105
child 58960 f79a8217d4c9
equal deleted inserted replaced
58677:13588c901957 58678:9cf78a70fa4f
  1477 //------------------------------dominated_by-----------------------------------
  1477 //------------------------------dominated_by-----------------------------------
  1478 Node* IfNode::dominated_by(Node* prev_dom, PhaseIterGVN *igvn) {
  1478 Node* IfNode::dominated_by(Node* prev_dom, PhaseIterGVN *igvn) {
  1479 #ifndef PRODUCT
  1479 #ifndef PRODUCT
  1480   if (TraceIterativeGVN) {
  1480   if (TraceIterativeGVN) {
  1481     tty->print("   Removing IfNode: "); this->dump();
  1481     tty->print("   Removing IfNode: "); this->dump();
  1482   }
       
  1483   if (VerifyOpto && !igvn->allow_progress()) {
       
  1484     // Found an equivalent dominating test,
       
  1485     // we can not guarantee reaching a fix-point for these during iterativeGVN
       
  1486     // since intervening nodes may not change.
       
  1487     return NULL;
       
  1488   }
  1482   }
  1489 #endif
  1483 #endif
  1490 
  1484 
  1491   igvn->hash_delete(this);      // Remove self to prevent spurious V-N
  1485   igvn->hash_delete(this);      // Remove self to prevent spurious V-N
  1492   Node *idom = in(0);
  1486   Node *idom = in(0);