public class org.jruby.ir.instructions.CallInstr extends org.jruby.ir.instructions.CallBase implements org.jruby.ir.instructions.ResultInstr
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ir.instructions.CallInstr
super_class: org.jruby.ir.instructions.CallBase
{
protected transient org.jruby.ir.operands.Variable result;
descriptor: Lorg/jruby/ir/operands/Variable;
flags: (0x0084) ACC_PROTECTED, ACC_TRANSIENT
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/jruby/ir/instructions/CallInstr;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.jruby.ir.instructions.CallInstr.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public static org.jruby.ir.instructions.CallInstr createWithKwargs(org.jruby.ir.IRScope, org.jruby.runtime.CallType, org.jruby.ir.operands.Variable, org.jruby.RubySymbol, org.jruby.ir.operands.Operand, org.jruby.ir.operands.Operand[], org.jruby.ir.operands.Operand, java.util.List<org.jruby.util.KeyValuePair<org.jruby.ir.operands.Operand, org.jruby.ir.operands.Operand>>);
descriptor: (Lorg/jruby/ir/IRScope;Lorg/jruby/runtime/CallType;Lorg/jruby/ir/operands/Variable;Lorg/jruby/RubySymbol;Lorg/jruby/ir/operands/Operand;[Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;Ljava/util/List;)Lorg/jruby/ir/instructions/CallInstr;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=9, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 5
arraylength
iconst_1
iadd
anewarray org.jruby.ir.operands.Operand
astore 8
start local 8 1: aload 5
iconst_0
aload 8
iconst_0
aload 5
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 8
aload 5
arraylength
new org.jruby.ir.operands.Hash
dup
aload 7
iconst_1
invokespecial org.jruby.ir.operands.Hash.<init>:(Ljava/util/List;Z)V
aastore
3: aload 0
aload 1
aload 2
aload 3
aload 4
aload 8
aload 6
invokestatic org.jruby.ir.instructions.CallInstr.create:(Lorg/jruby/ir/IRScope;Lorg/jruby/runtime/CallType;Lorg/jruby/ir/operands/Variable;Lorg/jruby/RubySymbol;Lorg/jruby/ir/operands/Operand;[Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;)Lorg/jruby/ir/instructions/CallInstr;
areturn
end local 8 end local 7 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 4 0 scope Lorg/jruby/ir/IRScope;
0 4 1 callType Lorg/jruby/runtime/CallType;
0 4 2 result Lorg/jruby/ir/operands/Variable;
0 4 3 name Lorg/jruby/RubySymbol;
0 4 4 receiver Lorg/jruby/ir/operands/Operand;
0 4 5 args [Lorg/jruby/ir/operands/Operand;
0 4 6 closure Lorg/jruby/ir/operands/Operand;
0 4 7 kwargs Ljava/util/List<Lorg/jruby/util/KeyValuePair<Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;>;>;
1 4 8 newArgs [Lorg/jruby/ir/operands/Operand;
Signature: (Lorg/jruby/ir/IRScope;Lorg/jruby/runtime/CallType;Lorg/jruby/ir/operands/Variable;Lorg/jruby/RubySymbol;Lorg/jruby/ir/operands/Operand;[Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;Ljava/util/List<Lorg/jruby/util/KeyValuePair<Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;>;>;)Lorg/jruby/ir/instructions/CallInstr;
MethodParameters:
Name Flags
scope
callType
result
name
receiver
args
closure
kwargs
public static org.jruby.ir.instructions.CallInstr create(org.jruby.ir.IRScope, org.jruby.ir.operands.Variable, org.jruby.RubySymbol, org.jruby.ir.operands.Operand, org.jruby.ir.operands.Operand[], org.jruby.ir.operands.Operand);
descriptor: (Lorg/jruby/ir/IRScope;Lorg/jruby/ir/operands/Variable;Lorg/jruby/RubySymbol;Lorg/jruby/ir/operands/Operand;[Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;)Lorg/jruby/ir/instructions/CallInstr;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
getstatic org.jruby.runtime.CallType.NORMAL:Lorg/jruby/runtime/CallType;
aload 1
aload 2
aload 3
aload 4
aload 5
invokestatic org.jruby.ir.instructions.CallInstr.create:(Lorg/jruby/ir/IRScope;Lorg/jruby/runtime/CallType;Lorg/jruby/ir/operands/Variable;Lorg/jruby/RubySymbol;Lorg/jruby/ir/operands/Operand;[Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;)Lorg/jruby/ir/instructions/CallInstr;
areturn
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 1 0 scope Lorg/jruby/ir/IRScope;
0 1 1 result Lorg/jruby/ir/operands/Variable;
0 1 2 name Lorg/jruby/RubySymbol;
0 1 3 receiver Lorg/jruby/ir/operands/Operand;
0 1 4 args [Lorg/jruby/ir/operands/Operand;
0 1 5 closure Lorg/jruby/ir/operands/Operand;
MethodParameters:
Name Flags
scope
result
name
receiver
args
closure
public static org.jruby.ir.instructions.CallInstr create(org.jruby.ir.IRScope, org.jruby.runtime.CallType, org.jruby.ir.operands.Variable, org.jruby.RubySymbol, org.jruby.ir.operands.Operand, org.jruby.ir.operands.Operand[], org.jruby.ir.operands.Operand);
descriptor: (Lorg/jruby/ir/IRScope;Lorg/jruby/runtime/CallType;Lorg/jruby/ir/operands/Variable;Lorg/jruby/RubySymbol;Lorg/jruby/ir/operands/Operand;[Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;)Lorg/jruby/ir/instructions/CallInstr;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=10, locals=9, 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
invokevirtual org.jruby.ir.IRScope.maybeUsingRefinements:()Z
istore 7
start local 7 1: aload 5
invokestatic org.jruby.ir.instructions.CallInstr.containsArgSplat:([Lorg/jruby/ir/operands/Operand;)Z
ifne 17
2: aload 6
ifnull 3
iconst_1
goto 4
StackMap locals: int
StackMap stack:
3: iconst_0
StackMap locals:
StackMap stack: int
4: istore 8
start local 8 5: aload 5
arraylength
ifne 7
iload 8
ifne 7
6: new org.jruby.ir.instructions.specialized.ZeroOperandArgNoBlockCallInstr
dup
aload 0
aload 1
aload 2
aload 3
aload 4
aload 5
iload 7
invokespecial org.jruby.ir.instructions.specialized.ZeroOperandArgNoBlockCallInstr.<init>:(Lorg/jruby/ir/IRScope;Lorg/jruby/runtime/CallType;Lorg/jruby/ir/operands/Variable;Lorg/jruby/RubySymbol;Lorg/jruby/ir/operands/Operand;[Lorg/jruby/ir/operands/Operand;Z)V
areturn
7: StackMap locals: int
StackMap stack:
aload 5
arraylength
iconst_1
if_icmpne 15
8: iload 8
ifeq 9
new org.jruby.ir.instructions.specialized.OneOperandArgBlockCallInstr
dup
aload 0
aload 1
aload 2
aload 3
aload 4
aload 5
aload 6
iload 7
invokespecial org.jruby.ir.instructions.specialized.OneOperandArgBlockCallInstr.<init>:(Lorg/jruby/ir/IRScope;Lorg/jruby/runtime/CallType;Lorg/jruby/ir/operands/Variable;Lorg/jruby/RubySymbol;Lorg/jruby/ir/operands/Operand;[Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;Z)V
areturn
9: StackMap locals:
StackMap stack:
iload 7
ifne 14
10: aload 5
invokestatic org.jruby.ir.instructions.CallInstr.isAllFixnums:([Lorg/jruby/ir/operands/Operand;)Z
ifeq 12
11: new org.jruby.ir.instructions.specialized.OneFixnumArgNoBlockCallInstr
dup
aload 0
aload 1
aload 2
aload 3
aload 4
aload 5
iload 7
invokespecial org.jruby.ir.instructions.specialized.OneFixnumArgNoBlockCallInstr.<init>:(Lorg/jruby/ir/IRScope;Lorg/jruby/runtime/CallType;Lorg/jruby/ir/operands/Variable;Lorg/jruby/RubySymbol;Lorg/jruby/ir/operands/Operand;[Lorg/jruby/ir/operands/Operand;Z)V
areturn
12: StackMap locals:
StackMap stack:
aload 5
invokestatic org.jruby.ir.instructions.CallInstr.isAllFloats:([Lorg/jruby/ir/operands/Operand;)Z
ifeq 14
13: new org.jruby.ir.instructions.specialized.OneFloatArgNoBlockCallInstr
dup
aload 0
aload 1
aload 2
aload 3
aload 4
aload 5
iload 7
invokespecial org.jruby.ir.instructions.specialized.OneFloatArgNoBlockCallInstr.<init>:(Lorg/jruby/ir/IRScope;Lorg/jruby/runtime/CallType;Lorg/jruby/ir/operands/Variable;Lorg/jruby/RubySymbol;Lorg/jruby/ir/operands/Operand;[Lorg/jruby/ir/operands/Operand;Z)V
areturn
14: StackMap locals:
StackMap stack:
new org.jruby.ir.instructions.specialized.OneOperandArgNoBlockCallInstr
dup
aload 0
aload 1
aload 2
aload 3
aload 4
aload 5
iload 7
invokespecial org.jruby.ir.instructions.specialized.OneOperandArgNoBlockCallInstr.<init>:(Lorg/jruby/ir/IRScope;Lorg/jruby/runtime/CallType;Lorg/jruby/ir/operands/Variable;Lorg/jruby/RubySymbol;Lorg/jruby/ir/operands/Operand;[Lorg/jruby/ir/operands/Operand;Z)V
areturn
15: StackMap locals:
StackMap stack:
aload 5
arraylength
iconst_2
if_icmpne 17
iload 8
ifne 17
16: new org.jruby.ir.instructions.specialized.TwoOperandArgNoBlockCallInstr
dup
aload 0
aload 1
aload 2
aload 3
aload 4
aload 5
iload 7
invokespecial org.jruby.ir.instructions.specialized.TwoOperandArgNoBlockCallInstr.<init>:(Lorg/jruby/ir/IRScope;Lorg/jruby/runtime/CallType;Lorg/jruby/ir/operands/Variable;Lorg/jruby/RubySymbol;Lorg/jruby/ir/operands/Operand;[Lorg/jruby/ir/operands/Operand;Z)V
areturn
end local 8 17: StackMap locals:
StackMap stack:
new org.jruby.ir.instructions.CallInstr
dup
aload 0
aload 1
aload 2
aload 3
aload 4
aload 5
aload 6
iload 7
invokespecial org.jruby.ir.instructions.CallInstr.<init>:(Lorg/jruby/ir/IRScope;Lorg/jruby/runtime/CallType;Lorg/jruby/ir/operands/Variable;Lorg/jruby/RubySymbol;Lorg/jruby/ir/operands/Operand;[Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;Z)V
areturn
end local 7 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 18 0 scope Lorg/jruby/ir/IRScope;
0 18 1 callType Lorg/jruby/runtime/CallType;
0 18 2 result Lorg/jruby/ir/operands/Variable;
0 18 3 name Lorg/jruby/RubySymbol;
0 18 4 receiver Lorg/jruby/ir/operands/Operand;
0 18 5 args [Lorg/jruby/ir/operands/Operand;
0 18 6 closure Lorg/jruby/ir/operands/Operand;
1 18 7 isPotentiallyRefined Z
5 17 8 hasClosure Z
MethodParameters:
Name Flags
scope
callType
result
name
receiver
args
closure
public void <init>(org.jruby.ir.IRScope, org.jruby.runtime.CallType, org.jruby.ir.operands.Variable, org.jruby.RubySymbol, org.jruby.ir.operands.Operand, org.jruby.ir.operands.Operand[], org.jruby.ir.operands.Operand, boolean);
descriptor: (Lorg/jruby/ir/IRScope;Lorg/jruby/runtime/CallType;Lorg/jruby/ir/operands/Variable;Lorg/jruby/RubySymbol;Lorg/jruby/ir/operands/Operand;[Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=9, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 0: aload 0
aload 1
getstatic org.jruby.ir.Operation.CALL:Lorg/jruby/ir/Operation;
aload 2
aload 3
aload 4
aload 5
aload 6
aload 7
iload 8
invokespecial org.jruby.ir.instructions.CallInstr.<init>:(Lorg/jruby/ir/IRScope;Lorg/jruby/ir/Operation;Lorg/jruby/runtime/CallType;Lorg/jruby/ir/operands/Variable;Lorg/jruby/RubySymbol;Lorg/jruby/ir/operands/Operand;[Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;Z)V
1: return
end local 8 end local 7 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 2 0 this Lorg/jruby/ir/instructions/CallInstr;
0 2 1 scope Lorg/jruby/ir/IRScope;
0 2 2 callType Lorg/jruby/runtime/CallType;
0 2 3 result Lorg/jruby/ir/operands/Variable;
0 2 4 name Lorg/jruby/RubySymbol;
0 2 5 receiver Lorg/jruby/ir/operands/Operand;
0 2 6 args [Lorg/jruby/ir/operands/Operand;
0 2 7 closure Lorg/jruby/ir/operands/Operand;
0 2 8 potentiallyRefined Z
MethodParameters:
Name Flags
scope
callType
result
name
receiver
args
closure
potentiallyRefined
protected void <init>(org.jruby.ir.IRScope, org.jruby.ir.Operation, org.jruby.runtime.CallType, org.jruby.ir.operands.Variable, org.jruby.RubySymbol, org.jruby.ir.operands.Operand, org.jruby.ir.operands.Operand[], org.jruby.ir.operands.Operand, boolean, org.jruby.runtime.CallSite, long);
descriptor: (Lorg/jruby/ir/IRScope;Lorg/jruby/ir/Operation;Lorg/jruby/runtime/CallType;Lorg/jruby/ir/operands/Variable;Lorg/jruby/RubySymbol;Lorg/jruby/ir/operands/Operand;[Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;ZLorg/jruby/runtime/CallSite;J)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=12, locals=13, args_size=12
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 start local 11 0: aload 0
aload 1
aload 2
aload 3
aload 5
aload 6
aload 7
aload 8
iload 9
aload 10
lload 11
invokespecial org.jruby.ir.instructions.CallBase.<init>:(Lorg/jruby/ir/IRScope;Lorg/jruby/ir/Operation;Lorg/jruby/runtime/CallType;Lorg/jruby/RubySymbol;Lorg/jruby/ir/operands/Operand;[Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;ZLorg/jruby/runtime/CallSite;J)V
1: getstatic org.jruby.ir.instructions.CallInstr.$assertionsDisabled:Z
ifne 2
aload 4
ifnonnull 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: org.jruby.ir.instructions.CallInstr org.jruby.ir.IRScope org.jruby.ir.Operation org.jruby.runtime.CallType org.jruby.ir.operands.Variable org.jruby.RubySymbol org.jruby.ir.operands.Operand org.jruby.ir.operands.Operand[] org.jruby.ir.operands.Operand int org.jruby.runtime.CallSite long
StackMap stack:
aload 0
aload 4
putfield org.jruby.ir.instructions.CallInstr.result:Lorg/jruby/ir/operands/Variable;
3: return
end local 11 end local 10 end local 9 end local 8 end local 7 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 4 0 this Lorg/jruby/ir/instructions/CallInstr;
0 4 1 scope Lorg/jruby/ir/IRScope;
0 4 2 op Lorg/jruby/ir/Operation;
0 4 3 callType Lorg/jruby/runtime/CallType;
0 4 4 result Lorg/jruby/ir/operands/Variable;
0 4 5 name Lorg/jruby/RubySymbol;
0 4 6 receiver Lorg/jruby/ir/operands/Operand;
0 4 7 args [Lorg/jruby/ir/operands/Operand;
0 4 8 closure Lorg/jruby/ir/operands/Operand;
0 4 9 potentiallyRefined Z
0 4 10 callSite Lorg/jruby/runtime/CallSite;
0 4 11 callSiteId J
MethodParameters:
Name Flags
scope
op
callType
result
name
receiver
args
closure
potentiallyRefined
callSite
callSiteId
protected void <init>(org.jruby.ir.IRScope, org.jruby.ir.Operation, org.jruby.runtime.CallType, org.jruby.ir.operands.Variable, org.jruby.RubySymbol, org.jruby.ir.operands.Operand, org.jruby.ir.operands.Operand[], org.jruby.ir.operands.Operand, boolean);
descriptor: (Lorg/jruby/ir/IRScope;Lorg/jruby/ir/Operation;Lorg/jruby/runtime/CallType;Lorg/jruby/ir/operands/Variable;Lorg/jruby/RubySymbol;Lorg/jruby/ir/operands/Operand;[Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=9, locals=10, args_size=10
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 0: aload 0
aload 1
aload 2
aload 3
aload 5
aload 6
aload 7
aload 8
iload 9
invokespecial org.jruby.ir.instructions.CallBase.<init>:(Lorg/jruby/ir/IRScope;Lorg/jruby/ir/Operation;Lorg/jruby/runtime/CallType;Lorg/jruby/RubySymbol;Lorg/jruby/ir/operands/Operand;[Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;Z)V
1: getstatic org.jruby.ir.instructions.CallInstr.$assertionsDisabled:Z
ifne 2
aload 4
ifnonnull 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: org.jruby.ir.instructions.CallInstr org.jruby.ir.IRScope org.jruby.ir.Operation org.jruby.runtime.CallType org.jruby.ir.operands.Variable org.jruby.RubySymbol org.jruby.ir.operands.Operand org.jruby.ir.operands.Operand[] org.jruby.ir.operands.Operand int
StackMap stack:
aload 0
aload 4
putfield org.jruby.ir.instructions.CallInstr.result:Lorg/jruby/ir/operands/Variable;
3: return
end local 9 end local 8 end local 7 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 4 0 this Lorg/jruby/ir/instructions/CallInstr;
0 4 1 scope Lorg/jruby/ir/IRScope;
0 4 2 op Lorg/jruby/ir/Operation;
0 4 3 callType Lorg/jruby/runtime/CallType;
0 4 4 result Lorg/jruby/ir/operands/Variable;
0 4 5 name Lorg/jruby/RubySymbol;
0 4 6 receiver Lorg/jruby/ir/operands/Operand;
0 4 7 args [Lorg/jruby/ir/operands/Operand;
0 4 8 closure Lorg/jruby/ir/operands/Operand;
0 4 9 potentiallyRefined Z
MethodParameters:
Name Flags
scope
op
callType
result
name
receiver
args
closure
potentiallyRefined
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.CallBase.encode:(Lorg/jruby/ir/persistence/IRWriterEncoder;)V
1: aload 1
aload 0
invokevirtual org.jruby.ir.instructions.CallInstr.getResult:()Lorg/jruby/ir/operands/Variable;
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(Lorg/jruby/ir/operands/Operand;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ir/instructions/CallInstr;
0 3 1 e Lorg/jruby/ir/persistence/IRWriterEncoder;
MethodParameters:
Name Flags
e
public static org.jruby.ir.instructions.CallInstr decode(org.jruby.ir.persistence.IRReaderDecoder);
descriptor: (Lorg/jruby/ir/persistence/IRReaderDecoder;)Lorg/jruby/ir/instructions/CallInstr;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=11, args_size=1
start local 0 0: getstatic org.jruby.RubyInstanceConfig.IR_READING_DEBUG:Z
ifeq 1
getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "decodeCall"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeInt:()I
istore 1
start local 1 2: iload 1
invokestatic org.jruby.runtime.CallType.fromOrdinal:(I)Lorg/jruby/runtime/CallType;
astore 2
start local 2 3: getstatic org.jruby.RubyInstanceConfig.IR_READING_DEBUG:Z
ifeq 4
getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "decodeCall - calltype: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
4: StackMap locals: int org.jruby.runtime.CallType
StackMap stack:
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeSymbol:()Lorg/jruby/RubySymbol;
astore 3
start local 3 5: getstatic org.jruby.RubyInstanceConfig.IR_READING_DEBUG:Z
ifeq 6
getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "decodeCall - methaddr: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
6: StackMap locals: org.jruby.RubySymbol
StackMap stack:
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeOperand:()Lorg/jruby/ir/operands/Operand;
astore 4
start local 4 7: getstatic org.jruby.RubyInstanceConfig.IR_READING_DEBUG:Z
ifeq 8
getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "decodeCall - receiver: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
8: StackMap locals: org.jruby.ir.operands.Operand
StackMap stack:
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeInt:()I
istore 5
start local 5 9: getstatic org.jruby.RubyInstanceConfig.IR_READING_DEBUG:Z
ifeq 10
getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "decodeCall - # of args: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 5
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
10: StackMap locals: int
StackMap stack:
iload 5
ifge 11
iconst_1
goto 12
StackMap locals:
StackMap stack:
11: iconst_0
StackMap locals:
StackMap stack: int
12: istore 6
start local 6 13: iload 6
ifeq 14
iconst_m1
iload 5
iconst_1
iadd
imul
goto 15
StackMap locals: int
StackMap stack:
14: iload 5
StackMap locals:
StackMap stack: int
15: istore 7
start local 7 16: getstatic org.jruby.RubyInstanceConfig.IR_READING_DEBUG:Z
ifeq 17
getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "decodeCall - # of args(2): "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 7
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
17: StackMap locals: int
StackMap stack:
getstatic org.jruby.RubyInstanceConfig.IR_READING_DEBUG:Z
ifeq 18
getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "decodeCall - hasClosure: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 6
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
18: StackMap locals:
StackMap stack:
iload 7
anewarray org.jruby.ir.operands.Operand
astore 8
start local 8 19: iconst_0
istore 9
start local 9 20: goto 23
21: StackMap locals: org.jruby.ir.operands.Operand[] int
StackMap stack:
aload 8
iload 9
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeOperand:()Lorg/jruby/ir/operands/Operand;
aastore
22: iinc 9 1
StackMap locals:
StackMap stack:
23: iload 9
iload 7
if_icmplt 21
end local 9 24: iload 6
ifeq 25
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeOperand:()Lorg/jruby/ir/operands/Operand;
goto 26
StackMap locals:
StackMap stack:
25: aconst_null
StackMap locals:
StackMap stack: org.jruby.ir.operands.Operand
26: astore 9
start local 9 27: getstatic org.jruby.RubyInstanceConfig.IR_READING_DEBUG:Z
ifeq 28
getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "before result"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
28: StackMap locals: org.jruby.ir.operands.Operand
StackMap stack:
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeVariable:()Lorg/jruby/ir/operands/Variable;
astore 10
start local 10 29: getstatic org.jruby.RubyInstanceConfig.IR_READING_DEBUG:Z
ifeq 30
getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "decoding call, result: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 10
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
30: StackMap locals: org.jruby.ir.operands.Variable
StackMap stack:
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.getCurrentScope:()Lorg/jruby/ir/IRScope;
aload 2
aload 10
aload 3
aload 4
aload 8
aload 9
invokestatic org.jruby.ir.instructions.CallInstr.create:(Lorg/jruby/ir/IRScope;Lorg/jruby/runtime/CallType;Lorg/jruby/ir/operands/Variable;Lorg/jruby/RubySymbol;Lorg/jruby/ir/operands/Operand;[Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;)Lorg/jruby/ir/instructions/CallInstr;
areturn
end local 10 end local 9 end local 8 end local 7 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 31 0 d Lorg/jruby/ir/persistence/IRReaderDecoder;
2 31 1 callTypeOrdinal I
3 31 2 callType Lorg/jruby/runtime/CallType;
5 31 3 name Lorg/jruby/RubySymbol;
7 31 4 receiver Lorg/jruby/ir/operands/Operand;
9 31 5 argsCount I
13 31 6 hasClosureArg Z
16 31 7 argsLength I
19 31 8 args [Lorg/jruby/ir/operands/Operand;
20 24 9 i I
27 31 9 closure Lorg/jruby/ir/operands/Operand;
29 31 10 result Lorg/jruby/ir/operands/Variable;
MethodParameters:
Name Flags
d
public org.jruby.ir.operands.Variable getResult();
descriptor: ()Lorg/jruby/ir/operands/Variable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ir.instructions.CallInstr.result:Lorg/jruby/ir/operands/Variable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/instructions/CallInstr;
public void updateResult(org.jruby.ir.operands.Variable);
descriptor: (Lorg/jruby/ir/operands/Variable;)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.CallInstr.result:Lorg/jruby/ir/operands/Variable;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/instructions/CallInstr;
0 2 1 v Lorg/jruby/ir/operands/Variable;
MethodParameters:
Name Flags
v
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=14, locals=2, args_size=2
start local 0 start local 1 0: new org.jruby.ir.instructions.CallInstr
dup
aload 1
invokevirtual org.jruby.ir.transformations.inlining.CloneInfo.getScope:()Lorg/jruby/ir/IRScope;
aload 0
invokevirtual org.jruby.ir.instructions.CallInstr.getOperation:()Lorg/jruby/ir/Operation;
aload 0
invokevirtual org.jruby.ir.instructions.CallInstr.getCallType:()Lorg/jruby/runtime/CallType;
aload 1
aload 0
getfield org.jruby.ir.instructions.CallInstr.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
invokevirtual org.jruby.ir.instructions.CallInstr.getName:()Lorg/jruby/RubySymbol;
1: aload 0
invokevirtual org.jruby.ir.instructions.CallInstr.getReceiver:()Lorg/jruby/ir/operands/Operand;
aload 1
invokevirtual org.jruby.ir.operands.Operand.cloneForInlining:(Lorg/jruby/ir/transformations/inlining/CloneInfo;)Lorg/jruby/ir/operands/Operand;
aload 0
aload 1
invokevirtual org.jruby.ir.instructions.CallInstr.cloneCallArgs:(Lorg/jruby/ir/transformations/inlining/CloneInfo;)[Lorg/jruby/ir/operands/Operand;
2: aload 0
invokevirtual org.jruby.ir.instructions.CallInstr.getClosureArg:()Lorg/jruby/ir/operands/Operand;
ifnonnull 3
aconst_null
goto 4
StackMap locals: org.jruby.ir.instructions.CallInstr org.jruby.ir.transformations.inlining.CloneInfo
StackMap stack: new 0 new 0 org.jruby.ir.IRScope org.jruby.ir.Operation org.jruby.runtime.CallType org.jruby.ir.operands.Variable org.jruby.RubySymbol org.jruby.ir.operands.Operand org.jruby.ir.operands.Operand[]
3: aload 0
invokevirtual org.jruby.ir.instructions.CallInstr.getClosureArg:()Lorg/jruby/ir/operands/Operand;
aload 1
invokevirtual org.jruby.ir.operands.Operand.cloneForInlining:(Lorg/jruby/ir/transformations/inlining/CloneInfo;)Lorg/jruby/ir/operands/Operand;
StackMap locals: org.jruby.ir.instructions.CallInstr org.jruby.ir.transformations.inlining.CloneInfo
StackMap stack: new 0 new 0 org.jruby.ir.IRScope org.jruby.ir.Operation org.jruby.runtime.CallType org.jruby.ir.operands.Variable org.jruby.RubySymbol org.jruby.ir.operands.Operand org.jruby.ir.operands.Operand[] org.jruby.ir.operands.Operand
4: aload 0
invokevirtual org.jruby.ir.instructions.CallInstr.isPotentiallyRefined:()Z
5: aload 0
invokevirtual org.jruby.ir.instructions.CallInstr.getCallSite:()Lorg/jruby/runtime/CallSite;
aload 0
invokevirtual org.jruby.ir.instructions.CallInstr.getCallSiteId:()J
6: invokespecial org.jruby.ir.instructions.CallInstr.<init>:(Lorg/jruby/ir/IRScope;Lorg/jruby/ir/Operation;Lorg/jruby/runtime/CallType;Lorg/jruby/ir/operands/Variable;Lorg/jruby/RubySymbol;Lorg/jruby/ir/operands/Operand;[Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;ZLorg/jruby/runtime/CallSite;J)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/ir/instructions/CallInstr;
0 7 1 ii Lorg/jruby/ir/transformations/inlining/CloneInfo;
MethodParameters:
Name Flags
ii
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.CallInstr:(Lorg/jruby/ir/instructions/CallInstr;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/instructions/CallInstr;
0 2 1 visitor Lorg/jruby/ir/IRVisitor;
MethodParameters:
Name Flags
visitor
}
SourceFile: "CallInstr.java"