src/hotspot/share/opto/matcher.cpp
changeset 58516 d376d86b0a01
parent 55227 63a62cc10a0a
child 58679 9c3209ff7550
child 58962 2dcfc28a314d
equal deleted inserted replaced
58515:8f849d3ec1e5 58516:d376d86b0a01
  1747   }
  1747   }
  1748 
  1748 
  1749   if (leaf->is_Con() || leaf->is_DecodeNarrowPtr()) {
  1749   if (leaf->is_Con() || leaf->is_DecodeNarrowPtr()) {
  1750     // Record the con for sharing
  1750     // Record the con for sharing
  1751     _shared_nodes.map(leaf->_idx, ex);
  1751     _shared_nodes.map(leaf->_idx, ex);
       
  1752   }
       
  1753 
       
  1754   // Have mach nodes inherit GC barrier data
       
  1755   if (leaf->is_LoadStore()) {
       
  1756     mach->set_barrier_data(leaf->as_LoadStore()->barrier_data());
       
  1757   } else if (leaf->is_Mem()) {
       
  1758     mach->set_barrier_data(leaf->as_Mem()->barrier_data());
  1752   }
  1759   }
  1753 
  1760 
  1754   return ex;
  1761   return ex;
  1755 }
  1762 }
  1756 
  1763