public class org.jruby.ir.operands.WrappedIRClosure extends org.jruby.ir.operands.Operand
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ir.operands.WrappedIRClosure
super_class: org.jruby.ir.operands.Operand
{
private final org.jruby.ir.operands.Variable self;
descriptor: Lorg/jruby/ir/operands/Variable;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.jruby.ir.IRClosure closure;
descriptor: Lorg/jruby/ir/IRClosure;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.jruby.ir.operands.Variable, org.jruby.ir.IRClosure);
descriptor: (Lorg/jruby/ir/operands/Variable;Lorg/jruby/ir/IRClosure;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.jruby.ir.operands.Operand.<init>:()V
1: aload 0
aload 1
putfield org.jruby.ir.operands.WrappedIRClosure.self:Lorg/jruby/ir/operands/Variable;
2: aload 0
aload 2
putfield org.jruby.ir.operands.WrappedIRClosure.closure:Lorg/jruby/ir/IRClosure;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ir/operands/WrappedIRClosure;
0 4 1 self Lorg/jruby/ir/operands/Variable;
0 4 2 closure Lorg/jruby/ir/IRClosure;
MethodParameters:
Name Flags
self
closure
public org.jruby.ir.operands.OperandType getOperandType();
descriptor: ()Lorg/jruby/ir/operands/OperandType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.jruby.ir.operands.OperandType.WRAPPED_IR_CLOSURE:Lorg/jruby/ir/operands/OperandType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/WrappedIRClosure;
public void addUsedVariables(java.util.List<org.jruby.ir.operands.Variable>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield org.jruby.ir.operands.WrappedIRClosure.self:Lorg/jruby/ir/operands/Variable;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/operands/WrappedIRClosure;
0 2 1 l Ljava/util/List<Lorg/jruby/ir/operands/Variable;>;
Signature: (Ljava/util/List<Lorg/jruby/ir/operands/Variable;>;)V
MethodParameters:
Name Flags
l
public org.jruby.ir.operands.Variable getSelf();
descriptor: ()Lorg/jruby/ir/operands/Variable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ir.operands.WrappedIRClosure.self:Lorg/jruby/ir/operands/Variable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/WrappedIRClosure;
public org.jruby.ir.IRClosure getClosure();
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.ir.operands.WrappedIRClosure.closure:Lorg/jruby/ir/IRClosure;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/WrappedIRClosure;
public boolean canCopyPropagate();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/WrappedIRClosure;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
getfield org.jruby.ir.operands.WrappedIRClosure.self:Lorg/jruby/ir/operands/Variable;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.jruby.ir.operands.WrappedIRClosure.closure:Lorg/jruby/ir/IRClosure;
invokevirtual org.jruby.ir.IRClosure.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/WrappedIRClosure;
public org.jruby.ir.operands.Operand getSimplifiedOperand(java.util.Map<org.jruby.ir.operands.Operand, org.jruby.ir.operands.Operand>, boolean);
descriptor: (Ljava/util/Map;Z)Lorg/jruby/ir/operands/Operand;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.ir.operands.WrappedIRClosure.self:Lorg/jruby/ir/operands/Variable;
aload 1
iload 2
invokevirtual org.jruby.ir.operands.Variable.getSimplifiedOperand:(Ljava/util/Map;Z)Lorg/jruby/ir/operands/Operand;
astore 3
start local 3 1: aload 3
aload 0
getfield org.jruby.ir.operands.WrappedIRClosure.self:Lorg/jruby/ir/operands/Variable;
if_acmpne 2
aload 0
goto 3
StackMap locals: org.jruby.ir.operands.Operand
StackMap stack:
2: new org.jruby.ir.operands.WrappedIRClosure
dup
aload 3
checkcast org.jruby.ir.operands.Variable
aload 0
getfield org.jruby.ir.operands.WrappedIRClosure.closure:Lorg/jruby/ir/IRClosure;
invokespecial org.jruby.ir.operands.WrappedIRClosure.<init>:(Lorg/jruby/ir/operands/Variable;Lorg/jruby/ir/IRClosure;)V
StackMap locals:
StackMap stack: org.jruby.ir.operands.WrappedIRClosure
3: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ir/operands/WrappedIRClosure;
0 4 1 valueMap Ljava/util/Map<Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;>;
0 4 2 force Z
1 4 3 newSelf Lorg/jruby/ir/operands/Operand;
Signature: (Ljava/util/Map<Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;>;Z)Lorg/jruby/ir/operands/Operand;
MethodParameters:
Name Flags
valueMap
force
public org.jruby.ir.operands.Operand cloneForInlining(org.jruby.ir.transformations.inlining.CloneInfo);
descriptor: (Lorg/jruby/ir/transformations/inlining/CloneInfo;)Lorg/jruby/ir/operands/Operand;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.jruby.ir.transformations.inlining.SimpleCloneInfo
ifeq 2
aload 1
checkcast org.jruby.ir.transformations.inlining.SimpleCloneInfo
invokevirtual org.jruby.ir.transformations.inlining.SimpleCloneInfo.isEnsureBlockCloneMode:()Z
ifne 2
1: new org.jruby.ir.operands.WrappedIRClosure
dup
aload 1
aload 0
getfield org.jruby.ir.operands.WrappedIRClosure.self:Lorg/jruby/ir/operands/Variable;
invokevirtual org.jruby.ir.transformations.inlining.CloneInfo.getRenamedVariable:(Lorg/jruby/ir/operands/Variable;)Lorg/jruby/ir/operands/Variable;
aload 0
getfield org.jruby.ir.operands.WrappedIRClosure.closure:Lorg/jruby/ir/IRClosure;
invokespecial org.jruby.ir.operands.WrappedIRClosure.<init>:(Lorg/jruby/ir/operands/Variable;Lorg/jruby/ir/IRClosure;)V
areturn
2: StackMap locals:
StackMap stack:
new org.jruby.ir.operands.WrappedIRClosure
dup
aload 1
aload 0
getfield org.jruby.ir.operands.WrappedIRClosure.self:Lorg/jruby/ir/operands/Variable;
invokevirtual org.jruby.ir.transformations.inlining.CloneInfo.getRenamedVariable:(Lorg/jruby/ir/operands/Variable;)Lorg/jruby/ir/operands/Variable;
aload 0
getfield org.jruby.ir.operands.WrappedIRClosure.closure:Lorg/jruby/ir/IRClosure;
aload 1
invokevirtual org.jruby.ir.IRClosure.cloneForInlining:(Lorg/jruby/ir/transformations/inlining/CloneInfo;)Lorg/jruby/ir/IRClosure;
invokespecial org.jruby.ir.operands.WrappedIRClosure.<init>:(Lorg/jruby/ir/operands/Variable;Lorg/jruby/ir/IRClosure;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ir/operands/WrappedIRClosure;
0 3 1 info Lorg/jruby/ir/transformations/inlining/CloneInfo;
MethodParameters:
Name Flags
info
public java.lang.Object retrieve(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.parser.StaticScope, org.jruby.runtime.DynamicScope, java.lang.Object[]);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/parser/StaticScope;Lorg/jruby/runtime/DynamicScope;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=9, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
getfield org.jruby.ir.operands.WrappedIRClosure.closure:Lorg/jruby/ir/IRClosure;
invokevirtual org.jruby.ir.IRClosure.getBlockBody:()Lorg/jruby/runtime/BlockBody;
astore 6
start local 6 1: aload 0
getfield org.jruby.ir.operands.WrappedIRClosure.closure:Lorg/jruby/ir/IRClosure;
invokevirtual org.jruby.ir.IRClosure.getStaticScope:()Lorg/jruby/parser/StaticScope;
invokevirtual org.jruby.parser.StaticScope.determineModule:()Lorg/jruby/RubyModule;
pop
2: aload 0
getfield org.jruby.ir.operands.WrappedIRClosure.self:Lorg/jruby/ir/operands/Variable;
instanceof org.jruby.ir.operands.Self
ifeq 3
aload 2
goto 4
StackMap locals: org.jruby.runtime.BlockBody
StackMap stack:
3: aload 0
getfield org.jruby.ir.operands.WrappedIRClosure.self:Lorg/jruby/ir/operands/Variable;
aload 1
aload 2
aload 3
aload 4
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.builtin.IRubyObject
StackMap locals:
StackMap stack: org.jruby.runtime.builtin.IRubyObject
4: astore 7
start local 7 5: aload 1
aload 7
aload 4
invokevirtual org.jruby.runtime.ThreadContext.currentBinding:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/DynamicScope;)Lorg/jruby/runtime/Binding;
astore 8
start local 8 6: new org.jruby.runtime.Block
dup
aload 6
aload 8
invokespecial org.jruby.runtime.Block.<init>:(Lorg/jruby/runtime/BlockBody;Lorg/jruby/runtime/Binding;)V
areturn
end local 8 end local 7 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 7 0 this Lorg/jruby/ir/operands/WrappedIRClosure;
0 7 1 context Lorg/jruby/runtime/ThreadContext;
0 7 2 self Lorg/jruby/runtime/builtin/IRubyObject;
0 7 3 currScope Lorg/jruby/parser/StaticScope;
0 7 4 currDynScope Lorg/jruby/runtime/DynamicScope;
0 7 5 temp [Ljava/lang/Object;
1 7 6 body Lorg/jruby/runtime/BlockBody;
5 7 7 selfVal Lorg/jruby/runtime/builtin/IRubyObject;
6 7 8 binding Lorg/jruby/runtime/Binding;
MethodParameters:
Name Flags
context
self
currScope
currDynScope
temp
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.operands.Operand.encode:(Lorg/jruby/ir/persistence/IRWriterEncoder;)V
1: aload 1
aload 0
getfield org.jruby.ir.operands.WrappedIRClosure.self:Lorg/jruby/ir/operands/Variable;
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(Lorg/jruby/ir/operands/Operand;)V
2: aload 1
aload 0
getfield org.jruby.ir.operands.WrappedIRClosure.closure:Lorg/jruby/ir/IRClosure;
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(Lorg/jruby/ir/IRScope;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ir/operands/WrappedIRClosure;
0 4 1 e Lorg/jruby/ir/persistence/IRWriterEncoder;
MethodParameters:
Name Flags
e
public static org.jruby.ir.operands.WrappedIRClosure decode(org.jruby.ir.persistence.IRReaderDecoder);
descriptor: (Lorg/jruby/ir/persistence/IRReaderDecoder;)Lorg/jruby/ir/operands/WrappedIRClosure;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new org.jruby.ir.operands.WrappedIRClosure
dup
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeVariable:()Lorg/jruby/ir/operands/Variable;
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeScope:()Lorg/jruby/ir/IRScope;
checkcast org.jruby.ir.IRClosure
invokespecial org.jruby.ir.operands.WrappedIRClosure.<init>:(Lorg/jruby/ir/operands/Variable;Lorg/jruby/ir/IRClosure;)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 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.WrappedIRClosure:(Lorg/jruby/ir/operands/WrappedIRClosure;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/operands/WrappedIRClosure;
0 2 1 visitor Lorg/jruby/ir/IRVisitor;
MethodParameters:
Name Flags
visitor
}
SourceFile: "WrappedIRClosure.java"