public abstract class org.jruby.ir.instructions.OneOperandBranchInstr 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.OneOperandBranchInstr
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 value;
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);
descriptor: (Lorg/jruby/ir/Operation;Lorg/jruby/ir/operands/Label;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.BranchInstr.<init>:(Lorg/jruby/ir/Operation;)V
1: aload 0
aload 2
putfield org.jruby.ir.instructions.OneOperandBranchInstr.jumpTarget:Lorg/jruby/ir/operands/Label;
2: aload 0
aload 3
putfield org.jruby.ir.instructions.OneOperandBranchInstr.value: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/OneOperandBranchInstr;
0 4 1 op Lorg/jruby/ir/Operation;
0 4 2 jumpTarget Lorg/jruby/ir/operands/Label;
0 4 3 value Lorg/jruby/ir/operands/Operand;
MethodParameters:
Name Flags
op
jumpTarget
value
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.OneOperandBranchInstr.jumpTarget:Lorg/jruby/ir/operands/Label;
aastore
dup
iconst_1
aload 0
getfield org.jruby.ir.instructions.OneOperandBranchInstr.value:Lorg/jruby/ir/operands/Operand;
aastore
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/instructions/OneOperandBranchInstr;
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
checkcast org.jruby.ir.operands.Label
putfield org.jruby.ir.instructions.OneOperandBranchInstr.jumpTarget:Lorg/jruby/ir/operands/Label;
2: goto 6
3: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield org.jruby.ir.instructions.OneOperandBranchInstr.value: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/OneOperandBranchInstr;
0 7 1 i I
0 7 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.OneOperandBranchInstr.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/OneOperandBranchInstr;
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.OneOperandBranchInstr.jumpTarget:Lorg/jruby/ir/operands/Label;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/instructions/OneOperandBranchInstr;
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.OneOperandBranchInstr.value:Lorg/jruby/ir/operands/Operand;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/instructions/OneOperandBranchInstr;
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.OneOperandBranchInstr.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.OneOperandBranchInstr.getArg1:()Lorg/jruby/ir/operands/Operand;
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(Lorg/jruby/ir/operands/Operand;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ir/instructions/OneOperandBranchInstr;
0 4 1 e Lorg/jruby/ir/persistence/IRWriterEncoder;
MethodParameters:
Name Flags
e
}
SourceFile: "OneOperandBranchInstr.java"