public class org.jruby.ir.instructions.AttrAssignInstr extends org.jruby.ir.instructions.NoResultCallInstr
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ir.instructions.AttrAssignInstr
super_class: org.jruby.ir.instructions.NoResultCallInstr
{
public static org.jruby.ir.instructions.AttrAssignInstr create(org.jruby.ir.IRScope, org.jruby.ir.operands.Operand, org.jruby.RubySymbol, org.jruby.ir.operands.Operand[], boolean);
descriptor: (Lorg/jruby/ir/IRScope;Lorg/jruby/ir/operands/Operand;Lorg/jruby/RubySymbol;[Lorg/jruby/ir/operands/Operand;Z)Lorg/jruby/ir/instructions/AttrAssignInstr;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
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 3
invokestatic org.jruby.ir.instructions.AttrAssignInstr.containsArgSplat:([Lorg/jruby/ir/operands/Operand;)Z
ifne 2
aload 3
arraylength
iconst_1
if_icmpne 2
1: new org.jruby.ir.instructions.specialized.OneArgOperandAttrAssignInstr
dup
aload 0
aload 1
aload 2
aload 3
iload 4
invokespecial org.jruby.ir.instructions.specialized.OneArgOperandAttrAssignInstr.<init>:(Lorg/jruby/ir/IRScope;Lorg/jruby/ir/operands/Operand;Lorg/jruby/RubySymbol;[Lorg/jruby/ir/operands/Operand;Z)V
areturn
2: StackMap locals:
StackMap stack:
new org.jruby.ir.instructions.AttrAssignInstr
dup
aload 0
aload 1
aload 2
aload 3
iload 4
invokespecial org.jruby.ir.instructions.AttrAssignInstr.<init>:(Lorg/jruby/ir/IRScope;Lorg/jruby/ir/operands/Operand;Lorg/jruby/RubySymbol;[Lorg/jruby/ir/operands/Operand;Z)V
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 scope Lorg/jruby/ir/IRScope;
0 3 1 obj Lorg/jruby/ir/operands/Operand;
0 3 2 attr Lorg/jruby/RubySymbol;
0 3 3 args [Lorg/jruby/ir/operands/Operand;
0 3 4 isPotentiallyRefined Z
MethodParameters:
Name Flags
scope
obj
attr
args
isPotentiallyRefined
protected void <init>(org.jruby.ir.IRScope, org.jruby.runtime.CallType, org.jruby.RubySymbol, org.jruby.ir.operands.Operand, org.jruby.ir.operands.Operand[], boolean, org.jruby.runtime.CallSite, long);
descriptor: (Lorg/jruby/ir/IRScope;Lorg/jruby/runtime/CallType;Lorg/jruby/RubySymbol;Lorg/jruby/ir/operands/Operand;[Lorg/jruby/ir/operands/Operand;ZLorg/jruby/runtime/CallSite;J)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=12, locals=10, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 0: aload 0
aload 1
getstatic org.jruby.ir.Operation.ATTR_ASSIGN:Lorg/jruby/ir/Operation;
aload 2
aload 3
aload 4
aload 5
aconst_null
iload 6
aload 7
lload 8
invokespecial org.jruby.ir.instructions.NoResultCallInstr.<init>:(Lorg/jruby/ir/IRScope;Lorg/jruby/ir/Operation;Lorg/jruby/runtime/CallType;Lorg/jruby/RubySymbol;Lorg/jruby/ir/operands/Operand;[Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;ZLorg/jruby/runtime/CallSite;J)V
1: return
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 2 0 this Lorg/jruby/ir/instructions/AttrAssignInstr;
0 2 1 scope Lorg/jruby/ir/IRScope;
0 2 2 callType Lorg/jruby/runtime/CallType;
0 2 3 name Lorg/jruby/RubySymbol;
0 2 4 receiver Lorg/jruby/ir/operands/Operand;
0 2 5 args [Lorg/jruby/ir/operands/Operand;
0 2 6 potentiallyRefined Z
0 2 7 callSite Lorg/jruby/runtime/CallSite;
0 2 8 callSiteId J
MethodParameters:
Name Flags
scope
callType
name
receiver
args
potentiallyRefined
callSite
callSiteId
public void <init>(org.jruby.ir.IRScope, org.jruby.ir.operands.Operand, org.jruby.RubySymbol, org.jruby.ir.operands.Operand[], boolean);
descriptor: (Lorg/jruby/ir/IRScope;Lorg/jruby/ir/operands/Operand;Lorg/jruby/RubySymbol;[Lorg/jruby/ir/operands/Operand;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, 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
getstatic org.jruby.ir.Operation.ATTR_ASSIGN:Lorg/jruby/ir/Operation;
aload 2
instanceof org.jruby.ir.operands.Self
ifeq 1
getstatic org.jruby.runtime.CallType.FUNCTIONAL:Lorg/jruby/runtime/CallType;
goto 2
StackMap locals: uninitialized-this org.jruby.ir.IRScope org.jruby.ir.operands.Operand org.jruby.RubySymbol org.jruby.ir.operands.Operand[] int
StackMap stack: uninitialized-this org.jruby.ir.IRScope org.jruby.ir.Operation
1: getstatic org.jruby.runtime.CallType.NORMAL:Lorg/jruby/runtime/CallType;
StackMap locals: uninitialized-this org.jruby.ir.IRScope org.jruby.ir.operands.Operand org.jruby.RubySymbol org.jruby.ir.operands.Operand[] int
StackMap stack: uninitialized-this org.jruby.ir.IRScope org.jruby.ir.Operation org.jruby.runtime.CallType
2: aload 3
aload 2
aload 4
aconst_null
iload 5
invokespecial org.jruby.ir.instructions.NoResultCallInstr.<init>:(Lorg/jruby/ir/IRScope;Lorg/jruby/ir/Operation;Lorg/jruby/runtime/CallType;Lorg/jruby/RubySymbol;Lorg/jruby/ir/operands/Operand;[Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;Z)V
3: return
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 4 0 this Lorg/jruby/ir/instructions/AttrAssignInstr;
0 4 1 scope Lorg/jruby/ir/IRScope;
0 4 2 obj Lorg/jruby/ir/operands/Operand;
0 4 3 attr Lorg/jruby/RubySymbol;
0 4 4 args [Lorg/jruby/ir/operands/Operand;
0 4 5 isPotentiallyRefined Z
MethodParameters:
Name Flags
scope
obj
attr
args
isPotentiallyRefined
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=11, locals=2, args_size=2
start local 0 start local 1 0: new org.jruby.ir.instructions.AttrAssignInstr
dup
aload 1
invokevirtual org.jruby.ir.transformations.inlining.CloneInfo.getScope:()Lorg/jruby/ir/IRScope;
aload 0
invokevirtual org.jruby.ir.instructions.AttrAssignInstr.getCallType:()Lorg/jruby/runtime/CallType;
aload 0
invokevirtual org.jruby.ir.instructions.AttrAssignInstr.getName:()Lorg/jruby/RubySymbol;
aload 0
invokevirtual org.jruby.ir.instructions.AttrAssignInstr.getReceiver:()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
aload 1
invokevirtual org.jruby.ir.instructions.AttrAssignInstr.cloneCallArgs:(Lorg/jruby/ir/transformations/inlining/CloneInfo;)[Lorg/jruby/ir/operands/Operand;
aload 0
invokevirtual org.jruby.ir.instructions.AttrAssignInstr.isPotentiallyRefined:()Z
aload 0
invokevirtual org.jruby.ir.instructions.AttrAssignInstr.getCallSite:()Lorg/jruby/runtime/CallSite;
aload 0
invokevirtual org.jruby.ir.instructions.AttrAssignInstr.getCallSiteId:()J
2: invokespecial org.jruby.ir.instructions.AttrAssignInstr.<init>:(Lorg/jruby/ir/IRScope;Lorg/jruby/runtime/CallType;Lorg/jruby/RubySymbol;Lorg/jruby/ir/operands/Operand;[Lorg/jruby/ir/operands/Operand;ZLorg/jruby/runtime/CallSite;J)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ir/instructions/AttrAssignInstr;
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=4, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.jruby.RubyInstanceConfig.IR_WRITING_DEBUG:Z
ifeq 1
getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Instr("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.jruby.ir.instructions.AttrAssignInstr.getOperation:()Lorg/jruby/ir/Operation;
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
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual org.jruby.ir.instructions.AttrAssignInstr.getOperation:()Lorg/jruby/ir/Operation;
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(Lorg/jruby/ir/Operation;)V
2: aload 1
aload 0
invokevirtual org.jruby.ir.instructions.AttrAssignInstr.getReceiver:()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.AttrAssignInstr.getName:()Lorg/jruby/RubySymbol;
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(Lorg/jruby/RubySymbol;)V
4: aload 1
aload 0
invokevirtual org.jruby.ir.instructions.AttrAssignInstr.getCallArgs:()[Lorg/jruby/ir/operands/Operand;
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:([Lorg/jruby/ir/operands/Operand;)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/ir/instructions/AttrAssignInstr;
0 6 1 e Lorg/jruby/ir/persistence/IRWriterEncoder;
MethodParameters:
Name Flags
e
public static org.jruby.ir.instructions.AttrAssignInstr decode(org.jruby.ir.persistence.IRReaderDecoder);
descriptor: (Lorg/jruby/ir/persistence/IRReaderDecoder;)Lorg/jruby/ir/instructions/AttrAssignInstr;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.getCurrentScope:()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.decodeSymbol:()Lorg/jruby/RubySymbol;
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeOperandArray:()[Lorg/jruby/ir/operands/Operand;
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.getCurrentScope:()Lorg/jruby/ir/IRScope;
invokevirtual org.jruby.ir.IRScope.maybeUsingRefinements:()Z
invokestatic org.jruby.ir.instructions.AttrAssignInstr.create:(Lorg/jruby/ir/IRScope;Lorg/jruby/ir/operands/Operand;Lorg/jruby/RubySymbol;[Lorg/jruby/ir/operands/Operand;Z)Lorg/jruby/ir/instructions/AttrAssignInstr;
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=8, 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.AttrAssignInstr.getReceiver:()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;
checkcast org.jruby.runtime.builtin.IRubyObject
astore 6
start local 6 1: aload 0
aload 1
aload 4
aload 2
aload 3
aload 5
invokevirtual org.jruby.ir.instructions.AttrAssignInstr.prepareArguments:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/parser/StaticScope;Lorg/jruby/runtime/DynamicScope;[Ljava/lang/Object;)[Lorg/jruby/runtime/builtin/IRubyObject;
astore 7
start local 7 2: aload 0
getfield org.jruby.ir.instructions.AttrAssignInstr.callSite:Lorg/jruby/runtime/CallSite;
aload 1
aload 4
aload 6
aload 7
invokevirtual org.jruby.runtime.CallSite.call:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
3: aconst_null
areturn
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 4 0 this Lorg/jruby/ir/instructions/AttrAssignInstr;
0 4 1 context Lorg/jruby/runtime/ThreadContext;
0 4 2 currScope Lorg/jruby/parser/StaticScope;
0 4 3 dynamicScope Lorg/jruby/runtime/DynamicScope;
0 4 4 self Lorg/jruby/runtime/builtin/IRubyObject;
0 4 5 temp [Ljava/lang/Object;
1 4 6 object Lorg/jruby/runtime/builtin/IRubyObject;
2 4 7 values [Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
currScope
dynamicScope
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.AttrAssignInstr:(Lorg/jruby/ir/instructions/AttrAssignInstr;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/instructions/AttrAssignInstr;
0 2 1 visitor Lorg/jruby/ir/IRVisitor;
MethodParameters:
Name Flags
visitor
}
SourceFile: "AttrAssignInstr.java"