public class com.oracle.truffle.js.nodes.function.CallApplyArgumentsNode extends com.oracle.truffle.js.nodes.JavaScriptNode
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.truffle.js.nodes.function.CallApplyArgumentsNode
super_class: com.oracle.truffle.js.nodes.JavaScriptNode
{
private final com.oracle.truffle.js.runtime.JSContext context;
descriptor: Lcom/oracle/truffle/js/runtime/JSContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private com.oracle.truffle.js.nodes.function.JSFunctionCallNode$InvokeNode callNode;
descriptor: Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode$InvokeNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
protected void <init>(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.js.nodes.function.JSFunctionCallNode);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial com.oracle.truffle.js.nodes.JavaScriptNode.<init>:()V
1: aload 0
aload 1
putfield com.oracle.truffle.js.nodes.function.CallApplyArgumentsNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
2: aload 0
aload 2
checkcast com.oracle.truffle.js.nodes.function.JSFunctionCallNode$InvokeNode
putfield com.oracle.truffle.js.nodes.function.CallApplyArgumentsNode.callNode:Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode$InvokeNode;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/nodes/function/CallApplyArgumentsNode;
0 4 1 context Lcom/oracle/truffle/js/runtime/JSContext;
0 4 2 callNode Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;
MethodParameters:
Name Flags
context
callNode
public final java.lang.Object execute(com.oracle.truffle.api.frame.VirtualFrame);
descriptor: (Lcom/oracle/truffle/api/frame/VirtualFrame;)Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.nodes.function.CallApplyArgumentsNode.callNode:Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode$InvokeNode;
aload 1
invokevirtual com.oracle.truffle.js.nodes.function.JSFunctionCallNode$InvokeNode.executeTarget:(Lcom/oracle/truffle/api/frame/VirtualFrame;)Ljava/lang/Object;
astore 2
start local 2 1: aload 0
getfield com.oracle.truffle.js.nodes.function.CallApplyArgumentsNode.callNode:Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode$InvokeNode;
aload 1
aload 2
invokevirtual com.oracle.truffle.js.nodes.function.JSFunctionCallNode$InvokeNode.executeFunctionWithTarget:(Lcom/oracle/truffle/api/frame/VirtualFrame;Ljava/lang/Object;)Ljava/lang/Object;
astore 3
start local 3 2: aload 3
aload 0
getfield com.oracle.truffle.js.nodes.function.CallApplyArgumentsNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
invokevirtual com.oracle.truffle.js.runtime.JSContext.getRealm:()Lcom/oracle/truffle/js/runtime/JSRealm;
invokevirtual com.oracle.truffle.js.runtime.JSRealm.getApplyFunctionObject:()Ljava/lang/Object;
if_acmpeq 5
3: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
4: aload 0
invokevirtual com.oracle.truffle.js.nodes.function.CallApplyArgumentsNode.replaceWithOrdinaryCall:()V
5: StackMap locals: java.lang.Object java.lang.Object
StackMap stack:
aload 0
getfield com.oracle.truffle.js.nodes.function.CallApplyArgumentsNode.callNode:Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode$InvokeNode;
aload 0
getfield com.oracle.truffle.js.nodes.function.CallApplyArgumentsNode.callNode:Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode$InvokeNode;
aload 1
aload 2
aload 3
invokevirtual com.oracle.truffle.js.nodes.function.JSFunctionCallNode$InvokeNode.createArguments:(Lcom/oracle/truffle/api/frame/VirtualFrame;Ljava/lang/Object;Ljava/lang/Object;)[Ljava/lang/Object;
invokevirtual com.oracle.truffle.js.nodes.function.JSFunctionCallNode$InvokeNode.executeCall:([Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/truffle/js/nodes/function/CallApplyArgumentsNode;
0 6 1 frame Lcom/oracle/truffle/api/frame/VirtualFrame;
1 6 2 target Ljava/lang/Object;
2 6 3 function Ljava/lang/Object;
MethodParameters:
Name Flags
frame
public com.oracle.truffle.api.instrumentation.InstrumentableNode materializeInstrumentableNodes(java.util.Set<java.lang.Class<? extends com.oracle.truffle.api.instrumentation.Tag>>);
descriptor: (Ljava/util/Set;)Lcom/oracle/truffle/api/instrumentation/InstrumentableNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc Lcom/oracle/truffle/api/instrumentation/StandardTags$ExpressionTag;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 1
aload 1
ldc Lcom/oracle/truffle/js/nodes/instrumentation/JSTags$FunctionCallTag;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 2
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.oracle.truffle.js.nodes.function.CallApplyArgumentsNode.replaceWithOrdinaryCall:()V
2: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/nodes/function/CallApplyArgumentsNode;
0 3 1 materializedTags Ljava/util/Set<Ljava/lang/Class<+Lcom/oracle/truffle/api/instrumentation/Tag;>;>;
Signature: (Ljava/util/Set<Ljava/lang/Class<+Lcom/oracle/truffle/api/instrumentation/Tag;>;>;)Lcom/oracle/truffle/api/instrumentation/InstrumentableNode;
MethodParameters:
Name Flags
materializedTags
private void replaceWithOrdinaryCall();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokedynamic run(Lcom/oracle/truffle/js/nodes/function/CallApplyArgumentsNode;)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
com/oracle/truffle/js/nodes/function/CallApplyArgumentsNode.lambda$0()V (7)
()V
invokevirtual com.oracle.truffle.js.nodes.function.CallApplyArgumentsNode.atomic:(Ljava/lang/Runnable;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/nodes/function/CallApplyArgumentsNode;
public static com.oracle.truffle.js.nodes.JavaScriptNode create(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.js.nodes.function.JSFunctionCallNode);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;)Lcom/oracle/truffle/js/nodes/JavaScriptNode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new com.oracle.truffle.js.nodes.function.CallApplyArgumentsNode
dup
aload 0
aload 1
invokespecial com.oracle.truffle.js.nodes.function.CallApplyArgumentsNode.<init>:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lcom/oracle/truffle/js/runtime/JSContext;
0 1 1 callNode Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;
MethodParameters:
Name Flags
context
callNode
protected com.oracle.truffle.js.nodes.JavaScriptNode copyUninitialized(java.util.Set<java.lang.Class<? extends com.oracle.truffle.api.instrumentation.Tag>>);
descriptor: (Ljava/util/Set;)Lcom/oracle/truffle/js/nodes/JavaScriptNode;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.nodes.function.CallApplyArgumentsNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
aload 0
getfield com.oracle.truffle.js.nodes.function.CallApplyArgumentsNode.callNode:Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode$InvokeNode;
aload 1
invokestatic com.oracle.truffle.js.nodes.function.CallApplyArgumentsNode.cloneUninitialized:(Lcom/oracle/truffle/js/nodes/JavaScriptNode;Ljava/util/Set;)Lcom/oracle/truffle/js/nodes/JavaScriptNode;
checkcast com.oracle.truffle.js.nodes.function.JSFunctionCallNode
invokestatic com.oracle.truffle.js.nodes.function.CallApplyArgumentsNode.create:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;)Lcom/oracle/truffle/js/nodes/JavaScriptNode;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/function/CallApplyArgumentsNode;
0 1 1 materializedTags Ljava/util/Set<Ljava/lang/Class<+Lcom/oracle/truffle/api/instrumentation/Tag;>;>;
Signature: (Ljava/util/Set<Ljava/lang/Class<+Lcom/oracle/truffle/api/instrumentation/Tag;>;>;)Lcom/oracle/truffle/js/nodes/JavaScriptNode;
MethodParameters:
Name Flags
materializedTags
private void lambda$0();
descriptor: ()V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=6, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.nodes.function.CallApplyArgumentsNode.callNode:Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode$InvokeNode;
invokevirtual com.oracle.truffle.js.nodes.function.JSFunctionCallNode$InvokeNode.getArgumentNodes:()[Lcom/oracle/truffle/js/nodes/JavaScriptNode;
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 6
StackMap locals: com.oracle.truffle.js.nodes.function.CallApplyArgumentsNode top int int com.oracle.truffle.js.nodes.JavaScriptNode[]
StackMap stack:
1: aload 4
iload 2
aaload
astore 1
start local 1 2: aload 1
invokestatic com.oracle.truffle.js.nodes.JSNodeUtil.getWrappedNode:(Lcom/oracle/truffle/js/nodes/JavaScriptNode;)Lcom/oracle/truffle/js/nodes/JavaScriptNode;
astore 5
start local 5 3: aload 5
instanceof com.oracle.truffle.js.nodes.arguments.AccessArgumentsArrayDirectlyNode
ifeq 5
4: aload 5
checkcast com.oracle.truffle.js.nodes.arguments.AccessArgumentsArrayDirectlyNode
invokevirtual com.oracle.truffle.js.nodes.arguments.AccessArgumentsArrayDirectlyNode.replaceWithDefaultArguments:()V
end local 5 end local 1 5: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
iload 3
if_icmplt 1
7: aload 0
aload 0
getfield com.oracle.truffle.js.nodes.function.CallApplyArgumentsNode.callNode:Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode$InvokeNode;
ldc "not the built-in apply function"
invokevirtual com.oracle.truffle.js.nodes.function.CallApplyArgumentsNode.replace:(Lcom/oracle/truffle/api/nodes/Node;Ljava/lang/CharSequence;)Lcom/oracle/truffle/api/nodes/Node;
pop
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/oracle/truffle/js/nodes/function/CallApplyArgumentsNode;
2 5 1 n Lcom/oracle/truffle/js/nodes/JavaScriptNode;
3 5 5 node Lcom/oracle/truffle/js/nodes/JavaScriptNode;
}
SourceFile: "CallApplyArgumentsNode.java"
InnerClasses:
public final ExpressionTag = com.oracle.truffle.api.instrumentation.StandardTags$ExpressionTag of com.oracle.truffle.api.instrumentation.StandardTags
public abstract Child = com.oracle.truffle.api.nodes.Node$Child of com.oracle.truffle.api.nodes.Node
public abstract InvokeNode = com.oracle.truffle.js.nodes.function.JSFunctionCallNode$InvokeNode of com.oracle.truffle.js.nodes.function.JSFunctionCallNode
public final FunctionCallTag = com.oracle.truffle.js.nodes.instrumentation.JSTags$FunctionCallTag of com.oracle.truffle.js.nodes.instrumentation.JSTags
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles