jruby/docs BETA
Navigation
org.jruby.ir.targets.simple 14
C ConstantLookupSite
C NormalArgumentsCompiler
C NormalBlockCompiler
C NormalBranchCompiler
C NormalCheckpointCompiler
C NormalConstantCompiler
C NormalDynamicValueCompiler
C NormalGlobalVariableCompiler
C NormalInstanceVariableCompiler
C NormalInvocationCompiler
C NormalInvokeSite
C NormalLocalVariableCompiler
C NormalValueCompiler
C NormalYieldCompiler
NormalInvokeSite — members 4+
F BOOTSTRAP() Handle
C new(type, name, literal_closure, flags, file, line)
M bootstrap(lookup, name, type, closure_int, flags, file, line) CallSite
M new_site(lookup, method_name, type, literal_closure, flags, file, line) NormalInvokeSite
from CallSite
M type() MethodType
from MutableCallSite
M dynamic_invoker() MethodHandle
M target() MethodHandle
from InvokeSite
F NEGATE MethodHandle
F argOffset int
F arity int
F fullSignature Signature
F functional boolean
F signature Signature
M fail(context, caller, self, args, block) IRubyObject
M fail(context, caller, self, block) IRubyObject
M fail(context, caller, self, arg0, block) IRubyObject
M fail(context, caller, self, arg0, arg1, block) IRubyObject
M fail(context, caller, self, arg0, arg1, arg2, block) IRubyObject
M failf(context, self, args, block) IRubyObject
M failf(context, self, block) IRubyObject
M failf(context, self, arg0, block) IRubyObject
M failf(context, self, arg0, arg1, block) IRubyObject
M failf(context, self, arg0, arg1, arg2, block) IRubyObject
C initial_target=(target)
M invoke(context, caller, self, args, block) IRubyObject
M invoke(context, self, args, block) IRubyObject
M method_missing(entry, caller) boolean
M method_missing(entry) boolean
M name() String
M prepare_binder(varargs) Binder
C target=(target)
M to_string() String

org.jruby.ir.targets.simple.NormalInvokeSite

class extends InvokeSite 4 members

Created by headius on 10/23/14.

Constants

constanttypenote
BOOTSTRAP Handle

Constructors

new

new ( MethodType type, String name, boolean literal_closure, int flags, String file, int line )
Java: <init>(java.lang.invoke.MethodType type, String name, boolean literalClosure, int flags, String file, int line)

Class Methods

bootstrap

CallSite bootstrap ( MethodHandles.Lookup lookup, String name, MethodType type, int closure_int, int flags, String file, int line )
Java: bootstrap(java.lang.invoke.MethodHandles.Lookup lookup, String name, java.lang.invoke.MethodType type, int closureInt, int flags, String file, int line)

new_site

NormalInvokeSite new_site ( MethodHandles.Lookup lookup, String method_name, MethodType type, boolean literal_closure, int flags, String file, int line )
Java: newSite(java.lang.invoke.MethodHandles.Lookup lookup, String methodName, java.lang.invoke.MethodType type, boolean literalClosure, int flags, String file, int line)

Inherited

from CallSite

type

MethodType type ( )
Java: type()

from MutableCallSite

dynamic_invoker

MethodHandle dynamic_invoker ( )
Java: dynamicInvoker()

target

MethodHandle target ( )
Java: getTarget() · also: get_target

from InvokeSite

fieldtypenote
NEGATE MethodHandle
argOffset int
arity int
fullSignature Signature
functional boolean
signature Signature

fail

IRubyObject fail ( ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject[] args, Block block )
Java: fail(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject caller, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.builtin.IRubyObject[] args, org.jruby.runtime.Block block)

Failover version uses a monomorphic cache and DynamicMethod.call, as in non-indy.

fail

IRubyObject fail ( ThreadContext context, IRubyObject caller, IRubyObject self, Block block )
Java: fail(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject caller, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.Block block)

