src/hotspot/share/gc/z/c2/zBarrierSetC2.cpp
changeset 55326 50270ff05a65
parent 55321 ddda023e6f66
child 55536 8313c42345d5
equal deleted inserted replaced
55325:24c59b1579d7 55326:50270ff05a65
   864   assert(!node->is_Store(), "Stores not expected here");
   864   assert(!node->is_Store(), "Stores not expected here");
   865 
   865 
   866   // In some very rare cases a load that doesn't need a barrier will end up here
   866   // In some very rare cases a load that doesn't need a barrier will end up here
   867   // Treat it as a LoadP and the insertion of phis will be done correctly.
   867   // Treat it as a LoadP and the insertion of phis will be done correctly.
   868   if (node->is_Load()) {
   868   if (node->is_Load()) {
   869     assert(node->as_Load()->barrier_data() == 0, "Sanity");
       
   870     call_catch_cleanup_one(phase, node->as_Load(), phase->get_ctrl(node));
   869     call_catch_cleanup_one(phase, node->as_Load(), phase->get_ctrl(node));
   871   } else {
   870   } else {
   872     for (DUIterator_Fast jmax, i = node->fast_outs(jmax); i < jmax; i++) {
   871     for (DUIterator_Fast jmax, i = node->fast_outs(jmax); i < jmax; i++) {
   873       Node* use = node->fast_out(i);
   872       Node* use = node->fast_out(i);
   874       Node* clone = node->clone();
   873       Node* clone = node->clone();