src/hotspot/share/opto/compile.cpp
changeset 58102 b2a4b22f8cf2
parent 57584 9d82a35b6ff7
child 58516 d376d86b0a01
--- a/src/hotspot/share/opto/compile.cpp	Wed Sep 11 16:13:05 2019 +0200
+++ b/src/hotspot/share/opto/compile.cpp	Fri Aug 23 14:22:29 2019 +0200
@@ -3471,7 +3471,7 @@
       // address computations.
       n->as_Type()->set_type(TypeLong::INT);
       ResourceMark rm;
-      Node_List wq;
+      Unique_Node_List wq;
       wq.push(n);
       for (uint next = 0; next < wq.size(); next++) {
         Node *m = wq.at(next);
@@ -3486,7 +3486,6 @@
           // redundant
           for (DUIterator_Fast imax, i = k->fast_outs(imax); i < imax; i++) {
             Node* u = k->fast_out(i);
-            assert(!wq.contains(u), "shouldn't process one node several times");
             if (u->Opcode() == Op_LShiftL ||
                 u->Opcode() == Op_AddL ||
                 u->Opcode() == Op_SubL ||