public class org.jruby.ir.instructions.ReceivePostReqdArgInstr 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.ReceivePostReqdArgInstr
super_class: org.jruby.ir.instructions.ReceiveArgBase
{
public final int preReqdArgsCount;
descriptor: I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final int optArgsCount;
descriptor: I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final boolean restArg;
descriptor: Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final int postReqdArgsCount;
descriptor: I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public void <init>(org.jruby.ir.operands.Variable, int, int, int, boolean, int);
descriptor: (Lorg/jruby/ir/operands/Variable;IIIZI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
getstatic org.jruby.ir.Operation.RECV_POST_REQD_ARG:Lorg/jruby/ir/Operation;
aload 1
iload 2
invokespecial org.jruby.ir.instructions.ReceiveArgBase.<init>:(Lorg/jruby/ir/Operation;Lorg/jruby/ir/operands/Variable;I)V
1: aload 0
iload 3
putfield org.jruby.ir.instructions.ReceivePostReqdArgInstr.preReqdArgsCount:I
2: aload 0
iload 4
putfield org.jruby.ir.instructions.ReceivePostReqdArgInstr.optArgsCount:I
3: aload 0
iload 5
putfield org.jruby.ir.instructions.ReceivePostReqdArgInstr.restArg:Z
4: aload 0
iload 6
putfield org.jruby.ir.instructions.ReceivePostReqdArgInstr.postReqdArgsCount:I
5: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/ir/instructions/ReceivePostReqdArgInstr;
0 6 1 result Lorg/jruby/ir/operands/Variable;
0 6 2 argIndex I
0 6 3 preReqdArgsCount I
0 6 4 optArgCount I
0 6 5 restArg Z
0 6 6 postReqdArgsCount I
MethodParameters:
Name Flags
result
argIndex
preReqdArgsCount
optArgCount
restArg
postReqdArgsCount
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_3
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.ReceivePostReqdArgInstr.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 "pre: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.jruby.ir.instructions.ReceivePostReqdArgInstr.preReqdArgsCount:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
dup
iconst_2
new java.lang.StringBuilder
dup
ldc "post: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.jruby.ir.instructions.ReceivePostReqdArgInstr.postReqdArgsCount: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/ReceivePostReqdArgInstr;
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=8, locals=6, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.jruby.ir.transformations.inlining.SimpleCloneInfo
ifeq 2
1: new org.jruby.ir.instructions.ReceivePostReqdArgInstr
dup
aload 1
aload 0
getfield org.jruby.ir.instructions.ReceivePostReqdArgInstr.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.ReceivePostReqdArgInstr.argIndex:I
aload 0
getfield org.jruby.ir.instructions.ReceivePostReqdArgInstr.preReqdArgsCount:I
aload 0
getfield org.jruby.ir.instructions.ReceivePostReqdArgInstr.optArgsCount:I
aload 0
getfield org.jruby.ir.instructions.ReceivePostReqdArgInstr.restArg:Z
aload 0
getfield org.jruby.ir.instructions.ReceivePostReqdArgInstr.postReqdArgsCount:I
invokespecial org.jruby.ir.instructions.ReceivePostReqdArgInstr.<init>:(Lorg/jruby/ir/operands/Variable;IIIZI)V
areturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast org.jruby.ir.transformations.inlining.InlineCloneInfo
astore 2
start local 2 3: aload 2
invokevirtual org.jruby.ir.transformations.inlining.InlineCloneInfo.canMapArgsStatically:()Z
ifeq 13
4: aload 2
invokevirtual org.jruby.ir.transformations.inlining.InlineCloneInfo.getArgsCount:()I
istore 3
start local 3 5: iload 3
aload 0
getfield org.jruby.ir.instructions.ReceivePostReqdArgInstr.preReqdArgsCount:I
isub
istore 4
start local 4 6: iload 4
aload 0
getfield org.jruby.ir.instructions.ReceivePostReqdArgInstr.argIndex:I
if_icmpgt 9
7: aload 2
invokevirtual org.jruby.ir.transformations.inlining.InlineCloneInfo.getHostScope:()Lorg/jruby/ir/IRScope;
invokevirtual org.jruby.ir.IRScope.getManager:()Lorg/jruby/ir/IRManager;
invokevirtual org.jruby.ir.IRManager.getNil:()Lorg/jruby/ir/operands/Nil;
astore 5
start local 5 8: goto 12
end local 5 9: StackMap locals: org.jruby.ir.transformations.inlining.InlineCloneInfo int int
StackMap stack:
iload 4
aload 0
getfield org.jruby.ir.instructions.ReceivePostReqdArgInstr.postReqdArgsCount:I
if_icmple 10
aload 2
iload 3
aload 0
getfield org.jruby.ir.instructions.ReceivePostReqdArgInstr.postReqdArgsCount:I
isub
aload 0
getfield org.jruby.ir.instructions.ReceivePostReqdArgInstr.argIndex:I
iadd
invokevirtual org.jruby.ir.transformations.inlining.InlineCloneInfo.getArg:(I)Lorg/jruby/ir/operands/Operand;
goto 11
StackMap locals:
StackMap stack:
10: aload 2
aload 0
getfield org.jruby.ir.instructions.ReceivePostReqdArgInstr.preReqdArgsCount:I
aload 0
getfield org.jruby.ir.instructions.ReceivePostReqdArgInstr.argIndex:I
iadd
invokevirtual org.jruby.ir.transformations.inlining.InlineCloneInfo.getArg:(I)Lorg/jruby/ir/operands/Operand;
StackMap locals:
StackMap stack: org.jruby.ir.operands.Operand
11: astore 5
start local 5 12: StackMap locals: org.jruby.ir.operands.Operand
StackMap stack:
new org.jruby.ir.instructions.CopyInstr
dup
aload 2
aload 0
getfield org.jruby.ir.instructions.ReceivePostReqdArgInstr.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 5
invokespecial org.jruby.ir.instructions.CopyInstr.<init>:(Lorg/jruby/ir/operands/Variable;Lorg/jruby/ir/operands/Operand;)V
areturn
end local 5 end local 4 end local 3 13: StackMap locals:
StackMap stack:
new org.jruby.ir.instructions.ReqdArgMultipleAsgnInstr
dup
aload 2
aload 0
getfield org.jruby.ir.instructions.ReceivePostReqdArgInstr.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.ReceivePostReqdArgInstr.preReqdArgsCount:I
aload 0
getfield org.jruby.ir.instructions.ReceivePostReqdArgInstr.postReqdArgsCount:I
aload 0
getfield org.jruby.ir.instructions.ReceivePostReqdArgInstr.argIndex:I
invokespecial org.jruby.ir.instructions.ReqdArgMultipleAsgnInstr.<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 14 0 this Lorg/jruby/ir/instructions/ReceivePostReqdArgInstr;
0 14 1 info Lorg/jruby/ir/transformations/inlining/CloneInfo;
3 14 2 ii Lorg/jruby/ir/transformations/inlining/InlineCloneInfo;
5 13 3 n I
6 13 4 remaining I
8 9 5 argVal Lorg/jruby/ir/operands/Operand;
12 13 5 argVal Lorg/jruby/ir/operands/Operand;
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
invokevirtual org.jruby.ir.instructions.ReceivePostReqdArgInstr.getArgIndex:()I
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(I)V
2: aload 1
aload 0
getfield org.jruby.ir.instructions.ReceivePostReqdArgInstr.preReqdArgsCount:I
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(I)V
3: aload 1
aload 0
getfield org.jruby.ir.instructions.ReceivePostReqdArgInstr.optArgsCount:I
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(I)V
4: aload 1
aload 0
getfield org.jruby.ir.instructions.ReceivePostReqdArgInstr.restArg:Z
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(Z)V
5: aload 1
aload 0
getfield org.jruby.ir.instructions.ReceivePostReqdArgInstr.postReqdArgsCount:I
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(I)V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/ir/instructions/ReceivePostReqdArgInstr;
0 7 1 e Lorg/jruby/ir/persistence/IRWriterEncoder;
MethodParameters:
Name Flags
e
public static org.jruby.ir.instructions.ReceivePostReqdArgInstr decode(org.jruby.ir.persistence.IRReaderDecoder);
descriptor: (Lorg/jruby/ir/persistence/IRReaderDecoder;)Lorg/jruby/ir/instructions/ReceivePostReqdArgInstr;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=1, args_size=1
start local 0 0: new org.jruby.ir.instructions.ReceivePostReqdArgInstr
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
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeInt:()I
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeBoolean:()Z
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeInt:()I
invokespecial org.jruby.ir.instructions.ReceivePostReqdArgInstr.<init>:(Lorg/jruby/ir/operands/Variable;IIIZI)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 receivePostReqdArg(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=8, 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.ReceivePostReqdArgInstr.preReqdArgsCount:I
aload 0
getfield org.jruby.ir.instructions.ReceivePostReqdArgInstr.optArgsCount:I
aload 0
getfield org.jruby.ir.instructions.ReceivePostReqdArgInstr.restArg:Z
1: aload 0
getfield org.jruby.ir.instructions.ReceivePostReqdArgInstr.postReqdArgsCount:I
aload 0
getfield org.jruby.ir.instructions.ReceivePostReqdArgInstr.argIndex:I
iload 3
2: invokestatic org.jruby.ir.runtime.IRRuntimeHelpers.receivePostReqdArg:(Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;IIZIIZ)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 3 0 this Lorg/jruby/ir/instructions/ReceivePostReqdArgInstr;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
0 3 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 3 3 acceptsKeywordArgument Z
MethodParameters:
Name Flags
context
args
acceptsKeywordArgument
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.ReceivePostReqdArgInstr:(Lorg/jruby/ir/instructions/ReceivePostReqdArgInstr;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/instructions/ReceivePostReqdArgInstr;
0 2 1 visitor Lorg/jruby/ir/IRVisitor;
MethodParameters:
Name Flags
visitor
}
SourceFile: "ReceivePostReqdArgInstr.java"