public class org.jruby.ir.instructions.ReceiveRestArgInstr extends org.jruby.ir.instructions.ReceiveArgBase implements org.jruby.ir.instructions.FixedArityInstr
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ir.instructions.ReceiveRestArgInstr
super_class: org.jruby.ir.instructions.ReceiveArgBase
{
public final int required;
descriptor: I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public void <init>(org.jruby.ir.operands.Variable, int, int);
descriptor: (Lorg/jruby/ir/operands/Variable;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getstatic org.jruby.ir.Operation.RECV_REST_ARG:Lorg/jruby/ir/Operation;
aload 1
iload 3
invokespecial org.jruby.ir.instructions.ReceiveArgBase.<init>:(Lorg/jruby/ir/Operation;Lorg/jruby/ir/operands/Variable;I)V
1: aload 0
iload 2
putfield org.jruby.ir.instructions.ReceiveRestArgInstr.required:I
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ir/instructions/ReceiveRestArgInstr;
0 3 1 result Lorg/jruby/ir/operands/Variable;
0 3 2 required I
0 3 3 argIndex I
MethodParameters:
Name Flags
result
required
argIndex
public java.lang.String[] toStringNonOperandArgs();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: iconst_2
anewarray java.lang.String
dup
iconst_0
new java.lang.StringBuilder
dup
ldc "index: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.jruby.ir.instructions.ReceiveRestArgInstr.getArgIndex:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
dup
iconst_1
new java.lang.StringBuilder
dup
ldc "req: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.jruby.ir.instructions.ReceiveRestArgInstr.required:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/instructions/ReceiveRestArgInstr;
public org.jruby.ir.instructions.Instr clone(org.jruby.ir.transformations.inlining.CloneInfo);
descriptor: (Lorg/jruby/ir/transformations/inlining/CloneInfo;)Lorg/jruby/ir/instructions/Instr;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.jruby.ir.transformations.inlining.SimpleCloneInfo
ifeq 1
new org.jruby.ir.instructions.ReceiveRestArgInstr
dup
aload 1
aload 0
getfield org.jruby.ir.instructions.ReceiveRestArgInstr.result:Lorg/jruby/ir/operands/Variable;
invokevirtual org.jruby.ir.transformations.inlining.CloneInfo.getRenamedVariable:(Lorg/jruby/ir/operands/Variable;)Lorg/jruby/ir/operands/Variable;
aload 0
getfield org.jruby.ir.instructions.ReceiveRestArgInstr.required:I
aload 0
getfield org.jruby.ir.instructions.ReceiveRestArgInstr.argIndex:I
invokespecial org.jruby.ir.instructions.ReceiveRestArgInstr.<init>:(Lorg/jruby/ir/operands/Variable;II)V
areturn
1: StackMap locals:
StackMap stack:
aload 1
checkcast org.jruby.ir.transformations.inlining.InlineCloneInfo
astore 2
start local 2 2: aload 2
invokevirtual org.jruby.ir.transformations.inlining.InlineCloneInfo.canMapArgsStatically:()Z
ifeq 3
new org.jruby.ir.instructions.CopyInstr
dup
aload 2
aload 0
getfield org.jruby.ir.instructions.ReceiveRestArgInstr.result:Lorg/jruby/ir/operands/Variable;
invokevirtual org.jruby.ir.transformations.inlining.InlineCloneInfo.getRenamedVariable:(Lorg/jruby/ir/operands/Variable;)Lorg/jruby/ir/operands/Variable;
aload 2
aload 0
getfield org.jruby.ir.instructions.ReceiveRestArgInstr.argIndex:I
iconst_1
invokevirtual org.jruby.ir.transformations.inlining.InlineCloneInfo.getArg:(IZ)Lorg/jruby/ir/operands/Operand;
invokespecial org.jruby.ir.instructions.CopyInstr.<init>:(Lorg/jruby/ir/operands/Variable;Lorg/jruby/ir/operands/Operand;)V
areturn
3: StackMap locals: org.jruby.ir.transformations.inlining.InlineCloneInfo
StackMap stack:
new org.jruby.ir.instructions.RestArgMultipleAsgnInstr
dup
aload 2
aload 0
getfield org.jruby.ir.instructions.ReceiveRestArgInstr.result:Lorg/jruby/ir/operands/Variable;
invokevirtual org.jruby.ir.transformations.inlining.InlineCloneInfo.getRenamedVariable:(Lorg/jruby/ir/operands/Variable;)Lorg/jruby/ir/operands/Variable;
aload 2
invokevirtual org.jruby.ir.transformations.inlining.InlineCloneInfo.getArgs:()Lorg/jruby/ir/operands/Operand;
aload 0
getfield org.jruby.ir.instructions.ReceiveRestArgInstr.argIndex:I
aload 0
getfield org.jruby.ir.instructions.ReceiveRestArgInstr.required:I
aload 0
getfield org.jruby.ir.instructions.ReceiveRestArgInstr.argIndex:I
isub
aload 0
getfield org.jruby.ir.instructions.ReceiveRestArgInstr.argIndex:I
invokespecial org.jruby.ir.instructions.RestArgMultipleAsgnInstr.<init>:(Lorg/jruby/ir/operands/Variable;Lorg/jruby/ir/operands/Operand;III)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ir/instructions/ReceiveRestArgInstr;
0 4 1 info Lorg/jruby/ir/transformations/inlining/CloneInfo;
2 4 2 ii Lorg/jruby/ir/transformations/inlining/InlineCloneInfo;
MethodParameters:
Name Flags
info
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.ReceiveArgBase.encode:(Lorg/jruby/ir/persistence/IRWriterEncoder;)V
1: aload 1
aload 0
getfield org.jruby.ir.instructions.ReceiveRestArgInstr.required:I
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(I)V
2: aload 1
aload 0
invokevirtual org.jruby.ir.instructions.ReceiveRestArgInstr.getArgIndex:()I
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(I)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ir/instructions/ReceiveRestArgInstr;
0 4 1 e Lorg/jruby/ir/persistence/IRWriterEncoder;
MethodParameters:
Name Flags
e
public static org.jruby.ir.instructions.ReceiveRestArgInstr decode(org.jruby.ir.persistence.IRReaderDecoder);
descriptor: (Lorg/jruby/ir/persistence/IRReaderDecoder;)Lorg/jruby/ir/instructions/ReceiveRestArgInstr;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new org.jruby.ir.instructions.ReceiveRestArgInstr
dup
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeVariable:()Lorg/jruby/ir/operands/Variable;
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeInt:()I
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeInt:()I
invokespecial org.jruby.ir.instructions.ReceiveRestArgInstr.<init>:(Lorg/jruby/ir/operands/Variable;II)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 d Lorg/jruby/ir/persistence/IRReaderDecoder;
MethodParameters:
Name Flags
d
public org.jruby.runtime.builtin.IRubyObject receiveArg(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject[], boolean);
descriptor: (Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;Z)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 2
aload 0
getfield org.jruby.ir.instructions.ReceiveRestArgInstr.required:I
aload 0
getfield org.jruby.ir.instructions.ReceiveRestArgInstr.argIndex:I
iload 3
invokestatic org.jruby.ir.runtime.IRRuntimeHelpers.receiveRestArg:(Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;IIZ)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
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/instructions/ReceiveRestArgInstr;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 1 3 acceptsKeywordArguments Z
MethodParameters:
Name Flags
context
args
acceptsKeywordArguments
public void visit(org.jruby.ir.IRVisitor);
descriptor: (Lorg/jruby/ir/IRVisitor;)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.IRVisitor.ReceiveRestArgInstr:(Lorg/jruby/ir/instructions/ReceiveRestArgInstr;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/instructions/ReceiveRestArgInstr;
0 2 1 visitor Lorg/jruby/ir/IRVisitor;
MethodParameters:
Name Flags
visitor
}
SourceFile: "ReceiveRestArgInstr.java"