< prev index next >
src/hotspot/cpu/x86/macroAssembler_x86.cpp
Print this page
rev 50904 : Move Shenandoah stubs generation into ShenandoahBarrierSetAssembler
*** 5311,5322 ****
if (dst != rax) {
xchgptr(dst, rax); // Move obj into rax and save rax into obj.
}
! assert(StubRoutines::x86::shenandoah_wb() != NULL, "need write barrier stub");
! call(RuntimeAddress(CAST_FROM_FN_PTR(address, StubRoutines::x86::shenandoah_wb())));
if (dst != rax) {
xchgptr(rax, dst); // Swap back obj with rax.
}
--- 5311,5322 ----
if (dst != rax) {
xchgptr(dst, rax); // Move obj into rax and save rax into obj.
}
! assert(ShenandoahBarrierSetAssembler::shenandoah_wb() != NULL, "need write barrier stub");
! call(RuntimeAddress(CAST_FROM_FN_PTR(address, ShenandoahBarrierSetAssembler::shenandoah_wb())));
if (dst != rax) {
xchgptr(rax, dst); // Swap back obj with rax.
}
< prev index next >