public abstract class org.jruby.ir.instructions.NOperandInstr 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.NOperandInstr
super_class: org.jruby.ir.instructions.Instr
{
protected transient org.jruby.ir.operands.Operand[] operands;
descriptor: [Lorg/jruby/ir/operands/Operand;
flags: (0x0084) ACC_PROTECTED, ACC_TRANSIENT
public void <init>(org.jruby.ir.Operation, org.jruby.ir.operands.Operand[]);
descriptor: (Lorg/jruby/ir/Operation;[Lorg/jruby/ir/operands/Operand;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 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.NOperandInstr.operands:[Lorg/jruby/ir/operands/Operand;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ir/instructions/NOperandInstr;
0 3 1 operation Lorg/jruby/ir/Operation;
0 3 2 operands [Lorg/jruby/ir/operands/Operand;
MethodParameters:
Name Flags
operation
operands
public org.jruby.ir.operands.Operand[] getOperands();
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.NOperandInstr.operands:[Lorg/jruby/ir/operands/Operand;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/instructions/NOperandInstr;
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
iflt 1
iload 1
aload 0
getfield org.jruby.ir.instructions.NOperandInstr.operands:[Lorg/jruby/ir/operands/Operand;
arraylength
if_icmplt 2
1: 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
2: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.ir.instructions.NOperandInstr.operands:[Lorg/jruby/ir/operands/Operand;
iload 1
aload 2
aastore
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ir/instructions/NOperandInstr;
0 4 1 i I
0 4 2 operand Lorg/jruby/ir/operands/Operand;
MethodParameters:
Name Flags
i
operand
}
SourceFile: "NOperandInstr.java"