public class org.jruby.ir.instructions.ReifyClosureInstr extends org.jruby.ir.instructions.OneOperandResultBaseInstr implements org.jruby.ir.instructions.FixedArityInstr
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ir.instructions.ReifyClosureInstr
super_class: org.jruby.ir.instructions.OneOperandResultBaseInstr
{
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/jruby/ir/instructions/ReifyClosureInstr;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.jruby.ir.instructions.ReifyClosureInstr.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.jruby.ir.operands.Variable, org.jruby.ir.operands.Variable);
descriptor: (Lorg/jruby/ir/operands/Variable;Lorg/jruby/ir/operands/Variable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getstatic org.jruby.ir.Operation.REIFY_CLOSURE:Lorg/jruby/ir/Operation;
aload 1
aload 2
invokespecial org.jruby.ir.instructions.OneOperandResultBaseInstr.<init>:(Lorg/jruby/ir/Operation;Lorg/jruby/ir/operands/Variable;Lorg/jruby/ir/operands/Operand;)V
1: getstatic org.jruby.ir.instructions.ReifyClosureInstr.$assertionsDisabled:Z
ifne 2
aload 1
ifnonnull 2
new java.lang.AssertionError
dup
ldc "ReceiveClosureInstr result is null"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals: org.jruby.ir.instructions.ReifyClosureInstr org.jruby.ir.operands.Variable org.jruby.ir.operands.Variable
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ir/instructions/ReifyClosureInstr;
0 3 1 result Lorg/jruby/ir/operands/Variable;
0 3 2 source Lorg/jruby/ir/operands/Variable;
MethodParameters:
Name Flags
result
source
public org.jruby.ir.operands.Variable getSource();
descriptor: ()Lorg/jruby/ir/operands/Variable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.ir.instructions.ReifyClosureInstr.getOperand1:()Lorg/jruby/ir/operands/Operand;
checkcast org.jruby.ir.operands.Variable
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/instructions/ReifyClosureInstr;
public boolean computeScopeFlags(org.jruby.ir.IRScope);
descriptor: (Lorg/jruby/ir/IRScope;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.jruby.ir.IRScope.getFlags:()Ljava/util/EnumSet;
getstatic org.jruby.ir.IRFlags.RECEIVES_CLOSURE_ARG:Lorg/jruby/ir/IRFlags;
invokevirtual java.util.EnumSet.add:(Ljava/lang/Object;)Z
pop
1: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/instructions/ReifyClosureInstr;
0 2 1 scope Lorg/jruby/ir/IRScope;
MethodParameters:
Name Flags
scope
public org.jruby.ir.instructions.Instr clone(org.jruby.ir.transformations.inlining.CloneInfo);
descriptor: (Lorg/jruby/ir/transformations/inlining/CloneInfo;)Lorg/jruby/ir/instructions/Instr;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.jruby.ir.transformations.inlining.SimpleCloneInfo
ifeq 1
new org.jruby.ir.instructions.ReifyClosureInstr
dup
aload 1
aload 0
invokevirtual org.jruby.ir.instructions.ReifyClosureInstr.getResult:()Lorg/jruby/ir/operands/Variable;
invokevirtual org.jruby.ir.transformations.inlining.CloneInfo.getRenamedVariable:(Lorg/jruby/ir/operands/Variable;)Lorg/jruby/ir/operands/Variable;
aload 1
aload 0
invokevirtual org.jruby.ir.instructions.ReifyClosureInstr.getSource:()Lorg/jruby/ir/operands/Variable;
invokevirtual org.jruby.ir.transformations.inlining.CloneInfo.getRenamedVariable:(Lorg/jruby/ir/operands/Variable;)Lorg/jruby/ir/operands/Variable;
invokespecial org.jruby.ir.instructions.ReifyClosureInstr.<init>:(Lorg/jruby/ir/operands/Variable;Lorg/jruby/ir/operands/Variable;)V
areturn
1: StackMap locals:
StackMap stack:
aload 1
checkcast org.jruby.ir.transformations.inlining.InlineCloneInfo
astore 2
start local 2 2: new org.jruby.ir.instructions.CopyInstr
dup
aload 2
aload 0
getfield org.jruby.ir.instructions.ReifyClosureInstr.result:Lorg/jruby/ir/operands/Variable;
invokevirtual org.jruby.ir.transformations.inlining.InlineCloneInfo.getRenamedVariable:(Lorg/jruby/ir/operands/Variable;)Lorg/jruby/ir/operands/Variable;
aload 2
aload 0
invokevirtual org.jruby.ir.instructions.ReifyClosureInstr.getSource:()Lorg/jruby/ir/operands/Variable;
invokevirtual org.jruby.ir.transformations.inlining.InlineCloneInfo.getRenamedVariable:(Lorg/jruby/ir/operands/Variable;)Lorg/jruby/ir/operands/Variable;
invokespecial org.jruby.ir.instructions.CopyInstr.<init>:(Lorg/jruby/ir/operands/Variable;Lorg/jruby/ir/operands/Operand;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ir/instructions/ReifyClosureInstr;
0 3 1 info Lorg/jruby/ir/transformations/inlining/CloneInfo;
2 3 2 ii Lorg/jruby/ir/transformations/inlining/InlineCloneInfo;
MethodParameters:
Name Flags
info
public void encode(org.jruby.ir.persistence.IRWriterEncoder);
descriptor: (Lorg/jruby/ir/persistence/IRWriterEncoder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.jruby.ir.instructions.OneOperandResultBaseInstr.encode:(Lorg/jruby/ir/persistence/IRWriterEncoder;)V
1: aload 1
aload 0
invokevirtual org.jruby.ir.instructions.ReifyClosureInstr.getSource:()Lorg/jruby/ir/operands/Variable;
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(Lorg/jruby/ir/operands/Operand;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ir/instructions/ReifyClosureInstr;
0 3 1 e Lorg/jruby/ir/persistence/IRWriterEncoder;
MethodParameters:
Name Flags
e
public static org.jruby.ir.instructions.ReifyClosureInstr decode(org.jruby.ir.persistence.IRReaderDecoder);
descriptor: (Lorg/jruby/ir/persistence/IRReaderDecoder;)Lorg/jruby/ir/instructions/ReifyClosureInstr;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new org.jruby.ir.instructions.ReifyClosureInstr
dup
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeVariable:()Lorg/jruby/ir/operands/Variable;
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeVariable:()Lorg/jruby/ir/operands/Variable;
invokespecial org.jruby.ir.instructions.ReifyClosureInstr.<init>:(Lorg/jruby/ir/operands/Variable;Lorg/jruby/ir/operands/Variable;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 d Lorg/jruby/ir/persistence/IRReaderDecoder;
MethodParameters:
Name Flags
d
public java.lang.Object interpret(org.jruby.runtime.ThreadContext, org.jruby.parser.StaticScope, org.jruby.runtime.DynamicScope, org.jruby.runtime.builtin.IRubyObject, java.lang.Object[]);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/parser/StaticScope;Lorg/jruby/runtime/DynamicScope;Lorg/jruby/runtime/builtin/IRubyObject;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokevirtual org.jruby.ir.instructions.ReifyClosureInstr.getSource:()Lorg/jruby/ir/operands/Variable;
aload 1
aload 4
aload 2
aload 3
aload 5
invokevirtual org.jruby.ir.operands.Variable.retrieve:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/parser/StaticScope;Lorg/jruby/runtime/DynamicScope;[Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.jruby.runtime.Block
astore 6
start local 6 1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 6
invokestatic org.jruby.ir.runtime.IRRuntimeHelpers.newProc:(Lorg/jruby/Ruby;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 6 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 2 0 this Lorg/jruby/ir/instructions/ReifyClosureInstr;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
0 2 2 currScope Lorg/jruby/parser/StaticScope;
0 2 3 currDynScope Lorg/jruby/runtime/DynamicScope;
0 2 4 self Lorg/jruby/runtime/builtin/IRubyObject;
0 2 5 temp [Ljava/lang/Object;
1 2 6 block Lorg/jruby/runtime/Block;
MethodParameters:
Name Flags
context
currScope
currDynScope
self
temp
public void visit(org.jruby.ir.IRVisitor);
descriptor: (Lorg/jruby/ir/IRVisitor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual org.jruby.ir.IRVisitor.ReifyClosureInstr:(Lorg/jruby/ir/instructions/ReifyClosureInstr;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/instructions/ReifyClosureInstr;
0 2 1 visitor Lorg/jruby/ir/IRVisitor;
MethodParameters:
Name Flags
visitor
}
SourceFile: "ReifyClosureInstr.java"