src/hotspot/cpu/aarch64/gc/shenandoah/shenandoahBarrierSetAssembler_aarch64.cpp
changeset 55735 08893cf52ee9
parent 55718 9fbc32392798
child 57542 db740ced41c4
equal deleted inserted replaced
55734:51f5b4c29626 55735:08893cf52ee9
   511 
   511 
   512   if (res != obj) {
   512   if (res != obj) {
   513     __ mov(res, obj);
   513     __ mov(res, obj);
   514   }
   514   }
   515   // Check for null.
   515   // Check for null.
   516   if (stub->needs_null_check()) {
   516   __ cbz(res, done);
   517     __ cbz(res, done);
       
   518   }
       
   519 
   517 
   520   load_reference_barrier_not_null(ce->masm(), res, rscratch1);
   518   load_reference_barrier_not_null(ce->masm(), res, rscratch1);
   521 
   519 
   522   __ bind(done);
   520   __ bind(done);
   523   __ b(*stub->continuation());
   521   __ b(*stub->continuation());