public abstract class org.jruby.ir.instructions.TwoOperandInstr extends org.jruby.ir.instructions.Instr
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.jruby.ir.instructions.TwoOperandInstr
super_class: org.jruby.ir.instructions.Instr
{
private org.jruby.ir.operands.Operand operand1;
descriptor: Lorg/jruby/ir/operands/Operand;
flags: (0x0002) ACC_PRIVATE
private org.jruby.ir.operands.Operand operand2;
descriptor: Lorg/jruby/ir/operands/Operand;
flags: (0x0002) ACC_PRIVATE
public void <init>(org.jruby.ir.Operation, org.jruby.ir.operands.Operand, org.jruby.ir.operands.Operand);
descriptor: (Lorg/jruby/ir/Operation;Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokespecial org.jruby.ir.instructions.Instr.<init>:(Lorg/jruby/ir/Operation;)V
1: aload 0
aload 2
putfield org.jruby.ir.instructions.TwoOperandInstr.operand1:Lorg/jruby/ir/operands/Operand;
2: aload 0
aload 3
putfield org.jruby.ir.instructions.TwoOperandInstr.operand2:Lorg/jruby/ir/operands/Operand;
3: return
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/TwoOperandInstr;
0 4 1 operation Lorg/jruby/ir/Operation;
0 4 2 operand1 Lorg/jruby/ir/operands/Operand;
0 4 3 operand2 Lorg/jruby/ir/operands/Operand;
MethodParameters:
Name Flags
operation
operand1
operand2
public org.jruby.ir.operands.Operand[] getOperands();
descriptor: ()[Lorg/jruby/ir/operands/Operand;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: iconst_2
anewarray org.jruby.ir.operands.Operand
dup
iconst_0
aload 0
getfield org.jruby.ir.instructions.TwoOperandInstr.operand1:Lorg/jruby/ir/operands/Operand;
aastore
dup
iconst_1
aload 0
getfield org.jruby.ir.instructions.TwoOperandInstr.operand2:Lorg/jruby/ir/operands/Operand;
aastore
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/instructions/TwoOperandInstr;
public org.jruby.ir.operands.Operand getOperand1();
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.instructions.TwoOperandInstr.operand1:Lorg/jruby/ir/operands/Operand;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/instructions/TwoOperandInstr;
public org.jruby.ir.operands.Operand getOperand2();
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.instructions.TwoOperandInstr.operand2:Lorg/jruby/ir/operands/Operand;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/instructions/TwoOperandInstr;
public void setOperand1(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
aload 1
putfield org.jruby.ir.instructions.TwoOperandInstr.operand1:Lorg/jruby/ir/operands/Operand;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/instructions/TwoOperandInstr;
0 2 1 operand1 Lorg/jruby/ir/operands/Operand;
MethodParameters:
Name Flags
operand1
public void setOperand2(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
aload 1
putfield org.jruby.ir.instructions.TwoOperandInstr.operand2:Lorg/jruby/ir/operands/Operand;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/instructions/TwoOperandInstr;
0 2 1 operand2 Lorg/jruby/ir/operands/Operand;
MethodParameters:
Name Flags
operand2
public void setOperand(int, org.jruby.ir.operands.Operand);
descriptor: (ILorg/jruby/ir/operands/Operand;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
tableswitch { // 0 - 1
0: 1
1: 3
default: 5
}
1: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield org.jruby.ir.instructions.TwoOperandInstr.operand1:Lorg/jruby/ir/operands/Operand;
2: goto 6
3: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield org.jruby.ir.instructions.TwoOperandInstr.operand2:Lorg/jruby/ir/operands/Operand;
4: goto 6
5: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "No such operand to set at index: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/ir/instructions/TwoOperandInstr;
0 7 1 i I
0 7 2 operand Lorg/jruby/ir/operands/Operand;
MethodParameters:
Name Flags
i
operand
}
SourceFile: "TwoOperandInstr.java"