public class org.jruby.ir.instructions.ArrayDerefInstr extends org.jruby.ir.instructions.specialized.OneOperandArgNoBlockCallInstr
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ir.instructions.ArrayDerefInstr
super_class: org.jruby.ir.instructions.specialized.OneOperandArgNoBlockCallInstr
{
private final org.jruby.ir.operands.FrozenString key;
descriptor: Lorg/jruby/ir/operands/FrozenString;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public static final org.jruby.util.ByteList AREF;
descriptor: Lorg/jruby/util/ByteList;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.jruby.util.ByteList ASET;
descriptor: Lorg/jruby/util/ByteList;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: new org.jruby.util.ByteList
dup
iconst_2
newarray 8
dup
iconst_0
bipush 91
bastore
dup
iconst_1
bipush 93
bastore
invokespecial org.jruby.util.ByteList.<init>:([B)V
putstatic org.jruby.ir.instructions.ArrayDerefInstr.AREF:Lorg/jruby/util/ByteList;
1: new org.jruby.util.ByteList
dup
iconst_3
newarray 8
dup
iconst_0
bipush 91
bastore
dup
iconst_1
bipush 93
bastore
dup
iconst_2
bipush 61
bastore
invokespecial org.jruby.util.ByteList.<init>:([B)V
putstatic org.jruby.ir.instructions.ArrayDerefInstr.ASET:Lorg/jruby/util/ByteList;
return
LocalVariableTable:
Start End Slot Name Signature
public static org.jruby.ir.instructions.ArrayDerefInstr create(org.jruby.ir.IRScope, org.jruby.ir.operands.Variable, org.jruby.ir.operands.Operand, org.jruby.ir.operands.FrozenString);
descriptor: (Lorg/jruby/ir/IRScope;Lorg/jruby/ir/operands/Variable;Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/FrozenString;)Lorg/jruby/ir/instructions/ArrayDerefInstr;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new org.jruby.ir.instructions.ArrayDerefInstr
dup
aload 0
aload 1
aload 2
aload 3
invokespecial org.jruby.ir.instructions.ArrayDerefInstr.<init>:(Lorg/jruby/ir/IRScope;Lorg/jruby/ir/operands/Variable;Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/FrozenString;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 scope Lorg/jruby/ir/IRScope;
0 1 1 result Lorg/jruby/ir/operands/Variable;
0 1 2 obj Lorg/jruby/ir/operands/Operand;
0 1 3 arg0 Lorg/jruby/ir/operands/FrozenString;
MethodParameters:
Name Flags
scope
result
obj
arg0
public void <init>(org.jruby.ir.IRScope, org.jruby.ir.operands.Variable, org.jruby.ir.operands.Operand, org.jruby.ir.operands.FrozenString, org.jruby.runtime.CallSite, long);
descriptor: (Lorg/jruby/ir/IRScope;Lorg/jruby/ir/operands/Variable;Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/FrozenString;Lorg/jruby/runtime/CallSite;J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=12, locals=8, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 1
getstatic org.jruby.ir.Operation.ARRAY_DEREF:Lorg/jruby/ir/Operation;
getstatic org.jruby.runtime.CallType.FUNCTIONAL:Lorg/jruby/runtime/CallType;
aload 2
1: aload 1
invokevirtual org.jruby.ir.IRScope.getManager:()Lorg/jruby/ir/IRManager;
invokevirtual org.jruby.ir.IRManager.getRuntime:()Lorg/jruby/Ruby;
getstatic org.jruby.ir.instructions.ArrayDerefInstr.AREF:Lorg/jruby/util/ByteList;
invokevirtual org.jruby.Ruby.newSymbol:(Lorg/jruby/util/ByteList;)Lorg/jruby/RubySymbol;
aload 3
iconst_1
anewarray org.jruby.ir.operands.Operand
dup
iconst_0
aload 4
aastore
iconst_0
aload 5
lload 6
invokespecial org.jruby.ir.instructions.specialized.OneOperandArgNoBlockCallInstr.<init>:(Lorg/jruby/ir/IRScope;Lorg/jruby/ir/Operation;Lorg/jruby/runtime/CallType;Lorg/jruby/ir/operands/Variable;Lorg/jruby/RubySymbol;Lorg/jruby/ir/operands/Operand;[Lorg/jruby/ir/operands/Operand;ZLorg/jruby/runtime/CallSite;J)V
2: aload 0
aload 4
putfield org.jruby.ir.instructions.ArrayDerefInstr.key:Lorg/jruby/ir/operands/FrozenString;
3: return
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/ArrayDerefInstr;
0 4 1 scope Lorg/jruby/ir/IRScope;
0 4 2 result Lorg/jruby/ir/operands/Variable;
0 4 3 obj Lorg/jruby/ir/operands/Operand;
0 4 4 arg0 Lorg/jruby/ir/operands/FrozenString;
0 4 5 callSite Lorg/jruby/runtime/CallSite;
0 4 6 callSiteId J
MethodParameters:
Name Flags
scope
result
obj
arg0
callSite
callSiteId
public void <init>(org.jruby.ir.IRScope, org.jruby.ir.operands.Variable, org.jruby.ir.operands.Operand, org.jruby.ir.operands.FrozenString);
descriptor: (Lorg/jruby/ir/IRScope;Lorg/jruby/ir/operands/Variable;Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/FrozenString;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, 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
getstatic org.jruby.ir.Operation.ARRAY_DEREF:Lorg/jruby/ir/Operation;
getstatic org.jruby.runtime.CallType.FUNCTIONAL:Lorg/jruby/runtime/CallType;
aload 2
aload 1
invokevirtual org.jruby.ir.IRScope.getManager:()Lorg/jruby/ir/IRManager;
invokevirtual org.jruby.ir.IRManager.getRuntime:()Lorg/jruby/Ruby;
getstatic org.jruby.ir.instructions.ArrayDerefInstr.AREF:Lorg/jruby/util/ByteList;
invokevirtual org.jruby.Ruby.newSymbol:(Lorg/jruby/util/ByteList;)Lorg/jruby/RubySymbol;
aload 3
iconst_1
anewarray org.jruby.ir.operands.Operand
dup
iconst_0
aload 4
aastore
iconst_0
invokespecial org.jruby.ir.instructions.specialized.OneOperandArgNoBlockCallInstr.<init>:(Lorg/jruby/ir/IRScope;Lorg/jruby/ir/Operation;Lorg/jruby/runtime/CallType;Lorg/jruby/ir/operands/Variable;Lorg/jruby/RubySymbol;Lorg/jruby/ir/operands/Operand;[Lorg/jruby/ir/operands/Operand;Z)V
1: aload 0
aload 4
putfield org.jruby.ir.instructions.ArrayDerefInstr.key:Lorg/jruby/ir/operands/FrozenString;
2: return
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/ArrayDerefInstr;
0 3 1 scope Lorg/jruby/ir/IRScope;
0 3 2 result Lorg/jruby/ir/operands/Variable;
0 3 3 obj Lorg/jruby/ir/operands/Operand;
0 3 4 arg0 Lorg/jruby/ir/operands/FrozenString;
MethodParameters:
Name Flags
scope
result
obj
arg0
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=9, locals=2, args_size=2
start local 0 start local 1 0: new org.jruby.ir.instructions.ArrayDerefInstr
dup
aload 1
invokevirtual org.jruby.ir.transformations.inlining.CloneInfo.getScope:()Lorg/jruby/ir/IRScope;
aload 0
invokevirtual org.jruby.ir.instructions.ArrayDerefInstr.getResult:()Lorg/jruby/ir/operands/Variable;
aload 1
invokevirtual org.jruby.ir.operands.Variable.cloneForInlining:(Lorg/jruby/ir/transformations/inlining/CloneInfo;)Lorg/jruby/ir/operands/Operand;
checkcast org.jruby.ir.operands.Variable
1: aload 0
invokevirtual org.jruby.ir.instructions.ArrayDerefInstr.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;
aload 0
getfield org.jruby.ir.instructions.ArrayDerefInstr.key:Lorg/jruby/ir/operands/FrozenString;
aload 0
invokevirtual org.jruby.ir.instructions.ArrayDerefInstr.getCallSite:()Lorg/jruby/runtime/CallSite;
aload 0
invokevirtual org.jruby.ir.instructions.ArrayDerefInstr.getCallSiteId:()J
2: invokespecial org.jruby.ir.instructions.ArrayDerefInstr.<init>:(Lorg/jruby/ir/IRScope;Lorg/jruby/ir/operands/Variable;Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/FrozenString;Lorg/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/ArrayDerefInstr;
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.ArrayDerefInstr.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.ArrayDerefInstr.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.ArrayDerefInstr.getResult:()Lorg/jruby/ir/operands/Variable;
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(Lorg/jruby/ir/operands/Operand;)V
3: aload 1
aload 0
invokevirtual org.jruby.ir.instructions.ArrayDerefInstr.getReceiver:()Lorg/jruby/ir/operands/Operand;
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(Lorg/jruby/ir/operands/Operand;)V
4: aload 1
aload 0
invokevirtual org.jruby.ir.instructions.ArrayDerefInstr.getArg1:()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/ArrayDerefInstr;
0 6 1 e Lorg/jruby/ir/persistence/IRWriterEncoder;
MethodParameters:
Name Flags
e
public static org.jruby.ir.instructions.ArrayDerefInstr decode(org.jruby.ir.persistence.IRReaderDecoder);
descriptor: (Lorg/jruby/ir/persistence/IRReaderDecoder;)Lorg/jruby/ir/instructions/ArrayDerefInstr;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, 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.decodeVariable:()Lorg/jruby/ir/operands/Variable;
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.FrozenString
invokestatic org.jruby.ir.instructions.ArrayDerefInstr.create:(Lorg/jruby/ir/IRScope;Lorg/jruby/ir/operands/Variable;Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/FrozenString;)Lorg/jruby/ir/instructions/ArrayDerefInstr;
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.ArrayDerefInstr.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
getfield org.jruby.ir.instructions.ArrayDerefInstr.key:Lorg/jruby/ir/operands/FrozenString;
aload 1
aload 4
aload 2
aload 3
aload 5
invokevirtual org.jruby.ir.operands.FrozenString.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.RubyString
astore 7
start local 7 2: aload 1
aload 4
aload 6
aload 7
aload 0
invokevirtual org.jruby.ir.instructions.ArrayDerefInstr.getCallSite:()Lorg/jruby/runtime/CallSite;
invokestatic org.jruby.ir.runtime.IRRuntimeHelpers.callOptimizedAref:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyString;Lorg/jruby/runtime/CallSite;)Lorg/jruby/runtime/builtin/IRubyObject;
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 3 0 this Lorg/jruby/ir/instructions/ArrayDerefInstr;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
0 3 2 currScope Lorg/jruby/parser/StaticScope;
0 3 3 dynamicScope Lorg/jruby/runtime/DynamicScope;
0 3 4 self Lorg/jruby/runtime/builtin/IRubyObject;
0 3 5 temp [Ljava/lang/Object;
1 3 6 object Lorg/jruby/runtime/builtin/IRubyObject;
2 3 7 keyStr Lorg/jruby/RubyString;
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.ArrayDerefInstr:(Lorg/jruby/ir/instructions/ArrayDerefInstr;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/instructions/ArrayDerefInstr;
0 2 1 visitor Lorg/jruby/ir/IRVisitor;
MethodParameters:
Name Flags
visitor
public org.jruby.ir.operands.FrozenString getKey();
descriptor: ()Lorg/jruby/ir/operands/FrozenString;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ir.instructions.ArrayDerefInstr.key:Lorg/jruby/ir/operands/FrozenString;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/instructions/ArrayDerefInstr;
}
SourceFile: "ArrayDerefInstr.java"