public class ArrayDerefInvokeSite extends NormalInvokeSite
Modifier and Type | Field and Description |
---|---|
static org.objectweb.asm.Handle |
BOOTSTRAP |
callType, file, line, methodName
Constructor and Description |
---|
ArrayDerefInvokeSite(java.lang.invoke.MethodType type,
String file,
int line) |
Modifier and Type | Method and Description |
---|---|
static java.lang.invoke.CallSite |
bootstrap(java.lang.invoke.MethodHandles.Lookup lookup,
String name,
java.lang.invoke.MethodType type,
String file,
int line) |
IRubyObject |
fail(ThreadContext context,
IRubyObject caller,
IRubyObject self,
IRubyObject[] args,
Block block)
Failover version uses a monomorphic cache and DynamicMethod.call, as in non-indy.
|
IRubyObject |
invoke(ThreadContext context,
IRubyObject caller,
IRubyObject self,
IRubyObject[] args,
Block block) |
methodMissing
bootstrap, callMethodMissing, callMethodMissing, callMethodMissing, callMethodMissing, fail, fail, fail, fail, name, pollAndGetClass, prepareBinder, setInitialTarget, setTarget, testClass, testMetaclass, toString
dynamicInvoker, getTarget, syncAll
type
public ArrayDerefInvokeSite(java.lang.invoke.MethodType type, String file, int line)
public static java.lang.invoke.CallSite bootstrap(java.lang.invoke.MethodHandles.Lookup lookup, String name, java.lang.invoke.MethodType type, String file, int line)
public IRubyObject invoke(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject[] args, Block block) throws Throwable
invoke
in class InvokeSite
Throwable
public IRubyObject fail(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject[] args, Block block) throws Throwable
fail
in class InvokeSite
Throwable
Copyright © 2001-2017 JRuby. All Rights Reserved.