final class com.oracle.truffle.js.nodes.function.JSFunctionCallNode$BoundFunctionInstanceCallNode extends com.oracle.truffle.js.nodes.function.JSFunctionCallNode$JSFunctionCacheNode
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.js.nodes.function.JSFunctionCallNode$BoundFunctionInstanceCallNode
super_class: com.oracle.truffle.js.nodes.function.JSFunctionCallNode$JSFunctionCacheNode
{
private com.oracle.truffle.js.nodes.function.JSFunctionCallNode$AbstractCacheNode boundNode;
descriptor: Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode$AbstractCacheNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private final com.oracle.truffle.api.object.DynamicObject boundFunctionObj;
descriptor: Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Object boundThis;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.oracle.truffle.api.object.DynamicObject targetFunctionObj;
descriptor: Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Object[] addArguments;
descriptor: [Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean useDynamicThis;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean isNewTarget;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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 Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;
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 com.oracle.truffle.js.nodes.function.JSFunctionCallNode$BoundFunctionInstanceCallNode.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(com.oracle.truffle.api.object.DynamicObject, boolean, boolean);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;ZZ)V
flags: (0x0000)
Code:
stack=6, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial com.oracle.truffle.js.nodes.function.JSFunctionCallNode$JSFunctionCacheNode.<init>:()V
1: getstatic com.oracle.truffle.js.nodes.function.JSFunctionCallNode$BoundFunctionInstanceCallNode.$assertionsDisabled:Z
ifne 2
aload 1
invokestatic com.oracle.truffle.js.runtime.builtins.JSFunction.isBoundFunction:(Lcom/oracle/truffle/api/object/DynamicObject;)Z
ifne 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: com.oracle.truffle.js.nodes.function.JSFunctionCallNode$BoundFunctionInstanceCallNode com.oracle.truffle.api.object.DynamicObject int int
StackMap stack:
aload 0
aload 1
putfield com.oracle.truffle.js.nodes.function.JSFunctionCallNode$BoundFunctionInstanceCallNode.boundFunctionObj:Lcom/oracle/truffle/api/object/DynamicObject;
3: aload 1
astore 5
start local 5 4: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 6
start local 6 5: StackMap locals: com.oracle.truffle.js.nodes.function.JSFunctionCallNode$BoundFunctionInstanceCallNode com.oracle.truffle.api.object.DynamicObject int int top com.oracle.truffle.api.object.DynamicObject java.util.List
StackMap stack:
aload 5
invokestatic com.oracle.truffle.js.runtime.builtins.JSFunction.getBoundArguments:(Lcom/oracle/truffle/api/object/DynamicObject;)[Ljava/lang/Object;
astore 7
start local 7 6: aload 6
iconst_0
aload 7
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.List.addAll:(ILjava/util/Collection;)Z
pop
7: aload 5
invokestatic com.oracle.truffle.js.runtime.builtins.JSFunction.getBoundThis:(Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/lang/Object;
astore 4
start local 4 8: aload 5
invokestatic com.oracle.truffle.js.runtime.builtins.JSFunction.getBoundTargetFunction:(Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/DynamicObject;
astore 5
end local 7 9: aload 5
invokestatic com.oracle.truffle.js.runtime.builtins.JSFunction.isBoundFunction:(Lcom/oracle/truffle/api/object/DynamicObject;)Z
ifeq 10
iload 3
ifeq 5
10: StackMap locals: com.oracle.truffle.js.nodes.function.JSFunctionCallNode$BoundFunctionInstanceCallNode com.oracle.truffle.api.object.DynamicObject int int java.lang.Object com.oracle.truffle.api.object.DynamicObject java.util.List
StackMap stack:
aload 0
aload 6
getstatic com.oracle.truffle.js.runtime.JSArguments.EMPTY_ARGUMENTS_ARRAY:[Ljava/lang/Object;
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
putfield com.oracle.truffle.js.nodes.function.JSFunctionCallNode$BoundFunctionInstanceCallNode.addArguments:[Ljava/lang/Object;
11: aload 0
aload 5
putfield com.oracle.truffle.js.nodes.function.JSFunctionCallNode$BoundFunctionInstanceCallNode.targetFunctionObj:Lcom/oracle/truffle/api/object/DynamicObject;
12: iload 2
ifne 13
iload 3
ifeq 16
13: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield com.oracle.truffle.js.nodes.function.JSFunctionCallNode$BoundFunctionInstanceCallNode.useDynamicThis:Z
14: aload 0
aconst_null
putfield com.oracle.truffle.js.nodes.function.JSFunctionCallNode$BoundFunctionInstanceCallNode.boundThis:Ljava/lang/Object;
15: goto 18
16: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield com.oracle.truffle.js.nodes.function.JSFunctionCallNode$BoundFunctionInstanceCallNode.useDynamicThis:Z
17: aload 0
aload 4
putfield com.oracle.truffle.js.nodes.function.JSFunctionCallNode$BoundFunctionInstanceCallNode.boundThis:Ljava/lang/Object;
18: StackMap locals:
StackMap stack:
aload 0
iload 3
putfield com.oracle.truffle.js.nodes.function.JSFunctionCallNode$BoundFunctionInstanceCallNode.isNewTarget:Z
19: aload 0
aload 5
aload 5
invokestatic com.oracle.truffle.js.runtime.builtins.JSFunction.getFunctionData:(Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/js/runtime/builtins/JSFunctionData;
iload 2
iload 3
iconst_1
invokestatic com.oracle.truffle.js.nodes.function.JSFunctionCallNode.createCallableNode:(Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/js/runtime/builtins/JSFunctionData;ZZZ)Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode$JSFunctionCacheNode;
putfield com.oracle.truffle.js.nodes.function.JSFunctionCallNode$BoundFunctionInstanceCallNode.boundNode:Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode$AbstractCacheNode;
20: 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 21 0 this Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode$BoundFunctionInstanceCallNode;
0 21 1 function Lcom/oracle/truffle/api/object/DynamicObject;
0 21 2 isNew Z
0 21 3 isNewTarget Z
8 21 4 lastReceiver Ljava/lang/Object;
4 21 5 lastFunction Lcom/oracle/truffle/api/object/DynamicObject;
5 21 6 prefixArguments Ljava/util/List<Ljava/lang/Object;>;
6 9 7 extraArguments [Ljava/lang/Object;
MethodParameters:
Name Flags
function
isNew
isNewTarget
public java.lang.Object executeCall(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.oracle.truffle.js.nodes.function.JSFunctionCallNode$BoundFunctionInstanceCallNode.$assertionsDisabled:Z
ifne 1
aload 0
aload 1
invokevirtual com.oracle.truffle.js.nodes.function.JSFunctionCallNode$BoundFunctionInstanceCallNode.checkTargetFunction:([Ljava/lang/Object;)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.nodes.function.JSFunctionCallNode$BoundFunctionInstanceCallNode.boundNode:Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode$AbstractCacheNode;
aload 0
aload 1
invokevirtual com.oracle.truffle.js.nodes.function.JSFunctionCallNode$BoundFunctionInstanceCallNode.bindExtraArguments:([Ljava/lang/Object;)[Ljava/lang/Object;
invokevirtual com.oracle.truffle.js.nodes.function.JSFunctionCallNode$AbstractCacheNode.executeCall:([Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode$BoundFunctionInstanceCallNode;
0 2 1 arguments [Ljava/lang/Object;
MethodParameters:
Name Flags
arguments
private java.lang.Object[] (java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)[Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.nodes.function.JSFunctionCallNode$BoundFunctionInstanceCallNode.useDynamicThis:Z
ifeq 1
aload 1
invokestatic com.oracle.truffle.js.runtime.JSArguments.getThisObject:([Ljava/lang/Object;)Ljava/lang/Object;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield com.oracle.truffle.js.nodes.function.JSFunctionCallNode$BoundFunctionInstanceCallNode.boundThis:Ljava/lang/Object;
StackMap locals:
StackMap stack: java.lang.Object
2: astore 2
start local 2 3: aload 0
getfield com.oracle.truffle.js.nodes.function.JSFunctionCallNode$BoundFunctionInstanceCallNode.isNewTarget:Z
ifeq 4
iconst_1
goto 5
StackMap locals: java.lang.Object
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 3
start local 3 6: aload 1
iload 3
invokestatic com.oracle.truffle.js.runtime.JSArguments.extractUserArguments:([Ljava/lang/Object;I)[Ljava/lang/Object;
astore 4
start local 4 7: aload 0
getfield com.oracle.truffle.js.nodes.function.JSFunctionCallNode$BoundFunctionInstanceCallNode.addArguments:[Ljava/lang/Object;
arraylength
aload 4
arraylength
iadd
istore 5
start local 5 8: aload 2
aload 0
getfield com.oracle.truffle.js.nodes.function.JSFunctionCallNode$BoundFunctionInstanceCallNode.targetFunctionObj:Lcom/oracle/truffle/api/object/DynamicObject;
iload 3
iload 5
iadd
invokestatic com.oracle.truffle.js.runtime.JSArguments.createInitial:(Ljava/lang/Object;Ljava/lang/Object;I)[Ljava/lang/Object;
astore 6
start local 6 9: aload 6
iload 3
aload 0
getfield com.oracle.truffle.js.nodes.function.JSFunctionCallNode$BoundFunctionInstanceCallNode.addArguments:[Ljava/lang/Object;
invokestatic com.oracle.truffle.js.runtime.JSArguments.setUserArguments:([Ljava/lang/Object;I[Ljava/lang/Object;)V
10: aload 6
iload 3
aload 0
getfield com.oracle.truffle.js.nodes.function.JSFunctionCallNode$BoundFunctionInstanceCallNode.addArguments:[Ljava/lang/Object;
arraylength
iadd
aload 4
invokestatic com.oracle.truffle.js.runtime.JSArguments.setUserArguments:([Ljava/lang/Object;I[Ljava/lang/Object;)V
11: aload 0
getfield com.oracle.truffle.js.nodes.function.JSFunctionCallNode$BoundFunctionInstanceCallNode.isNewTarget:Z
ifeq 16
12: aload 1
invokestatic com.oracle.truffle.js.runtime.JSArguments.getNewTarget:([Ljava/lang/Object;)Ljava/lang/Object;
astore 7
start local 7 13: aload 7
aload 1
invokestatic com.oracle.truffle.js.runtime.JSArguments.getFunctionObject:([Ljava/lang/Object;)Ljava/lang/Object;
if_acmpne 15
14: aload 0
getfield com.oracle.truffle.js.nodes.function.JSFunctionCallNode$BoundFunctionInstanceCallNode.targetFunctionObj:Lcom/oracle/truffle/api/object/DynamicObject;
astore 7
15: StackMap locals: com.oracle.truffle.js.nodes.function.JSFunctionCallNode$BoundFunctionInstanceCallNode java.lang.Object[] java.lang.Object int java.lang.Object[] int java.lang.Object[] java.lang.Object
StackMap stack:
aload 6
iconst_2
aload 7
aastore
end local 7 16: StackMap locals:
StackMap stack:
aload 6
areturn
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 17 0 this Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode$BoundFunctionInstanceCallNode;
0 17 1 origArgs [Ljava/lang/Object;
3 17 2 target Ljava/lang/Object;
6 17 3 skip I
7 17 4 origUserArgs [Ljava/lang/Object;
8 17 5 newUserArgCount I
9 17 6 arguments [Ljava/lang/Object;
13 16 7 newTarget Ljava/lang/Object;
MethodParameters:
Name Flags
origArgs
private boolean checkTargetFunction(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.oracle.truffle.js.runtime.JSArguments.getFunctionObject:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.oracle.truffle.api.object.DynamicObject
astore 2
start local 2 1: goto 6
2: StackMap locals: com.oracle.truffle.api.object.DynamicObject
StackMap stack:
aload 2
invokestatic com.oracle.truffle.js.runtime.builtins.JSFunction.getBoundTargetFunction:(Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/DynamicObject;
astore 2
3: aload 0
getfield com.oracle.truffle.js.nodes.function.JSFunctionCallNode$BoundFunctionInstanceCallNode.isNewTarget:Z
ifeq 6
4: aload 0
getfield com.oracle.truffle.js.nodes.function.JSFunctionCallNode$BoundFunctionInstanceCallNode.targetFunctionObj:Lcom/oracle/truffle/api/object/DynamicObject;
aload 2
if_acmpne 5
iconst_1
ireturn
StackMap locals:
StackMap stack:
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 2
invokestatic com.oracle.truffle.js.runtime.builtins.JSFunction.isBoundFunction:(Lcom/oracle/truffle/api/object/DynamicObject;)Z
ifne 2
7: aload 0
getfield com.oracle.truffle.js.nodes.function.JSFunctionCallNode$BoundFunctionInstanceCallNode.targetFunctionObj:Lcom/oracle/truffle/api/object/DynamicObject;
aload 2
if_acmpne 8
iconst_1
ireturn
StackMap locals:
StackMap stack:
8: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode$BoundFunctionInstanceCallNode;
0 9 1 arguments [Ljava/lang/Object;
1 9 2 targetFunction Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
arguments
protected boolean accept(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield com.oracle.truffle.js.nodes.function.JSFunctionCallNode$BoundFunctionInstanceCallNode.boundFunctionObj:Lcom/oracle/truffle/api/object/DynamicObject;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode$BoundFunctionInstanceCallNode;
0 2 1 function Ljava/lang/Object;
MethodParameters:
Name Flags
function
protected com.oracle.truffle.js.runtime.builtins.JSFunctionData getFunctionData();
descriptor: ()Lcom/oracle/truffle/js/runtime/builtins/JSFunctionData;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.nodes.function.JSFunctionCallNode$BoundFunctionInstanceCallNode.boundFunctionObj:Lcom/oracle/truffle/api/object/DynamicObject;
invokestatic com.oracle.truffle.js.runtime.builtins.JSFunction.getFunctionData:(Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/js/runtime/builtins/JSFunctionData;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode$BoundFunctionInstanceCallNode;
protected boolean isInstanceCache();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode$BoundFunctionInstanceCallNode;
}
SourceFile: "JSFunctionCallNode.java"
NestHost: com.oracle.truffle.js.nodes.function.JSFunctionCallNode
InnerClasses:
public abstract Child = com.oracle.truffle.api.nodes.Node$Child of com.oracle.truffle.api.nodes.Node
private abstract AbstractCacheNode = com.oracle.truffle.js.nodes.function.JSFunctionCallNode$AbstractCacheNode of com.oracle.truffle.js.nodes.function.JSFunctionCallNode
private final BoundFunctionInstanceCallNode = com.oracle.truffle.js.nodes.function.JSFunctionCallNode$BoundFunctionInstanceCallNode of com.oracle.truffle.js.nodes.function.JSFunctionCallNode
private abstract JSFunctionCacheNode = com.oracle.truffle.js.nodes.function.JSFunctionCallNode$JSFunctionCacheNode of com.oracle.truffle.js.nodes.function.JSFunctionCallNode