public static CallSite floatOperatorBootstrap(Lookup lookup, String name, MethodType type, double value, String file, int line) throws NoSuchMethodException, IllegalAccessException { String[] names = name.split(":"); String operator = JavaNameMangler.demangleMethodName(names[1]); JRubyCallSite site = new JRubyCallSite(lookup, type, CallType.NORMAL, file, line, operator, false, false, true); MethodHandle target = lookup.findStatic(MathLinker.class, "floatOperator", methodType(IRubyObject.class, ThreadContext.class, IRubyObject.class, IRubyObject.class, JRubyCallSite.class, double.class)); target = insertArguments(target, 3, site, value); site.setTarget(target); return site; }
public static CallSite fixnumBooleanBootstrap(Lookup lookup, String name, MethodType type, long value, String file, int line) throws NoSuchMethodException, IllegalAccessException { String[] names = name.split(":"); String operator = JavaNameMangler.demangleMethodName(names[1]); JRubyCallSite site = new JRubyCallSite(lookup, type, CallType.NORMAL, file, line, operator, false, false, true); MethodHandle target = lookup.findStatic(MathLinker.class, "fixnumBoolean", methodType(boolean.class, ThreadContext.class, IRubyObject.class, IRubyObject.class, JRubyCallSite.class, long.class)); target = insertArguments(target, 3, site, value); site.setTarget(target); return site; }
public static CallSite fixnumOperatorBootstrap(Lookup lookup, String name, MethodType type, long value, String file, int line) throws NoSuchMethodException, IllegalAccessException { String[] names = name.split(":"); String operator = JavaNameMangler.demangleMethodName(names[1]); JRubyCallSite site = new JRubyCallSite(lookup, type, CallType.NORMAL, file, line, operator, false, false, true); MethodHandle target = lookup.findStatic(MathLinker.class, "fixnumOperator", methodType(IRubyObject.class, ThreadContext.class, IRubyObject.class, IRubyObject.class, JRubyCallSite.class, long.class)); target = insertArguments(target, 3, site, value); site.setTarget(target); return site; }
public static CallSite fixnumBooleanBootstrap(Lookup lookup, String name, MethodType type, long value, String file, int line) throws NoSuchMethodException, IllegalAccessException { String[] names = name.split(":"); String operator = JavaNameMangler.demangleMethodName(names[1]); JRubyCallSite site = new JRubyCallSite(lookup, type, CallType.NORMAL, file, line, operator, false, false, true); MethodHandle target = lookup.findStatic(MathLinker.class, "fixnumBoolean", methodType(boolean.class, ThreadContext.class, IRubyObject.class, IRubyObject.class, JRubyCallSite.class, long.class)); target = insertArguments(target, 3, site, value); site.setTarget(target); return site; }
public static CallSite floatOperatorBootstrap(Lookup lookup, String name, MethodType type, double value, String file, int line) throws NoSuchMethodException, IllegalAccessException { String[] names = name.split(":"); String operator = JavaNameMangler.demangleMethodName(names[1]); JRubyCallSite site = new JRubyCallSite(lookup, type, CallType.NORMAL, file, line, operator, false, false, true); MethodHandle target = lookup.findStatic(MathLinker.class, "floatOperator", methodType(IRubyObject.class, ThreadContext.class, IRubyObject.class, IRubyObject.class, JRubyCallSite.class, double.class)); target = insertArguments(target, 3, site, value); site.setTarget(target); return site; }
public static CallSite fixnumOperatorBootstrap(Lookup lookup, String name, MethodType type, long value, String file, int line) throws NoSuchMethodException, IllegalAccessException { String[] names = name.split(":"); String operator = JavaNameMangler.demangleMethodName(names[1]); JRubyCallSite site = new JRubyCallSite(lookup, type, CallType.NORMAL, file, line, operator, false, false, true); MethodHandle target = lookup.findStatic(MathLinker.class, "fixnumOperator", methodType(IRubyObject.class, ThreadContext.class, IRubyObject.class, IRubyObject.class, JRubyCallSite.class, long.class)); target = insertArguments(target, 3, site, value); site.setTarget(target); return site; }
public static CallSite fixnumBooleanBootstrap(Lookup lookup, String name, MethodType type, long value, int callType, String file, int line) throws NoSuchMethodException, IllegalAccessException { List<String> names = StringSupport.split(name, ':'); String operator = JavaNameMangler.demangleMethodName(names.get(1)); JRubyCallSite site = new JRubyCallSite(lookup, type, CALL_TYPES[callType], file, line, operator, true); MethodHandle target = FIXNUM_BOOLEAN; target = insertArguments(target, 3, site, value); site.setTarget(target); return site; }
public static CallSite fixnumOperatorBootstrap(Lookup lookup, String name, MethodType type, long value, int callType, String file, int line) throws NoSuchMethodException, IllegalAccessException { List<String> names = StringSupport.split(name, ':'); String operator = JavaNameMangler.demangleMethodName(names.get(1)); JRubyCallSite site = new JRubyCallSite(lookup, type, CALL_TYPES[callType], file, line, operator, true); MethodHandle target = FIXNUM_OPERATOR; target = insertArguments(target, 3, site, value); site.setTarget(target); return site; }
public static CallSite fixnumOperatorBootstrap(Lookup lookup, String name, MethodType type, long value, int callType, String file, int line) throws NoSuchMethodException, IllegalAccessException { List<String> names = StringSupport.split(name, ':'); String operator = JavaNameMangler.demangleMethodName(names.get(1)); JRubyCallSite site = new JRubyCallSite(lookup, type, CALL_TYPES[callType], file, line, operator, true); MethodHandle target = FIXNUM_OPERATOR; target = insertArguments(target, 3, site, value); site.setTarget(target); return site; }
public static CallSite floatOperatorBootstrap(Lookup lookup, String name, MethodType type, double value, int callType, String file, int line) throws NoSuchMethodException, IllegalAccessException { List<String> names = StringSupport.split(name, ':'); String operator = JavaNameMangler.demangleMethodName(names.get(1)); JRubyCallSite site = new JRubyCallSite(lookup, type, CALL_TYPES[callType], file, line, operator, true); MethodHandle target = FLOAT_OPERATOR; target = insertArguments(target, 3, site, value); site.setTarget(target); return site; }
public static CallSite fixnumBooleanBootstrap(Lookup lookup, String name, MethodType type, long value, int callType, String file, int line) throws NoSuchMethodException, IllegalAccessException { List<String> names = StringSupport.split(name, ':'); String operator = JavaNameMangler.demangleMethodName(names.get(1)); JRubyCallSite site = new JRubyCallSite(lookup, type, CALL_TYPES[callType], file, line, operator, true); MethodHandle target = FIXNUM_BOOLEAN; target = insertArguments(target, 3, site, value); site.setTarget(target); return site; }
public static CallSite floatOperatorBootstrap(Lookup lookup, String name, MethodType type, double value, int callType, String file, int line) throws NoSuchMethodException, IllegalAccessException { List<String> names = StringSupport.split(name, ':'); String operator = JavaNameMangler.demangleMethodName(names.get(1)); JRubyCallSite site = new JRubyCallSite(lookup, type, CALL_TYPES[callType], file, line, operator, true); MethodHandle target = FLOAT_OPERATOR; target = insertArguments(target, 3, site, value); site.setTarget(target); return site; }
.guardWithTest(target, fallback); site.setTarget(target);
.guardWithTest(target, fallback); site.setTarget(target);
.guardWithTest(target, fallback); site.setTarget(target);
.guardWithTest(target, fallback); site.setTarget(target);