hotspot/src/share/vm/opto/macro.cpp
changeset 762 1b26adb5fea1
parent 594 9f4474e5dbaf
child 767 64fb1fd7186d
equal deleted inserted replaced
761:312de898447e 762:1b26adb5fea1
  1672       case Node::Class_Lock:
  1672       case Node::Class_Lock:
  1673       case Node::Class_Unlock:
  1673       case Node::Class_Unlock:
  1674         success = eliminate_locking_node(n->as_AbstractLock());
  1674         success = eliminate_locking_node(n->as_AbstractLock());
  1675         break;
  1675         break;
  1676       default:
  1676       default:
  1677         assert(false, "unknown node type in macro list");
  1677         if (n->Opcode() == Op_Opaque1 || n->Opcode() == Op_Opaque2) {
       
  1678           _igvn.add_users_to_worklist(n);
       
  1679           _igvn.hash_delete(n);
       
  1680           _igvn.subsume_node(n, n->in(1));
       
  1681           success = true;
       
  1682         } else {
       
  1683           assert(false, "unknown node type in macro list");
       
  1684         }
  1678       }
  1685       }
  1679       assert(success == (C->macro_count() < old_macro_count), "elimination reduces macro count");
  1686       assert(success == (C->macro_count() < old_macro_count), "elimination reduces macro count");
  1680       progress = progress || success;
  1687       progress = progress || success;
  1681     }
  1688     }
  1682   }
  1689   }