public class org.jruby.ir.instructions.StoreLocalVarInstr extends org.jruby.ir.instructions.TwoOperandInstr 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.StoreLocalVarInstr
super_class: org.jruby.ir.instructions.TwoOperandInstr
{
private final org.jruby.ir.IRScope scope;
descriptor: Lorg/jruby/ir/IRScope;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.jruby.ir.IRScope, org.jruby.ir.operands.Operand, org.jruby.ir.operands.LocalVariable);
descriptor: (Lorg/jruby/ir/IRScope;Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/LocalVariable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getstatic org.jruby.ir.Operation.BINDING_STORE:Lorg/jruby/ir/Operation;
aload 2
aload 3
invokespecial org.jruby.ir.instructions.TwoOperandInstr.<init>:(Lorg/jruby/ir/Operation;Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;)V
1: aload 0
aload 1
putfield org.jruby.ir.instructions.StoreLocalVarInstr.scope:Lorg/jruby/ir/IRScope;
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ir/instructions/StoreLocalVarInstr;
0 3 1 scope Lorg/jruby/ir/IRScope;
0 3 2 value Lorg/jruby/ir/operands/Operand;
0 3 3 lvar Lorg/jruby/ir/operands/LocalVariable;
MethodParameters:
Name Flags
scope
value
lvar
public org.jruby.ir.operands.Operand getValue();
descriptor: ()Lorg/jruby/ir/operands/Operand;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.ir.instructions.StoreLocalVarInstr.getOperand1:()Lorg/jruby/ir/operands/Operand;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/instructions/StoreLocalVarInstr;
public org.jruby.ir.operands.LocalVariable getLocalVar();
descriptor: ()Lorg/jruby/ir/operands/LocalVariable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.ir.instructions.StoreLocalVarInstr.getOperand2:()Lorg/jruby/ir/operands/Operand;
checkcast org.jruby.ir.operands.LocalVariable
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/instructions/StoreLocalVarInstr;
public org.jruby.ir.IRScope getScope();
descriptor: ()Lorg/jruby/ir/IRScope;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ir.instructions.StoreLocalVarInstr.scope:Lorg/jruby/ir/IRScope;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/instructions/StoreLocalVarInstr;
public java.lang.String[] toStringNonOperandArgs();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: iconst_1
anewarray java.lang.String
dup
iconst_0
new java.lang.StringBuilder
dup
ldc "scope_name: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.jruby.ir.instructions.StoreLocalVarInstr.scope:Lorg/jruby/ir/IRScope;
invokevirtual org.jruby.ir.IRScope.getId:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/instructions/StoreLocalVarInstr;
public void decrementLVarScopeDepth();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual org.jruby.ir.instructions.StoreLocalVarInstr.getLocalVar:()Lorg/jruby/ir/operands/LocalVariable;
aload 0
invokevirtual org.jruby.ir.instructions.StoreLocalVarInstr.getLocalVar:()Lorg/jruby/ir/operands/LocalVariable;
invokevirtual org.jruby.ir.operands.LocalVariable.getScopeDepth:()I
iconst_1
isub
invokevirtual org.jruby.ir.operands.LocalVariable.cloneForDepth:(I)Lorg/jruby/ir/operands/LocalVariable;
invokevirtual org.jruby.ir.instructions.StoreLocalVarInstr.setOperand2:(Lorg/jruby/ir/operands/Operand;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/instructions/StoreLocalVarInstr;
public void simplifyOperands(java.util.Map<org.jruby.ir.operands.Operand, org.jruby.ir.operands.Operand>, );
descriptor: (Ljava/util/Map;Z)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
aload 0
invokevirtual org.jruby.ir.instructions.StoreLocalVarInstr.getValue:()Lorg/jruby/ir/operands/Operand;
aload 1
iload 2
invokevirtual org.jruby.ir.operands.Operand.getSimplifiedOperand:(Ljava/util/Map;Z)Lorg/jruby/ir/operands/Operand;
invokevirtual org.jruby.ir.instructions.StoreLocalVarInstr.setOperand1:(Lorg/jruby/ir/operands/Operand;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/instructions/StoreLocalVarInstr;
0 2 1 valueMap Ljava/util/Map<Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;>;
0 2 2 force Z
Signature: (Ljava/util/Map<Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;>;Z)V
MethodParameters:
Name Flags
valueMap
force
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=6, locals=2, args_size=2
start local 0 start local 1 0: new org.jruby.ir.instructions.StoreLocalVarInstr
dup
aload 0
getfield org.jruby.ir.instructions.StoreLocalVarInstr.scope:Lorg/jruby/ir/IRScope;
aload 0
invokevirtual org.jruby.ir.instructions.StoreLocalVarInstr.getValue:()Lorg/jruby/ir/operands/Operand;
aload 1
invokevirtual org.jruby.ir.operands.Operand.cloneForInlining:(Lorg/jruby/ir/transformations/inlining/CloneInfo;)Lorg/jruby/ir/operands/Operand;
1: aload 0
invokevirtual org.jruby.ir.instructions.StoreLocalVarInstr.getLocalVar:()Lorg/jruby/ir/operands/LocalVariable;
aload 1
invokevirtual org.jruby.ir.operands.LocalVariable.cloneForInlining:(Lorg/jruby/ir/transformations/inlining/CloneInfo;)Lorg/jruby/ir/operands/Operand;
checkcast org.jruby.ir.operands.LocalVariable
2: invokespecial org.jruby.ir.instructions.StoreLocalVarInstr.<init>:(Lorg/jruby/ir/IRScope;Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/LocalVariable;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ir/instructions/StoreLocalVarInstr;
0 3 1 ii Lorg/jruby/ir/transformations/inlining/CloneInfo;
MethodParameters:
Name Flags
ii
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.TwoOperandInstr.encode:(Lorg/jruby/ir/persistence/IRWriterEncoder;)V
1: aload 1
aload 0
invokevirtual org.jruby.ir.instructions.StoreLocalVarInstr.getScope:()Lorg/jruby/ir/IRScope;
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(Lorg/jruby/ir/IRScope;)V
2: aload 1
aload 0
invokevirtual org.jruby.ir.instructions.StoreLocalVarInstr.getValue:()Lorg/jruby/ir/operands/Operand;
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(Lorg/jruby/ir/operands/Operand;)V
3: aload 1
aload 0
invokevirtual org.jruby.ir.instructions.StoreLocalVarInstr.getLocalVar:()Lorg/jruby/ir/operands/LocalVariable;
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(Lorg/jruby/ir/operands/Operand;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/ir/instructions/StoreLocalVarInstr;
0 5 1 e Lorg/jruby/ir/persistence/IRWriterEncoder;
MethodParameters:
Name Flags
e
public static org.jruby.ir.instructions.StoreLocalVarInstr decode(org.jruby.ir.persistence.IRReaderDecoder);
descriptor: (Lorg/jruby/ir/persistence/IRReaderDecoder;)Lorg/jruby/ir/instructions/StoreLocalVarInstr;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new org.jruby.ir.instructions.StoreLocalVarInstr
dup
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeScope:()Lorg/jruby/ir/IRScope;
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeOperand:()Lorg/jruby/ir/operands/Operand;
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeOperand:()Lorg/jruby/ir/operands/Operand;
checkcast org.jruby.ir.operands.LocalVariable
invokespecial org.jruby.ir.instructions.StoreLocalVarInstr.<init>:(Lorg/jruby/ir/IRScope;Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/LocalVariable;)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.StoreLocalVarInstr.getValue:()Lorg/jruby/ir/operands/Operand;
aload 1
aload 4
aload 2
aload 3
aload 5
invokevirtual org.jruby.ir.operands.Operand.retrieve:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/parser/StaticScope;Lorg/jruby/runtime/DynamicScope;[Ljava/lang/Object;)Ljava/lang/Object;
astore 6
start local 6 1: aload 3
aload 6
checkcast org.jruby.runtime.builtin.IRubyObject
aload 0
invokevirtual org.jruby.ir.instructions.StoreLocalVarInstr.getLocalVar:()Lorg/jruby/ir/operands/LocalVariable;
invokevirtual org.jruby.ir.operands.LocalVariable.getLocation:()I
aload 0
invokevirtual org.jruby.ir.instructions.StoreLocalVarInstr.getLocalVar:()Lorg/jruby/ir/operands/LocalVariable;
invokevirtual org.jruby.ir.operands.LocalVariable.getScopeDepth:()I
invokevirtual org.jruby.runtime.DynamicScope.setValue:(Lorg/jruby/runtime/builtin/IRubyObject;II)Lorg/jruby/runtime/builtin/IRubyObject;
pop
2: aconst_null
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 3 0 this Lorg/jruby/ir/instructions/StoreLocalVarInstr;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
0 3 2 currScope Lorg/jruby/parser/StaticScope;
0 3 3 currDynScope Lorg/jruby/runtime/DynamicScope;
0 3 4 self Lorg/jruby/runtime/builtin/IRubyObject;
0 3 5 temp [Ljava/lang/Object;
1 3 6 varValue Ljava/lang/Object;
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.StoreLocalVarInstr:(Lorg/jruby/ir/instructions/StoreLocalVarInstr;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/instructions/StoreLocalVarInstr;
0 2 1 visitor Lorg/jruby/ir/IRVisitor;
MethodParameters:
Name Flags
visitor
}
SourceFile: "StoreLocalVarInstr.java"