public abstract class org.jruby.ir.instructions.TwoOperandBranchInstr extends org.jruby.ir.instructions.BranchInstr
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.jruby.ir.instructions.TwoOperandBranchInstr
super_class: org.jruby.ir.instructions.BranchInstr
{
private org.jruby.ir.operands.Label jumpTarget;
descriptor: Lorg/jruby/ir/operands/Label;
flags: (0x0002) ACC_PRIVATE
private org.jruby.ir.operands.Operand arg1;
descriptor: Lorg/jruby/ir/operands/Operand;
flags: (0x0002) ACC_PRIVATE
private org.jruby.ir.operands.Operand arg2;
descriptor: Lorg/jruby/ir/operands/Operand;
flags: (0x0002) ACC_PRIVATE
public void <init>(org.jruby.ir.Operation, org.jruby.ir.operands.Label, org.jruby.ir.operands.Operand, org.jruby.ir.operands.Operand);
descriptor: (Lorg/jruby/ir/Operation;Lorg/jruby/ir/operands/Label;Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, 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
invokespecial org.jruby.ir.instructions.BranchInstr.<init>:(Lorg/jruby/ir/Operation;)V
1: aload 0
aload 2
putfield org.jruby.ir.instructions.TwoOperandBranchInstr.jumpTarget:Lorg/jruby/ir/operands/Label;
2: aload 0
aload 3
putfield org.jruby.ir.instructions.TwoOperandBranchInstr.arg1:Lorg/jruby/ir/operands/Operand;
3: aload 0
aload 4
putfield org.jruby.ir.instructions.TwoOperandBranchInstr.arg2:Lorg/jruby/ir/operands/Operand;
4: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/ir/instructions/TwoOperandBranchInstr;
0 5 1 op Lorg/jruby/ir/Operation;
0 5 2 jumpTarget Lorg/jruby/ir/operands/Label;
0 5 3 arg1 Lorg/jruby/ir/operands/Operand;
0 5 4 arg2 Lorg/jruby/ir/operands/Operand;
MethodParameters:
Name Flags
op
jumpTarget
arg1
arg2
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_3
anewarray org.jruby.ir.operands.Operand
dup
iconst_0
aload 0
getfield org.jruby.ir.instructions.TwoOperandBranchInstr.jumpTarget:Lorg/jruby/ir/operands/Label;
aastore
dup
iconst_1
aload 0
getfield org.jruby.ir.instructions.TwoOperandBranchInstr.arg1:Lorg/jruby/ir/operands/Operand;
aastore
dup
iconst_2
aload 0
getfield org.jruby.ir.instructions.TwoOperandBranchInstr.arg2:Lorg/jruby/ir/operands/Operand;
aastore
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/instructions/TwoOperandBranchInstr;
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 - 2
0: 1
1: 3
2: 5
default: 7
}
1: StackMap locals:
StackMap stack:
aload 0
aload 2
checkcast org.jruby.ir.operands.Label
putfield org.jruby.ir.instructions.TwoOperandBranchInstr.jumpTarget:Lorg/jruby/ir/operands/Label;
2: goto 8
3: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield org.jruby.ir.instructions.TwoOperandBranchInstr.arg1:Lorg/jruby/ir/operands/Operand;
4: goto 8
5: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield org.jruby.ir.instructions.TwoOperandBranchInstr.arg2:Lorg/jruby/ir/operands/Operand;
6: goto 8
7: 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
8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jruby/ir/instructions/TwoOperandBranchInstr;
0 9 1 i I
0 9 2 operand Lorg/jruby/ir/operands/Operand;
MethodParameters:
Name Flags
i
operand
public void setJumpTarget(org.jruby.ir.operands.Label);
descriptor: (Lorg/jruby/ir/operands/Label;)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.TwoOperandBranchInstr.jumpTarget:Lorg/jruby/ir/operands/Label;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/instructions/TwoOperandBranchInstr;
0 2 1 target Lorg/jruby/ir/operands/Label;
MethodParameters:
Name Flags
target
public org.jruby.ir.operands.Label getJumpTarget();
descriptor: ()Lorg/jruby/ir/operands/Label;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ir.instructions.TwoOperandBranchInstr.jumpTarget:Lorg/jruby/ir/operands/Label;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/instructions/TwoOperandBranchInstr;
public org.jruby.ir.operands.Operand getArg1();
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.TwoOperandBranchInstr.arg1:Lorg/jruby/ir/operands/Operand;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/instructions/TwoOperandBranchInstr;
public org.jruby.ir.operands.Operand getArg2();
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.TwoOperandBranchInstr.arg2:Lorg/jruby/ir/operands/Operand;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/instructions/TwoOperandBranchInstr;
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.instructions.BranchInstr.encode:(Lorg/jruby/ir/persistence/IRWriterEncoder;)V
1: aload 1
aload 0
invokevirtual org.jruby.ir.instructions.TwoOperandBranchInstr.getJumpTarget:()Lorg/jruby/ir/operands/Label;
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(Lorg/jruby/ir/operands/Operand;)V
2: aload 1
aload 0
invokevirtual org.jruby.ir.instructions.TwoOperandBranchInstr.getArg1:()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.TwoOperandBranchInstr.getArg2:()Lorg/jruby/ir/operands/Operand;
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(Lorg/jruby/ir/operands/Operand;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/ir/instructions/TwoOperandBranchInstr;
0 5 1 e Lorg/jruby/ir/persistence/IRWriterEncoder;
MethodParameters:
Name Flags
e
}
SourceFile: "TwoOperandBranchInstr.java"