< prev index next >

src/cpu/sparc/vm/templateTable_sparc.cpp

Print this page

        

*** 3151,3165 **** // // find entry point to call // // compute start of first itableOffsetEntry (which is at end of vtable) ! const int base = InstanceKlass::vtable_start_offset() * wordSize; Label search; Register Rtemp = O1_flags; ! __ ld(O2_Klass, InstanceKlass::vtable_length_offset() * wordSize, Rtemp); if (align_object_offset(1) > 1) { __ round_to(Rtemp, align_object_offset(1)); } __ sll(Rtemp, LogBytesPerWord, Rtemp); // Rscratch *= 4; if (Assembler::is_simm13(base)) { --- 3151,3165 ---- // // find entry point to call // // compute start of first itableOffsetEntry (which is at end of vtable) ! const int base = in_bytes(InstanceKlass::vtable_start_offset()); Label search; Register Rtemp = O1_flags; ! __ ld(O2_Klass, in_bytes(InstanceKlass::vtable_length_offset()), Rtemp); if (align_object_offset(1) > 1) { __ round_to(Rtemp, align_object_offset(1)); } __ sll(Rtemp, LogBytesPerWord, Rtemp); // Rscratch *= 4; if (Assembler::is_simm13(base)) {
< prev index next >