public final void invokeJavaMethod(VmMethod method) { if (false) { final int staticsIdx = (VmArray.DATA_OFFSET + method.getStaticsIndex()) << 2; os.writeMOV(INTSIZE, Register.EAX, STATICS, staticsIdx); } else { os.writeMOV_Const(Register.EAX, method); } invokeJavaMethod(method.getSignature());
public final void invokeJavaMethod(String signature) { final int offset = context.getVmMethodNativeCodeField().getOffset(); os.writeCALL(Register.EAX, offset); pushReturnValue(signature);
    public final void invokeJavaMethod(VmMethod method) {        if (false) {            final int staticsIdx = (VmArray.DATA_OFFSET + method.getStaticsIndex()) << 2;            os.writeMOV(INTSIZE, Register.EAX, STATICS, staticsIdx);        } else {            os.writeMOV_Const(Register.EAX, method);        }        invokeJavaMethod(method.getSignature());    }