public abstract class org.jruby.ir.operands.Operand
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.jruby.ir.operands.Operand
super_class: java.lang.Object
{
public static final org.jruby.ir.operands.Operand[] EMPTY_ARRAY;
descriptor: [Lorg/jruby/ir/operands/Operand;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.jruby.ir.instructions.Instr.EMPTY_OPERANDS:[Lorg/jruby/ir/operands/Operand;
putstatic org.jruby.ir.operands.Operand.EMPTY_ARRAY:[Lorg/jruby/ir/operands/Operand;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/operands/Operand;
public abstract org.jruby.ir.operands.OperandType getOperandType();
descriptor: ()Lorg/jruby/ir/operands/OperandType;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public boolean hasKnownValue();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/Operand;
public boolean canCopyPropagate();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/Operand;
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=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/Operand;
0 1 1 valueMap Ljava/util/Map<Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;>;
0 1 2 force Z
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 getValue(java.util.Map<org.jruby.ir.operands.Operand, org.jruby.ir.operands.Operand>);
descriptor: (Ljava/util/Map;)Lorg/jruby/ir/operands/Operand;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/Operand;
0 1 1 valueMap Ljava/util/Map<Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;>;
Signature: (Ljava/util/Map<Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;>;)Lorg/jruby/ir/operands/Operand;
MethodParameters:
Name Flags
valueMap
public boolean isTruthyImmediate();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/Operand;
public boolean isFalseyImmediate();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/Operand;
public abstract void addUsedVariables(java.util.List<org.jruby.ir.operands.Variable>);
descriptor: (Ljava/util/List;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Ljava/util/List<Lorg/jruby/ir/operands/Variable;>;)V
MethodParameters:
Name Flags
l
public abstract 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: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
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 1
aload 0
invokevirtual org.jruby.ir.operands.Operand.getOperandType:()Lorg/jruby/ir/operands/OperandType;
invokevirtual org.jruby.ir.operands.OperandType.getCoded:()B
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(B)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/operands/Operand;
0 2 1 e Lorg/jruby/ir/persistence/IRWriterEncoder;
MethodParameters:
Name Flags
e
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=5, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " should not be directly retrieved."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
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 1 0 this Lorg/jruby/ir/operands/Operand;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 self Lorg/jruby/runtime/builtin/IRubyObject;
0 1 3 currScope Lorg/jruby/parser/StaticScope;
0 1 4 currDynScope Lorg/jruby/runtime/DynamicScope;
0 1 5 temp [Ljava/lang/Object;
RuntimeInvisibleAnnotations:
org.jruby.ir.Interp()
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
org.jruby.ir.Interp()
MethodParameters:
Name Flags
context
self
currScope
currDynScope
temp
public void visit(org.jruby.ir.IRVisitor);
descriptor: (Lorg/jruby/ir/IRVisitor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "operand "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " has no visit logic."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/Operand;
0 1 1 visitor Lorg/jruby/ir/IRVisitor;
MethodParameters:
Name Flags
visitor
}
SourceFile: "Operand.java"