hotspot/src/cpu/sparc/vm/c1_LIRAssembler_sparc.cpp
changeset 21088 4f0ada6dcace
parent 20702 bbe0fcde6e13
child 22504 b1837533ba65
equal deleted inserted replaced
21087:e29be5a1ff5e 21088:4f0ada6dcace
  2563     Label next_test;
  2563     Label next_test;
  2564     // See if the receiver is receiver[n].
  2564     // See if the receiver is receiver[n].
  2565     Address receiver_addr(mdo, md->byte_offset_of_slot(data, ReceiverTypeData::receiver_offset(i)) -
  2565     Address receiver_addr(mdo, md->byte_offset_of_slot(data, ReceiverTypeData::receiver_offset(i)) -
  2566                           mdo_offset_bias);
  2566                           mdo_offset_bias);
  2567     __ ld_ptr(receiver_addr, tmp1);
  2567     __ ld_ptr(receiver_addr, tmp1);
  2568     __ verify_oop(tmp1);
  2568     __ verify_klass_ptr(tmp1);
  2569     __ cmp_and_brx_short(recv, tmp1, Assembler::notEqual, Assembler::pt, next_test);
  2569     __ cmp_and_brx_short(recv, tmp1, Assembler::notEqual, Assembler::pt, next_test);
  2570     Address data_addr(mdo, md->byte_offset_of_slot(data, ReceiverTypeData::receiver_count_offset(i)) -
  2570     Address data_addr(mdo, md->byte_offset_of_slot(data, ReceiverTypeData::receiver_count_offset(i)) -
  2571                       mdo_offset_bias);
  2571                       mdo_offset_bias);
  2572     __ ld_ptr(data_addr, tmp1);
  2572     __ ld_ptr(data_addr, tmp1);
  2573     __ add(tmp1, DataLayout::counter_increment, tmp1);
  2573     __ add(tmp1, DataLayout::counter_increment, tmp1);