public class org.jruby.ir.operands.SValue 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.SValue
super_class: org.jruby.ir.operands.Operand
{
private final org.jruby.ir.operands.Operand array;
descriptor: Lorg/jruby/ir/operands/Operand;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.jruby.ir.operands.Operand);
descriptor: (Lorg/jruby/ir/operands/Operand;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.jruby.ir.operands.Operand.<init>:()V
1: aload 0
aload 1
putfield org.jruby.ir.operands.SValue.array:Lorg/jruby/ir/operands/Operand;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ir/operands/SValue;
0 3 1 array Lorg/jruby/ir/operands/Operand;
MethodParameters:
Name Flags
array
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.SVALUE:Lorg/jruby/ir/operands/OperandType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/SValue;
public org.jruby.ir.operands.Operand getArray();
descriptor: ()Lorg/jruby/ir/operands/Operand;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ir.operands.SValue.array:Lorg/jruby/ir/operands/Operand;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/SValue;
public boolean hasKnownValue();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ir.operands.SValue.array:Lorg/jruby/ir/operands/Operand;
invokevirtual org.jruby.ir.operands.Operand.hasKnownValue:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/SValue;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "SValue:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.jruby.ir.operands.SValue.array:Lorg/jruby/ir/operands/Operand;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)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/SValue;
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=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.ir.operands.SValue.array: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;
astore 3
start local 3 1: aload 3
instanceof org.jruby.ir.operands.Array
ifeq 6
2: aload 3
checkcast org.jruby.ir.operands.Array
astore 4
start local 4 3: aload 4
invokevirtual org.jruby.ir.operands.Array.getElts:()[Lorg/jruby/ir/operands/Operand;
arraylength
iconst_1
if_icmpne 4
aload 4
invokevirtual org.jruby.ir.operands.Array.getElts:()[Lorg/jruby/ir/operands/Operand;
iconst_0
aaload
goto 5
StackMap locals: org.jruby.ir.operands.Operand org.jruby.ir.operands.Array
StackMap stack:
4: aload 4
StackMap locals:
StackMap stack: org.jruby.ir.operands.Operand
5: areturn
end local 4 6: StackMap locals:
StackMap stack:
aload 3
aload 0
getfield org.jruby.ir.operands.SValue.array:Lorg/jruby/ir/operands/Operand;
if_acmpne 7
aload 0
goto 8
StackMap locals:
StackMap stack:
7: new org.jruby.ir.operands.SValue
dup
aload 3
invokespecial org.jruby.ir.operands.SValue.<init>:(Lorg/jruby/ir/operands/Operand;)V
StackMap locals:
StackMap stack: org.jruby.ir.operands.SValue
8: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jruby/ir/operands/SValue;
0 9 1 valueMap Ljava/util/Map<Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;>;
0 9 2 force Z
1 9 3 newArray Lorg/jruby/ir/operands/Operand;
3 6 4 a Lorg/jruby/ir/operands/Array;
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 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 0
getfield org.jruby.ir.operands.SValue.array:Lorg/jruby/ir/operands/Operand;
aload 1
invokevirtual org.jruby.ir.operands.Operand.addUsedVariables:(Ljava/util/List;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/operands/SValue;
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.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=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.ir.operands.SValue.hasKnownValue:()Z
ifeq 1
aload 0
goto 2
StackMap locals:
StackMap stack:
1: new org.jruby.ir.operands.SValue
dup
aload 0
getfield org.jruby.ir.operands.SValue.array: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;
invokespecial org.jruby.ir.operands.SValue.<init>:(Lorg/jruby/ir/operands/Operand;)V
StackMap locals:
StackMap stack: org.jruby.ir.operands.SValue
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ir/operands/SValue;
0 3 1 ii Lorg/jruby/ir/transformations/inlining/CloneInfo;
MethodParameters:
Name Flags
ii
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=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
getfield org.jruby.ir.operands.SValue.array:Lorg/jruby/ir/operands/Operand;
aload 1
aload 2
aload 3
aload 4
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 1
aload 6
invokestatic org.jruby.ir.runtime.IRRuntimeHelpers.svalue:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/Object;)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/operands/SValue;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
0 2 2 self Lorg/jruby/runtime/builtin/IRubyObject;
0 2 3 currScope Lorg/jruby/parser/StaticScope;
0 2 4 currDynScope Lorg/jruby/runtime/DynamicScope;
0 2 5 temp [Ljava/lang/Object;
1 2 6 val Ljava/lang/Object;
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
invokevirtual org.jruby.ir.operands.SValue.getArray:()Lorg/jruby/ir/operands/Operand;
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/operands/SValue;
0 3 1 e Lorg/jruby/ir/persistence/IRWriterEncoder;
MethodParameters:
Name Flags
e
public static org.jruby.ir.operands.SValue decode(org.jruby.ir.persistence.IRReaderDecoder);
descriptor: (Lorg/jruby/ir/persistence/IRReaderDecoder;)Lorg/jruby/ir/operands/SValue;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.jruby.ir.operands.SValue
dup
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeOperand:()Lorg/jruby/ir/operands/Operand;
invokespecial org.jruby.ir.operands.SValue.<init>:(Lorg/jruby/ir/operands/Operand;)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.SValue:(Lorg/jruby/ir/operands/SValue;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/operands/SValue;
0 2 1 visitor Lorg/jruby/ir/IRVisitor;
MethodParameters:
Name Flags
visitor
}
SourceFile: "SValue.java"