hotspot/src/share/vm/opto/library_call.cpp
changeset 9185 7b717a00a48e
parent 9182 ab3e9e0925ad
child 9333 36b8f9661154
equal deleted inserted replaced
9184:a38a0434a5ff 9185:7b717a00a48e
  2191         sync_kit(ideal);
  2191         sync_kit(ideal);
  2192 
  2192 
  2193         // Use the pre-barrier to record the value in the referent field
  2193         // Use the pre-barrier to record the value in the referent field
  2194         pre_barrier(false /* do_load */,
  2194         pre_barrier(false /* do_load */,
  2195                     __ ctrl(),
  2195                     __ ctrl(),
  2196                     NULL /* obj */, NULL /* adr */, -1 /* alias_idx */, NULL /* val */, NULL /* val_type */,
  2196                     NULL /* obj */, NULL /* adr */, max_juint /* alias_idx */, NULL /* val */, NULL /* val_type */,
  2197                     pre_val /* pre_val */,
  2197                     pre_val /* pre_val */,
  2198                     T_OBJECT);
  2198                     T_OBJECT);
  2199 
  2199 
  2200         // Update IdealKit from graphKit.
  2200         // Update IdealKit from graphKit.
  2201         __ sync_kit(this);
  2201         __ sync_kit(this);
  5417   Node *result = make_load(no_ctrl, adr, object_type, T_OBJECT);
  5417   Node *result = make_load(no_ctrl, adr, object_type, T_OBJECT);
  5418 
  5418 
  5419   // Use the pre-barrier to record the value in the referent field
  5419   // Use the pre-barrier to record the value in the referent field
  5420   pre_barrier(false /* do_load */,
  5420   pre_barrier(false /* do_load */,
  5421               control(),
  5421               control(),
  5422               NULL /* obj */, NULL /* adr */, -1 /* alias_idx */, NULL /* val */, NULL /* val_type */,
  5422               NULL /* obj */, NULL /* adr */, max_juint /* alias_idx */, NULL /* val */, NULL /* val_type */,
  5423               result /* pre_val */,
  5423               result /* pre_val */,
  5424               T_OBJECT);
  5424               T_OBJECT);
  5425 
  5425 
  5426   push(result);
  5426   push(result);
  5427   return true;
  5427   return true;