Top Fields Constructors Methods
org.jruby.runtime

public Class CompiledIRBlockBody

extends IRBlockBody
Class Inheritance
Imports
com.headius.invokebinder.Binder, org.jruby.ir.runtime.IRRuntimeHelpers, org.jruby.parser.StaticScope, org.jruby.runtime.builtin.IRubyObject, java.lang.invoke.MethodHandle, .MethodHandles

Field Summary

Modifier and TypeField and Description
protected final MethodHandle
private static final MethodHandle
private final String
protected final MethodHandle
private static final MethodHandles.Lookup
protected MethodHandle
protected MethodHandle
protected MethodHandle
private static final MethodHandle
private static final MethodHandle
protected final MethodHandle
Inherited from org.jruby.runtime.IRBlockBody:
fileNamelineNumber

Constructor Summary

AccessConstructor and Description
public
CompiledIRBlockBody(MethodHandle handle, StaticScope scope, String file, int line, String encodedArgumentDescriptors, long encodedSignature)

Method Summary

Modifier and TypeMethod and Description
protected IRubyObject
public boolean
private static void
checkArity(ThreadContext context, Block selfBlock, IRubyObject[] args, Block block)

protected IRubyObject
public ArgumentDescriptor[]
public MethodHandle
public MethodHandle
public MethodHandle
public MethodHandle
private static IRubyObject[]
protected IRubyObject
Inherited from org.jruby.runtime.IRBlockBody:
callcallcallcallcallcalldoYielddoYielddoYieldLambdagetFilegetLinegetScopeisRubyBlockpostYieldtoAryyieldSpecificyieldSpecificyieldSpecificyieldSpecific

Field Detail

callHandleback to summary
protected final MethodHandle callHandle
CHECK_ARITYback to summary
private static final MethodHandle CHECK_ARITY
encodedArgumentDescriptorsback to summary
private final String encodedArgumentDescriptors
handleback to summary
protected final MethodHandle handle
LOOKUPback to summary
private static final MethodHandles.Lookup LOOKUP
normalYieldHandleback to summary
protected MethodHandle normalYieldHandle
normalYieldSpecificHandleback to summary
protected MethodHandle normalYieldSpecificHandle
normalYieldUnwrapHandleback to summary
protected MethodHandle normalYieldUnwrapHandle
VALUE_TO_ARRAYback to summary
private static final MethodHandle VALUE_TO_ARRAY
WRAP_VALUEback to summary
private static final MethodHandle WRAP_VALUE
yieldDirectHandleback to summary
protected final MethodHandle yieldDirectHandle

Constructor Detail

CompiledIRBlockBodyback to summary
public CompiledIRBlockBody(MethodHandle handle, StaticScope scope, String file, int line, String encodedArgumentDescriptors, long encodedSignature)

Method Detail

callDirectback to summary
protected IRubyObject callDirect(ThreadContext context, Block block, IRubyObject[] args, Block blockArg)

Overrides org.jruby.runtime.BlockBody.callDirect.

Annotations
@Override
canCallDirectback to summary
public boolean canCallDirect()

Implements abstract org.jruby.runtime.IRBlockBody.canCallDirect.

Annotations
@Override
checkArityback to summary
private static void checkArity(ThreadContext context, Block selfBlock, IRubyObject[] args, Block block)
commonYieldPathback to summary
protected IRubyObject commonYieldPath(ThreadContext context, Block block, IRubyObject[] args, IRubyObject self, Block blockArg)

Implements abstract org.jruby.runtime.IRBlockBody.commonYieldPath.

Annotations
@Override
getArgumentDescriptorsback to summary
public ArgumentDescriptor[] getArgumentDescriptors()

Overrides org.jruby.runtime.BlockBody.getArgumentDescriptors.

Annotations
@Override
getCallHandleback to summary
public MethodHandle getCallHandle()
getNormalYieldHandleback to summary
public MethodHandle getNormalYieldHandle()
getNormalYieldSpecificHandleback to summary
public MethodHandle getNormalYieldSpecificHandle()
getNormalYieldUnwrapHandleback to summary
public MethodHandle getNormalYieldUnwrapHandle()
wrapValueback to summary
private static IRubyObject[] wrapValue(IRubyObject value)
yieldDirectback to summary
protected IRubyObject yieldDirect(ThreadContext context, Block block, IRubyObject[] args, IRubyObject self)

Overrides org.jruby.runtime.BlockBody.yieldDirect.

Annotations
@Override