< prev index next >

src/hotspot/share/gc/z/c2/zBarrierSetC2.cpp

Print this page

        

@@ -112,13 +112,13 @@
       unregister_potential_barrier_node(n);
     }
   }
 }
 
-void ZBarrierSetC2::enqueue_useful_gc_barrier(Unique_Node_List &worklist, Node* node) const {
+void ZBarrierSetC2::enqueue_useful_gc_barrier(PhaseIterGVN* igvn, Node* node) const {
   if (node->is_LoadBarrier() && !node->as_LoadBarrier()->has_true_uses()) {
-    worklist.push(node);
+    igvn->_worklist.push(node);
   }
 }
 
 void ZBarrierSetC2::find_dominating_barriers(PhaseIterGVN& igvn) {
   // Look for dominating barriers on the same address only once all
< prev index next >