writePUSH(refReg); writePUSH(field.getOffset()); writePUSH(valueReg); invokeJavaMethod(context.getPutfieldWriteBarrier(), context);
final VmWriteBarrier wb = context.getWriteBarrier(); if (wb != null) { os.writeMOV_Const(scratchReg, wb); writePUSH(scratchReg); writePUSH(refReg); writePUSH(field.getOffset()); writePUSH(valueReg); invokeJavaMethod(context.getPutfieldWriteBarrier(), context); }
    public final void writePutfieldWriteBarrier(X86CompilerContext context,            VmInstanceField field, Register refReg, Register valueReg) {        if (field.isObjectRef()) {            writePUSH(refReg);            writePUSH(field.getOffset());            writePUSH(valueReg);            invokeJavaMethod(context.getPutfieldWriteBarrier(), context);        }    }