Package org.jruby.ir.targets.indy
Class ArrayDerefInvokeSite
java.lang.Object
java.lang.invoke.CallSite
java.lang.invoke.MutableCallSite
org.jruby.ir.targets.indy.InvokeSite
org.jruby.ir.targets.simple.NormalInvokeSite
org.jruby.ir.targets.indy.ArrayDerefInvokeSite
Created by headius on 10/23/14.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.objectweb.asm.Handleprivate static final MethodHandleFields inherited from class org.jruby.ir.targets.indy.InvokeSite
arity, cache, callType, file, fullSignature, line, methodName, NEGATE, signature -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CallSitebootstrap(MethodHandles.Lookup lookup, String name, MethodType type, String file, int line) fail(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject[] args, Block block) Failover version uses a monomorphic cache and DynamicMethod.call, as in non-indy.invoke(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject[] args, Block block) Methods inherited from class org.jruby.ir.targets.simple.NormalInvokeSite
bootstrap, methodMissing, newSiteMethods inherited from class org.jruby.ir.targets.indy.InvokeSite
bootstrap, callMethodMissing, callMethodMissing, callMethodMissing, callMethodMissing, fail, fail, fail, fail, getHandle, name, negate, pollAndGetClass, prepareBinder, setInitialTarget, setTarget, testClass, toString, updateInvocationTargetMethods inherited from class java.lang.invoke.MutableCallSite
dynamicInvoker, getTarget, syncAll
-
Field Details
-
BOOTSTRAP
public static final org.objectweb.asm.Handle BOOTSTRAP -
STRDUP_FILTER
-
-
Constructor Details
-
ArrayDerefInvokeSite
-
-
Method Details
-
bootstrap
public static CallSite bootstrap(MethodHandles.Lookup lookup, String name, MethodType type, String file, int line) -
invoke
public IRubyObject invoke(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject[] args, Block block) throws Throwable - Overrides:
invokein classInvokeSite- Throws:
Throwable
-
fail
public IRubyObject fail(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject[] args, Block block) throws Throwable Failover version uses a monomorphic cache and DynamicMethod.call, as in non-indy.- Overrides:
failin classInvokeSite- Throws:
Throwable
-