Failover version uses a monomorphic cache and DynamicMethod.call, as in non-indy.

fail

IRubyObject fail ( ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg0, Block block )
Java: fail(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject caller, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.builtin.IRubyObject arg0, org.jruby.runtime.Block block)

Failover version uses a monomorphic cache and DynamicMethod.call, as in non-indy.

fail

IRubyObject fail ( ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg0, IRubyObject arg1, Block block )
Java: fail(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject caller, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.builtin.IRubyObject arg0, org.jruby.runtime.builtin.IRubyObject arg1, org.jruby.runtime.Block block)

Failover version uses a monomorphic cache and DynamicMethod.call, as in non-indy.

fail

IRubyObject fail ( ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, Block block )
Java: fail(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject caller, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.builtin.IRubyObject arg0, org.jruby.runtime.builtin.IRubyObject arg1, org.jruby.runtime.builtin.IRubyObject arg2, org.jruby.runtime.Block block)

Failover version uses a monomorphic cache and DynamicMethod.call, as in non-indy.

failf

IRubyObject failf ( ThreadContext context, IRubyObject self, IRubyObject[] args, Block block )
Java: failf(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.builtin.IRubyObject[] args, org.jruby.runtime.Block block)

Failover version uses a monomorphic cache and DynamicMethod.call, as in non-indy.

failf

IRubyObject failf ( ThreadContext context, IRubyObject self, Block block )
Java: failf(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.Block block)

Failover version uses a monomorphic cache and DynamicMethod.call, as in non-indy.

failf

IRubyObject failf ( ThreadContext context, IRubyObject self, IRubyObject arg0, Block block )
Java: failf(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.builtin.IRubyObject arg0, org.jruby.runtime.Block block)

Failover version uses a monomorphic cache and DynamicMethod.call, as in non-indy.

failf

IRubyObject failf ( ThreadContext context, IRubyObject self, IRubyObject arg0, IRubyObject arg1, Block block )
Java: failf(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.builtin.IRubyObject arg0, org.jruby.runtime.builtin.IRubyObject arg1, org.jruby.runtime.Block block)

Failover version uses a monomorphic cache and DynamicMethod.call, as in non-indy.

failf

IRubyObject failf ( ThreadContext context, IRubyObject self, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, Block block )
Java: failf(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.builtin.IRubyObject arg0, org.jruby.runtime.builtin.IRubyObject arg1, org.jruby.runtime.builtin.IRubyObject arg2, org.jruby.runtime.Block block)

Failover version uses a monomorphic cache and DynamicMethod.call, as in non-indy.

initial_target=

initial_target= ( MethodHandle target )
Java: setInitialTarget(java.lang.invoke.MethodHandle target) · also: set_initial_target

invoke

IRubyObject invoke ( ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject[] args, Block block )
Java: invoke(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject caller, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.builtin.IRubyObject[] args, org.jruby.runtime.Block block)

invoke

IRubyObject invoke ( ThreadContext context, IRubyObject self, IRubyObject[] args, Block block )
Java: invoke(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.builtin.IRubyObject[] args, org.jruby.runtime.Block block)

method_missing

boolean method_missing ( CacheEntry entry, IRubyObject caller )
Java: methodMissing(org.jruby.runtime.callsite.CacheEntry entry, org.jruby.runtime.builtin.IRubyObject caller)

method_missing

boolean method_missing ( CacheEntry entry )
Java: methodMissing(org.jruby.runtime.callsite.CacheEntry entry)

name

String name ( )
Java: name()

prepare_binder

Binder prepare_binder ( boolean varargs )
Java: prepareBinder(boolean varargs)

Prepare a binder for this call site's target, forcing varargs if specified

nametypedescription
varargsbooleanwhether to only call an arg-boxed variable arity path

Returns: the prepared binder

target=

target= ( MethodHandle target )
Java: setTarget(java.lang.invoke.MethodHandle target) · also: set_target

to_string

String to_string ( )
Java: toString()