@Override public void invokeOtherOneFloat(String file, int line, CallBase call, double flote) { String id = call.getId(); if (!MethodIndex.hasFastFloatOps(id)) { pushFloat(flote); if (call.getCallType() == CallType.NORMAL) { invokeOther(file, line, null, call, 1); } else { invokeSelf(file, line, null, call, 1); } return; } String signature = sig(IRubyObject.class, params(ThreadContext.class, IRubyObject.class, IRubyObject.class)); adapter.invokedynamic( "floatOperator:" + JavaNameMangler.mangleMethodName(id), signature, Bootstrap.getFloatOperatorHandle(), flote, call.getCallType().ordinal(), "", 0); }
@Override public void invokeOtherOneFloat(String file, int line, CallBase call, double flote) { String id = call.getId(); if (!MethodIndex.hasFastFloatOps(id)) { pushFloat(flote); if (call.getCallType() == CallType.NORMAL) { invokeOther(file, line, null, call, 1); } else { invokeSelf(file, line, null, call, 1); } return; } String signature = sig(IRubyObject.class, params(ThreadContext.class, IRubyObject.class, IRubyObject.class)); adapter.invokedynamic( "floatOperator:" + JavaNameMangler.mangleMethodName(id), signature, Bootstrap.getFloatOperatorHandle(), flote, call.getCallType().ordinal(), "", 0); }
if (MethodIndex.hasFastFloatOps(name)) { context.getInvocationCompiler().invokeBinaryFloatRHS(name, receiverCallback, ((FloatNode)argument).getValue()); if (!expr) context.consumeCurrentValue();
if (MethodIndex.hasFastFloatOps(name)) { context.getInvocationCompiler().invokeBinaryFloatRHS(name, receiverCallback, ((FloatNode)argument).getValue()); if (!expr) context.consumeCurrentValue();
@Override public void invokeOtherOneFloat(String file, int line, CallBase call, double flote) { String id = call.getId(); if (!MethodIndex.hasFastFloatOps(id)) { pushFloat(flote); if (call.getCallType() == CallType.NORMAL) {
@Override public void invokeOtherOneFloat(String file, int line, CallBase call, double flote) { String id = call.getId(); if (!MethodIndex.hasFastFloatOps(id)) { pushFloat(flote); if (call.getCallType() == CallType.NORMAL) {