public abstract class org.jruby.runtime.IRBlockBody extends org.jruby.runtime.ContextAwareBlockBody
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.jruby.runtime.IRBlockBody
super_class: org.jruby.runtime.ContextAwareBlockBody
{
protected final java.lang.String fileName;
descriptor: Ljava/lang/String;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final int lineNumber;
descriptor: I
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final org.jruby.ir.IRClosure closure;
descriptor: Lorg/jruby/ir/IRClosure;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
public void <init>(org.jruby.ir.IRScope, org.jruby.runtime.Signature);
descriptor: (Lorg/jruby/ir/IRScope;Lorg/jruby/runtime/Signature;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.jruby.ir.IRScope.getStaticScope:()Lorg/jruby/parser/StaticScope;
aload 2
invokespecial org.jruby.runtime.ContextAwareBlockBody.<init>:(Lorg/jruby/parser/StaticScope;Lorg/jruby/runtime/Signature;)V
1: aload 0
aload 1
checkcast org.jruby.ir.IRClosure
putfield org.jruby.runtime.IRBlockBody.closure:Lorg/jruby/ir/IRClosure;
2: aload 0
aload 1
invokevirtual org.jruby.ir.IRScope.getFile:()Ljava/lang/String;
putfield org.jruby.runtime.IRBlockBody.fileName:Ljava/lang/String;
3: aload 0
aload 1
invokevirtual org.jruby.ir.IRScope.getLine:()I
putfield org.jruby.runtime.IRBlockBody.lineNumber:I
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/runtime/IRBlockBody;
0 5 1 closure Lorg/jruby/ir/IRScope;
0 5 2 signature Lorg/jruby/runtime/Signature;
MethodParameters:
Name Flags
closure
signature
public abstract boolean canCallDirect();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public org.jruby.runtime.builtin.IRubyObject call(org.jruby.runtime.ThreadContext, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
getstatic org.jruby.runtime.builtin.IRubyObject.NULL_ARRAY:[Lorg/jruby/runtime/builtin/IRubyObject;
getstatic org.jruby.runtime.Block.NULL_BLOCK:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.runtime.IRBlockBody.call:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/IRBlockBody;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 block Lorg/jruby/runtime/Block;
MethodParameters:
Name Flags
context
block
public org.jruby.runtime.builtin.IRubyObject call(org.jruby.runtime.ThreadContext, org.jruby.runtime.Block, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
iconst_1
anewarray org.jruby.runtime.builtin.IRubyObject
dup
iconst_0
aload 3
aastore
getstatic org.jruby.runtime.Block.NULL_BLOCK:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.runtime.IRBlockBody.call:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/IRBlockBody;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 block Lorg/jruby/runtime/Block;
0 1 3 arg0 Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
block
arg0
public org.jruby.runtime.builtin.IRubyObject call(org.jruby.runtime.ThreadContext, org.jruby.runtime.Block, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
iconst_2
anewarray org.jruby.runtime.builtin.IRubyObject
dup
iconst_0
aload 3
aastore
dup
iconst_1
aload 4
aastore
getstatic org.jruby.runtime.Block.NULL_BLOCK:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.runtime.IRBlockBody.call:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/IRBlockBody;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 block Lorg/jruby/runtime/Block;
0 1 3 arg0 Lorg/jruby/runtime/builtin/IRubyObject;
0 1 4 arg1 Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
block
arg0
arg1
public org.jruby.runtime.builtin.IRubyObject call(org.jruby.runtime.ThreadContext, org.jruby.runtime.Block, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
iconst_3
anewarray org.jruby.runtime.builtin.IRubyObject
dup
iconst_0
aload 3
aastore
dup
iconst_1
aload 4
aastore
dup
iconst_2
aload 5
aastore
getstatic org.jruby.runtime.Block.NULL_BLOCK:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.runtime.IRBlockBody.call:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/IRBlockBody;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 block Lorg/jruby/runtime/Block;
0 1 3 arg0 Lorg/jruby/runtime/builtin/IRubyObject;
0 1 4 arg1 Lorg/jruby/runtime/builtin/IRubyObject;
0 1 5 arg2 Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
block
arg0
arg1
arg2
public org.jruby.runtime.builtin.IRubyObject call(org.jruby.runtime.ThreadContext, org.jruby.runtime.Block, org.jruby.runtime.builtin.IRubyObject[]);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
getstatic org.jruby.runtime.Block.NULL_BLOCK:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.runtime.IRBlockBody.call:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/IRBlockBody;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 block Lorg/jruby/runtime/Block;
0 1 3 args [Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
block
args
public org.jruby.runtime.builtin.IRubyObject call(org.jruby.runtime.ThreadContext, org.jruby.runtime.Block, org.jruby.runtime.builtin.IRubyObject[], org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokevirtual org.jruby.runtime.IRBlockBody.canCallDirect:()Z
ifeq 2
1: aload 0
aload 1
aload 2
aload 3
aload 4
invokevirtual org.jruby.runtime.IRBlockBody.callDirect:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
getstatic org.jruby.runtime.Block$Type.PROC:Lorg/jruby/runtime/Block$Type;
aload 0
aload 1
aload 3
aload 2
getfield org.jruby.runtime.Block.type:Lorg/jruby/runtime/Block$Type;
invokevirtual org.jruby.runtime.IRBlockBody.prepareArgumentsForCall:(Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block$Type;)[Lorg/jruby/runtime/builtin/IRubyObject;
aconst_null
aload 4
invokevirtual org.jruby.runtime.IRBlockBody.commonYieldPath:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;Lorg/jruby/runtime/Block$Type;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/runtime/IRBlockBody;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
0 3 2 block Lorg/jruby/runtime/Block;
0 3 3 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 3 4 blockArg Lorg/jruby/runtime/Block;
MethodParameters:
Name Flags
context
block
args
blockArg
public org.jruby.runtime.builtin.IRubyObject yieldSpecific(org.jruby.runtime.ThreadContext, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.jruby.runtime.IRBlockBody.canCallDirect:()Z
ifeq 2
1: aload 0
aload 1
aload 2
aconst_null
aconst_null
invokevirtual org.jruby.runtime.IRBlockBody.yieldDirect:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
2: StackMap locals:
StackMap stack:
getstatic org.jruby.runtime.builtin.IRubyObject.NULL_ARRAY:[Lorg/jruby/runtime/builtin/IRubyObject;
astore 3
start local 3 3: aload 2
getfield org.jruby.runtime.Block.type:Lorg/jruby/runtime/Block$Type;
getstatic org.jruby.runtime.Block$Type.LAMBDA:Lorg/jruby/runtime/Block$Type;
if_acmpne 4
aload 0
getfield org.jruby.runtime.IRBlockBody.signature:Lorg/jruby/runtime/Signature;
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 3
invokevirtual org.jruby.runtime.Signature.checkArity:(Lorg/jruby/Ruby;[Lorg/jruby/runtime/builtin/IRubyObject;)V
4: StackMap locals: org.jruby.runtime.builtin.IRubyObject[]
StackMap stack:
aload 0
aload 1
aload 2
getstatic org.jruby.runtime.Block$Type.NORMAL:Lorg/jruby/runtime/Block$Type;
aload 3
aconst_null
getstatic org.jruby.runtime.Block.NULL_BLOCK:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.runtime.IRBlockBody.commonYieldPath:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;Lorg/jruby/runtime/Block$Type;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/runtime/IRBlockBody;
0 5 1 context Lorg/jruby/runtime/ThreadContext;
0 5 2 block Lorg/jruby/runtime/Block;
3 5 3 args [Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
block
public org.jruby.runtime.builtin.IRubyObject yieldSpecific(org.jruby.runtime.ThreadContext, org.jruby.runtime.Block, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\trestricted identifier yield not allowed here - method calls need to be qualified\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/IRBlockBody;
MethodParameters:
Name Flags
context
block
arg0
private org.jruby.runtime.builtin.IRubyObject yieldSpecificMultiArgsCommon(org.jruby.runtime.ThreadContext, org.jruby.runtime.Block, org.jruby.runtime.builtin.IRubyObject[]);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0082) ACC_PRIVATE, ACC_VARARGS
Code:
stack=7, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.jruby.runtime.IRBlockBody.signature:Lorg/jruby/runtime/Signature;
invokevirtual org.jruby.runtime.Signature.arityValue:()I
istore 4
start local 4 1: iload 4
iconst_1
if_icmpne 3
2: iconst_1
anewarray org.jruby.runtime.builtin.IRubyObject
dup
iconst_0
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 3
invokestatic org.jruby.RubyArray.newArrayMayCopy:(Lorg/jruby/Ruby;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
aastore
astore 3
3: StackMap locals: int
StackMap stack:
aload 0
invokevirtual org.jruby.runtime.IRBlockBody.canCallDirect:()Z
ifeq 4
aload 0
aload 1
aload 2
aload 3
aconst_null
invokevirtual org.jruby.runtime.IRBlockBody.yieldDirect:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
4: StackMap locals:
StackMap stack:
iload 4
ifne 6
5: getstatic org.jruby.runtime.builtin.IRubyObject.NULL_ARRAY:[Lorg/jruby/runtime/builtin/IRubyObject;
astore 3
6: StackMap locals:
StackMap stack:
aload 2
getfield org.jruby.runtime.Block.type:Lorg/jruby/runtime/Block$Type;
getstatic org.jruby.runtime.Block$Type.LAMBDA:Lorg/jruby/runtime/Block$Type;
if_acmpne 7
aload 0
getfield org.jruby.runtime.IRBlockBody.signature:Lorg/jruby/runtime/Signature;
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 3
invokevirtual org.jruby.runtime.Signature.checkArity:(Lorg/jruby/Ruby;[Lorg/jruby/runtime/builtin/IRubyObject;)V
7: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
getstatic org.jruby.runtime.Block$Type.NORMAL:Lorg/jruby/runtime/Block$Type;
aload 3
aconst_null
getstatic org.jruby.runtime.Block.NULL_BLOCK:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.runtime.IRBlockBody.commonYieldPath:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;Lorg/jruby/runtime/Block$Type;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/jruby/runtime/IRBlockBody;
0 8 1 context Lorg/jruby/runtime/ThreadContext;
0 8 2 block Lorg/jruby/runtime/Block;
0 8 3 args [Lorg/jruby/runtime/builtin/IRubyObject;
1 8 4 blockArity I
MethodParameters:
Name Flags
context
block
args
public org.jruby.runtime.builtin.IRubyObject yieldSpecific(org.jruby.runtime.ThreadContext, org.jruby.runtime.Block, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
iconst_2
anewarray org.jruby.runtime.builtin.IRubyObject
dup
iconst_0
aload 3
aastore
dup
iconst_1
aload 4
aastore
invokevirtual org.jruby.runtime.IRBlockBody.yieldSpecificMultiArgsCommon:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/IRBlockBody;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 block Lorg/jruby/runtime/Block;
0 1 3 arg0 Lorg/jruby/runtime/builtin/IRubyObject;
0 1 4 arg1 Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
block
arg0
arg1
public org.jruby.runtime.builtin.IRubyObject yieldSpecific(org.jruby.runtime.ThreadContext, org.jruby.runtime.Block, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
iconst_3
anewarray org.jruby.runtime.builtin.IRubyObject
dup
iconst_0
aload 3
aastore
dup
iconst_1
aload 4
aastore
dup
iconst_2
aload 5
aastore
invokevirtual org.jruby.runtime.IRBlockBody.yieldSpecificMultiArgsCommon:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/IRBlockBody;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 block Lorg/jruby/runtime/Block;
0 1 3 arg0 Lorg/jruby/runtime/builtin/IRubyObject;
0 1 4 arg1 Lorg/jruby/runtime/builtin/IRubyObject;
0 1 5 arg2 Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
block
arg0
arg1
arg2
public static org.jruby.runtime.builtin.IRubyObject[] toAry(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)[Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.jruby.runtime.Helpers.aryToAry:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 2
start local 2 1: aload 2
instanceof org.jruby.RubyArray
ifeq 2
aload 2
checkcast org.jruby.RubyArray
invokevirtual org.jruby.RubyArray.toJavaArray:()[Lorg/jruby/runtime/builtin/IRubyObject;
areturn
2: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 2
aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpne 3
iconst_1
anewarray org.jruby.runtime.builtin.IRubyObject
dup
iconst_0
aload 1
aastore
areturn
3: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
new java.lang.StringBuilder
dup
aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.getType:()Lorg/jruby/RubyClass;
invokevirtual org.jruby.RubyClass.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "#to_ary should return Array"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 context Lorg/jruby/runtime/ThreadContext;
0 4 1 value Lorg/jruby/runtime/builtin/IRubyObject;
1 4 2 ary Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
value
protected org.jruby.runtime.builtin.IRubyObject doYieldLambda(org.jruby.runtime.ThreadContext, org.jruby.runtime.Block, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
ifnonnull 3
1: getstatic org.jruby.runtime.builtin.IRubyObject.NULL_ARRAY:[Lorg/jruby/runtime/builtin/IRubyObject;
astore 4
start local 4 2: goto 7
end local 4 StackMap locals:
StackMap stack:
3: aload 0
getfield org.jruby.runtime.IRBlockBody.signature:Lorg/jruby/runtime/Signature;
invokevirtual org.jruby.runtime.Signature.required:()I
iconst_1
if_icmpeq 4
aload 0
getfield org.jruby.runtime.IRBlockBody.signature:Lorg/jruby/runtime/Signature;
invokevirtual org.jruby.runtime.Signature.arityValue:()I
iconst_m1
if_icmpne 6
4: StackMap locals:
StackMap stack:
iconst_1
anewarray org.jruby.runtime.builtin.IRubyObject
dup
iconst_0
aload 3
aastore
astore 4
start local 4 5: goto 7
end local 4 6: StackMap locals:
StackMap stack:
aload 1
aload 3
invokestatic org.jruby.runtime.IRBlockBody.toAry:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)[Lorg/jruby/runtime/builtin/IRubyObject;
astore 4
start local 4 7: StackMap locals: org.jruby.runtime.builtin.IRubyObject[]
StackMap stack:
aload 0
getfield org.jruby.runtime.IRBlockBody.signature:Lorg/jruby/runtime/Signature;
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 4
invokevirtual org.jruby.runtime.Signature.checkArity:(Lorg/jruby/Ruby;[Lorg/jruby/runtime/builtin/IRubyObject;)V
8: aload 0
aload 1
aload 2
getstatic org.jruby.runtime.Block$Type.NORMAL:Lorg/jruby/runtime/Block$Type;
aload 4
aconst_null
getstatic org.jruby.runtime.Block.NULL_BLOCK:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.runtime.IRBlockBody.commonYieldPath:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;Lorg/jruby/runtime/Block$Type;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jruby/runtime/IRBlockBody;
0 9 1 context Lorg/jruby/runtime/ThreadContext;
0 9 2 block Lorg/jruby/runtime/Block;
0 9 3 value Lorg/jruby/runtime/builtin/IRubyObject;
2 3 4 args [Lorg/jruby/runtime/builtin/IRubyObject;
5 6 4 args [Lorg/jruby/runtime/builtin/IRubyObject;
7 9 4 args [Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
block
value
public org.jruby.runtime.builtin.IRubyObject doYield(org.jruby.runtime.ThreadContext, org.jruby.runtime.Block, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
getfield org.jruby.runtime.Block.type:Lorg/jruby/runtime/Block$Type;
getstatic org.jruby.runtime.Block$Type.LAMBDA:Lorg/jruby/runtime/Block$Type;
if_acmpne 1
aload 0
aload 1
aload 2
aload 3
invokevirtual org.jruby.runtime.IRBlockBody.doYieldLambda:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
1: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.runtime.IRBlockBody.signature:Lorg/jruby/runtime/Signature;
invokevirtual org.jruby.runtime.Signature.arityValue:()I
istore 4
start local 4 2: aload 3
ifnonnull 5
3: getstatic org.jruby.runtime.builtin.IRubyObject.NULL_ARRAY:[Lorg/jruby/runtime/builtin/IRubyObject;
astore 5
start local 5 4: goto 9
end local 5 StackMap locals: int
StackMap stack:
5: aload 0
getfield org.jruby.runtime.IRBlockBody.signature:Lorg/jruby/runtime/Signature;
invokevirtual org.jruby.runtime.Signature.hasKwargs:()Z
ifne 8
iload 4
iconst_m1
if_icmplt 8
iload 4
iconst_1
if_icmpgt 8
6: iconst_1
anewarray org.jruby.runtime.builtin.IRubyObject
dup
iconst_0
aload 3
aastore
astore 5
start local 5 7: goto 9
end local 5 8: StackMap locals:
StackMap stack:
aload 1
aload 3
invokestatic org.jruby.runtime.IRBlockBody.toAry:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)[Lorg/jruby/runtime/builtin/IRubyObject;
astore 5
start local 5 9: StackMap locals: org.jruby.runtime.builtin.IRubyObject[]
StackMap stack:
aload 0
aload 1
aload 2
getstatic org.jruby.runtime.Block$Type.NORMAL:Lorg/jruby/runtime/Block$Type;
aload 5
aconst_null
getstatic org.jruby.runtime.Block.NULL_BLOCK:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.runtime.IRBlockBody.commonYieldPath:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;Lorg/jruby/runtime/Block$Type;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/jruby/runtime/IRBlockBody;
0 10 1 context Lorg/jruby/runtime/ThreadContext;
0 10 2 block Lorg/jruby/runtime/Block;
0 10 3 value Lorg/jruby/runtime/builtin/IRubyObject;
2 10 4 blockArity I
4 5 5 args [Lorg/jruby/runtime/builtin/IRubyObject;
7 8 5 args [Lorg/jruby/runtime/builtin/IRubyObject;
9 10 5 args [Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
block
value
public org.jruby.runtime.builtin.IRubyObject doYield(org.jruby.runtime.ThreadContext, org.jruby.runtime.Block, org.jruby.runtime.builtin.IRubyObject[], org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
getfield org.jruby.runtime.Block.type:Lorg/jruby/runtime/Block$Type;
getstatic org.jruby.runtime.Block$Type.LAMBDA:Lorg/jruby/runtime/Block$Type;
if_acmpne 1
aload 0
getfield org.jruby.runtime.IRBlockBody.signature:Lorg/jruby/runtime/Signature;
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 3
invokevirtual org.jruby.runtime.Signature.checkArity:(Lorg/jruby/Ruby;[Lorg/jruby/runtime/builtin/IRubyObject;)V
1: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
getstatic org.jruby.runtime.Block$Type.NORMAL:Lorg/jruby/runtime/Block$Type;
aload 3
aload 4
getstatic org.jruby.runtime.Block.NULL_BLOCK:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.runtime.IRBlockBody.commonYieldPath:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;Lorg/jruby/runtime/Block$Type;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/runtime/IRBlockBody;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
0 2 2 block Lorg/jruby/runtime/Block;
0 2 3 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 2 4 self Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
block
args
self
protected abstract org.jruby.runtime.builtin.IRubyObject commonYieldPath(org.jruby.runtime.ThreadContext, org.jruby.runtime.Block, org.jruby.runtime.Block$Type, org.jruby.runtime.builtin.IRubyObject[], org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;Lorg/jruby/runtime/Block$Type;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
context
block
type
args
self
blockArg
static void postYield(org.jruby.runtime.ThreadContext, org.jruby.ir.interpreter.InterpreterContext, org.jruby.runtime.Binding, org.jruby.runtime.Visibility, org.jruby.runtime.Frame);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/ir/interpreter/InterpreterContext;Lorg/jruby/runtime/Binding;Lorg/jruby/runtime/Visibility;Lorg/jruby/runtime/Frame;)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
invokevirtual org.jruby.runtime.Binding.getFrame:()Lorg/jruby/runtime/Frame;
aload 3
invokevirtual org.jruby.runtime.Frame.setVisibility:(Lorg/jruby/runtime/Visibility;)V
1: aload 1
invokevirtual org.jruby.ir.interpreter.InterpreterContext.popDynScope:()Z
ifeq 4
2: aload 0
aload 2
aload 4
invokevirtual org.jruby.runtime.ThreadContext.postYield:(Lorg/jruby/runtime/Binding;Lorg/jruby/runtime/Frame;)V
3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
aload 4
invokevirtual org.jruby.runtime.ThreadContext.postYieldNoScope:(Lorg/jruby/runtime/Frame;)V
5: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 context Lorg/jruby/runtime/ThreadContext;
0 6 1 ic Lorg/jruby/ir/interpreter/InterpreterContext;
0 6 2 binding Lorg/jruby/runtime/Binding;
0 6 3 oldVis Lorg/jruby/runtime/Visibility;
0 6 4 prevFrame Lorg/jruby/runtime/Frame;
MethodParameters:
Name Flags
context
ic
binding
oldVis
prevFrame
public org.jruby.ir.IRClosure getScope();
descriptor: ()Lorg/jruby/ir/IRClosure;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.IRBlockBody.closure:Lorg/jruby/ir/IRClosure;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/IRBlockBody;
public java.lang.String getFile();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.IRBlockBody.fileName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/IRBlockBody;
public int getLine();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.IRBlockBody.lineNumber:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/IRBlockBody;
}
SourceFile: "IRBlockBody.java"
InnerClasses:
public final Type = org.jruby.runtime.Block$Type of org.jruby.runtime.Block