< prev index next >

src/hotspot/cpu/aarch64/interp_masm_aarch64.cpp

Print this page
*** 1621,11 ***
    cbnz(obj, update);
    orptr(mdo_addr, TypeEntries::null_seen);
    b(next);
  
    bind(update);
!   load_klass(obj, obj);
  
    ldr(rscratch1, mdo_addr);
    eor(obj, obj, rscratch1);
    tst(obj, TypeEntries::type_klass_mask);
    br(Assembler::EQ, next); // klass seen before, nothing to
--- 1621,12 ---
    cbnz(obj, update);
    orptr(mdo_addr, TypeEntries::null_seen);
    b(next);
  
    bind(update);
!   load_klass(rscratch1, obj);
+   mov(obj, rscratch1);
  
    ldr(rscratch1, mdo_addr);
    eor(obj, obj, rscratch1);
    tst(obj, TypeEntries::type_klass_mask);
    br(Assembler::EQ, next); // klass seen before, nothing to
< prev index next >