< prev index next >

src/hotspot/cpu/aarch64/gc/shenandoah/c1/shenandoahBarrierSetC1_aarch64.cpp

Print this page

        

*** 97,107 **** assert(type == T_INT || type == T_OBJECT || type == T_ARRAY LP64_ONLY( || type == T_LONG ), "unexpected type"); LIR_Opr tmp = gen->new_register(T_INT); __ xchg(access.resolved_addr(), value_opr, result, tmp); if (access.is_oop()) { ! result = load_reference_barrier(access.gen(), result); LIR_Opr tmp = gen->new_register(type); __ move(result, tmp); result = tmp; if (ShenandoahSATBBarrier) { pre_barrier(access.gen(), access.access_emit_info(), access.decorators(), LIR_OprFact::illegalOpr, --- 97,107 ---- assert(type == T_INT || type == T_OBJECT || type == T_ARRAY LP64_ONLY( || type == T_LONG ), "unexpected type"); LIR_Opr tmp = gen->new_register(T_INT); __ xchg(access.resolved_addr(), value_opr, result, tmp); if (access.is_oop()) { ! result = load_reference_barrier(access.gen(), result, LIR_OprFact::addressConst(0)); LIR_Opr tmp = gen->new_register(type); __ move(result, tmp); result = tmp; if (ShenandoahSATBBarrier) { pre_barrier(access.gen(), access.access_emit_info(), access.decorators(), LIR_OprFact::illegalOpr,
< prev index next >