public final class com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode extends com.oracle.truffle.js.nodes.JavaScriptNode
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode
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.JavaScriptNode functionBody;
descriptor: Lcom/oracle/truffle/js/nodes/JavaScriptNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private com.oracle.truffle.js.nodes.access.JSReadFrameSlotNode readAsyncContext;
descriptor: Lcom/oracle/truffle/js/nodes/access/JSReadFrameSlotNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private com.oracle.truffle.js.nodes.access.JSWriteFrameSlotNode writeAsyncContext;
descriptor: Lcom/oracle/truffle/js/nodes/access/JSWriteFrameSlotNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private com.oracle.truffle.js.nodes.access.JSWriteFrameSlotNode writeAsyncResult;
descriptor: Lcom/oracle/truffle/js/nodes/access/JSWriteFrameSlotNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private com.oracle.truffle.js.nodes.promise.NewPromiseCapabilityNode newPromiseCapability;
descriptor: Lcom/oracle/truffle/js/nodes/promise/NewPromiseCapabilityNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private volatile com.oracle.truffle.api.CallTarget resumptionTarget;
descriptor: Lcom/oracle/truffle/api/CallTarget;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$CompilationFinal()
private volatile com.oracle.truffle.api.nodes.DirectCallNode asyncCallNode;
descriptor: Lcom/oracle/truffle/api/nodes/DirectCallNode;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
public void <init>(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.js.nodes.JavaScriptNode, com.oracle.truffle.js.nodes.access.JSWriteFrameSlotNode, com.oracle.truffle.js.nodes.access.JSReadFrameSlotNode, com.oracle.truffle.js.nodes.access.JSWriteFrameSlotNode);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/JavaScriptNode;Lcom/oracle/truffle/js/nodes/access/JSWriteFrameSlotNode;Lcom/oracle/truffle/js/nodes/access/JSReadFrameSlotNode;Lcom/oracle/truffle/js/nodes/access/JSWriteFrameSlotNode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, 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
invokespecial com.oracle.truffle.js.nodes.JavaScriptNode.<init>:()V
1: aload 0
aload 1
putfield com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
2: aload 0
aload 2
putfield com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.functionBody:Lcom/oracle/truffle/js/nodes/JavaScriptNode;
3: aload 0
aload 4
putfield com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.readAsyncContext:Lcom/oracle/truffle/js/nodes/access/JSReadFrameSlotNode;
4: aload 0
aload 3
putfield com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.writeAsyncContext:Lcom/oracle/truffle/js/nodes/access/JSWriteFrameSlotNode;
5: aload 0
aload 5
putfield com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.writeAsyncResult:Lcom/oracle/truffle/js/nodes/access/JSWriteFrameSlotNode;
6: aload 0
aload 1
invokestatic com.oracle.truffle.js.nodes.promise.NewPromiseCapabilityNode.create:(Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/promise/NewPromiseCapabilityNode;
putfield com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.newPromiseCapability:Lcom/oracle/truffle/js/nodes/promise/NewPromiseCapabilityNode;
7: aload 2
aload 0
invokestatic com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.transferSourceSection:(Lcom/oracle/truffle/js/nodes/JavaScriptNode;Lcom/oracle/truffle/js/nodes/JavaScriptNode;)V
8: return
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 9 0 this Lcom/oracle/truffle/js/nodes/control/AsyncFunctionBodyNode;
0 9 1 context Lcom/oracle/truffle/js/runtime/JSContext;
0 9 2 body Lcom/oracle/truffle/js/nodes/JavaScriptNode;
0 9 3 writeAsyncContext Lcom/oracle/truffle/js/nodes/access/JSWriteFrameSlotNode;
0 9 4 readAsyncContext Lcom/oracle/truffle/js/nodes/access/JSReadFrameSlotNode;
0 9 5 writeAsyncResult Lcom/oracle/truffle/js/nodes/access/JSWriteFrameSlotNode;
MethodParameters:
Name Flags
context
body
writeAsyncContext
readAsyncContext
writeAsyncResult
public static com.oracle.truffle.js.nodes.JavaScriptNode create(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.js.nodes.JavaScriptNode, com.oracle.truffle.js.nodes.access.JSWriteFrameSlotNode, com.oracle.truffle.js.nodes.access.JSReadFrameSlotNode, com.oracle.truffle.js.nodes.access.JSWriteFrameSlotNode);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/JavaScriptNode;Lcom/oracle/truffle/js/nodes/access/JSWriteFrameSlotNode;Lcom/oracle/truffle/js/nodes/access/JSReadFrameSlotNode;Lcom/oracle/truffle/js/nodes/access/JSWriteFrameSlotNode;)Lcom/oracle/truffle/js/nodes/JavaScriptNode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode
dup
aload 0
aload 1
aload 2
aload 3
aload 4
invokespecial com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.<init>:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/JavaScriptNode;Lcom/oracle/truffle/js/nodes/access/JSWriteFrameSlotNode;Lcom/oracle/truffle/js/nodes/access/JSReadFrameSlotNode;Lcom/oracle/truffle/js/nodes/access/JSWriteFrameSlotNode;)V
areturn
end local 4 end local 3 end local 2 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 body Lcom/oracle/truffle/js/nodes/JavaScriptNode;
0 1 2 writeAsyncContext Lcom/oracle/truffle/js/nodes/access/JSWriteFrameSlotNode;
0 1 3 readAsyncContext Lcom/oracle/truffle/js/nodes/access/JSReadFrameSlotNode;
0 1 4 writeAsyncResult Lcom/oracle/truffle/js/nodes/access/JSWriteFrameSlotNode;
MethodParameters:
Name Flags
context
body
writeAsyncContext
readAsyncContext
writeAsyncResult
private com.oracle.truffle.js.runtime.JSContext getContext();
descriptor: ()Lcom/oracle/truffle/js/runtime/JSContext;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/control/AsyncFunctionBodyNode;
public boolean hasTag(java.lang.Class<? extends com.oracle.truffle.api.instrumentation.Tag>);
descriptor: (Ljava/lang/Class;)Z
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/js/nodes/instrumentation/JSTags$ControlFlowRootTag;
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial com.oracle.truffle.js.nodes.JavaScriptNode.hasTag:(Ljava/lang/Class;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/nodes/control/AsyncFunctionBodyNode;
0 3 1 tag Ljava/lang/Class<+Lcom/oracle/truffle/api/instrumentation/Tag;>;
Signature: (Ljava/lang/Class<+Lcom/oracle/truffle/api/instrumentation/Tag;>;)Z
MethodParameters:
Name Flags
tag
public java.lang.Object getNodeObject();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "type"
getstatic com.oracle.truffle.js.nodes.instrumentation.JSTags$ControlFlowRootTag$Type.AsyncFunction:Lcom/oracle/truffle/js/nodes/instrumentation/JSTags$ControlFlowRootTag$Type;
invokevirtual com.oracle.truffle.js.nodes.instrumentation.JSTags$ControlFlowRootTag$Type.name:()Ljava/lang/String;
invokestatic com.oracle.truffle.js.nodes.instrumentation.JSTags.createNodeObjectDescriptor:(Ljava/lang/String;Ljava/lang/Object;)Lcom/oracle/truffle/js/nodes/instrumentation/NodeObjectDescriptor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/control/AsyncFunctionBodyNode;
private void initializeAsyncCallTarget();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic com.oracle.truffle.api.CompilerAsserts.neverPartOfCompilation:()V
1: aload 0
aload 0
invokedynamic run(Lcom/oracle/truffle/js/nodes/control/AsyncFunctionBodyNode;)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/control/AsyncFunctionBodyNode.lambda$0()V (7)
()V
invokevirtual com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.atomic:(Ljava/lang/Runnable;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/nodes/control/AsyncFunctionBodyNode;
private boolean asyncCallTargetInitializationRequired();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.resumptionTarget:Lcom/oracle/truffle/api/CallTarget;
ifnull 1
aload 0
getfield com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.asyncCallNode:Lcom/oracle/truffle/api/nodes/DirectCallNode;
ifnull 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/nodes/control/AsyncFunctionBodyNode;
private void ensureAsyncCallTargetInitialized();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.asyncCallTargetInitializationRequired:()Z
ifeq 3
1: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
2: aload 0
invokevirtual com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.initializeAsyncCallTarget:()V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/nodes/control/AsyncFunctionBodyNode;
private void asyncFunctionStart(com.oracle.truffle.api.frame.VirtualFrame, com.oracle.truffle.js.runtime.objects.PromiseCapabilityRecord);
descriptor: (Lcom/oracle/truffle/api/frame/VirtualFrame;Lcom/oracle/truffle/js/runtime/objects/PromiseCapabilityRecord;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface com.oracle.truffle.api.frame.VirtualFrame.materialize:()Lcom/oracle/truffle/api/frame/MaterializedFrame;
astore 3
start local 3 1: aload 0
getfield com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.writeAsyncContext:Lcom/oracle/truffle/js/nodes/access/JSWriteFrameSlotNode;
aload 1
aload 0
getfield com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.resumptionTarget:Lcom/oracle/truffle/api/CallTarget;
aload 2
aload 3
invokestatic com.oracle.truffle.js.nodes.promise.AsyncRootNode.createAsyncContext:(Lcom/oracle/truffle/api/CallTarget;Ljava/lang/Object;Lcom/oracle/truffle/api/frame/MaterializedFrame;)[Ljava/lang/Object;
invokevirtual com.oracle.truffle.js.nodes.access.JSWriteFrameSlotNode.executeWrite:(Lcom/oracle/truffle/api/frame/VirtualFrame;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aconst_null
astore 4
start local 4 3: aload 0
getfield com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.asyncCallNode:Lcom/oracle/truffle/api/nodes/DirectCallNode;
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
dup
iconst_1
aload 2
aastore
dup
iconst_2
aload 4
aastore
invokevirtual com.oracle.truffle.api.nodes.DirectCallNode.call:([Ljava/lang/Object;)Ljava/lang/Object;
pop
4: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/truffle/js/nodes/control/AsyncFunctionBodyNode;
0 5 1 frame Lcom/oracle/truffle/api/frame/VirtualFrame;
0 5 2 promiseCapability Lcom/oracle/truffle/js/runtime/objects/PromiseCapabilityRecord;
1 5 3 materializedFrame Lcom/oracle/truffle/api/frame/MaterializedFrame;
3 5 4 unusedInitialResult Lcom/oracle/truffle/js/runtime/objects/Completion;
MethodParameters:
Name Flags
frame
promiseCapability
public java.lang.Object execute(com.oracle.truffle.api.frame.VirtualFrame);
descriptor: (Lcom/oracle/truffle/api/frame/VirtualFrame;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.newPromiseCapability:Lcom/oracle/truffle/js/nodes/promise/NewPromiseCapabilityNode;
invokevirtual com.oracle.truffle.js.nodes.promise.NewPromiseCapabilityNode.executeDefault:()Lcom/oracle/truffle/js/runtime/objects/PromiseCapabilityRecord;
astore 2
start local 2 1: aload 0
invokevirtual com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.ensureAsyncCallTargetInitialized:()V
2: aload 0
aload 1
aload 2
invokevirtual com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.asyncFunctionStart:(Lcom/oracle/truffle/api/frame/VirtualFrame;Lcom/oracle/truffle/js/runtime/objects/PromiseCapabilityRecord;)V
3: aload 2
invokevirtual com.oracle.truffle.js.runtime.objects.PromiseCapabilityRecord.getPromise:()Lcom/oracle/truffle/api/object/DynamicObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/nodes/control/AsyncFunctionBodyNode;
0 4 1 frame Lcom/oracle/truffle/api/frame/VirtualFrame;
1 4 2 promiseCapability Lcom/oracle/truffle/js/runtime/objects/PromiseCapabilityRecord;
MethodParameters:
Name Flags
frame
private static void promiseCapabilityResolve(com.oracle.truffle.js.nodes.function.JSFunctionCallNode, com.oracle.truffle.js.runtime.objects.PromiseCapabilityRecord, java.lang.Object);
descriptor: (Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;Lcom/oracle/truffle/js/runtime/objects/PromiseCapabilityRecord;Ljava/lang/Object;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getstatic com.oracle.truffle.js.runtime.objects.Undefined.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
aload 1
invokevirtual com.oracle.truffle.js.runtime.objects.PromiseCapabilityRecord.getResolve:()Ljava/lang/Object;
aload 2
invokestatic com.oracle.truffle.js.runtime.JSArguments.createOneArg:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)[Ljava/lang/Object;
invokevirtual com.oracle.truffle.js.nodes.function.JSFunctionCallNode.executeCall:([Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 promiseCallNode Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;
0 2 1 promiseCapability Lcom/oracle/truffle/js/runtime/objects/PromiseCapabilityRecord;
0 2 2 result Ljava/lang/Object;
MethodParameters:
Name Flags
promiseCallNode
promiseCapability
result
private static void promiseCapabilityReject(com.oracle.truffle.js.nodes.function.JSFunctionCallNode, com.oracle.truffle.js.runtime.objects.PromiseCapabilityRecord, java.lang.Object);
descriptor: (Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;Lcom/oracle/truffle/js/runtime/objects/PromiseCapabilityRecord;Ljava/lang/Object;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getstatic com.oracle.truffle.js.runtime.objects.Undefined.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
aload 1
invokevirtual com.oracle.truffle.js.runtime.objects.PromiseCapabilityRecord.getReject:()Ljava/lang/Object;
aload 2
invokestatic com.oracle.truffle.js.runtime.JSArguments.createOneArg:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)[Ljava/lang/Object;
invokevirtual com.oracle.truffle.js.nodes.function.JSFunctionCallNode.executeCall:([Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 promiseCallNode Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;
0 2 1 promiseCapability Lcom/oracle/truffle/js/runtime/objects/PromiseCapabilityRecord;
0 2 2 result Ljava/lang/Object;
MethodParameters:
Name Flags
promiseCallNode
promiseCapability
result
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
aload 0
aload 1
invokedynamic call(Lcom/oracle/truffle/js/nodes/control/AsyncFunctionBodyNode;Ljava/util/Set;)Ljava/util/concurrent/Callable;
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:
()Ljava/lang/Object;
com/oracle/truffle/js/nodes/control/AsyncFunctionBodyNode.lambda$1(Ljava/util/Set;)Lcom/oracle/truffle/js/nodes/JavaScriptNode; (7)
()Lcom/oracle/truffle/js/nodes/JavaScriptNode;
invokevirtual com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.atomic:(Ljava/util/concurrent/Callable;)Ljava/lang/Object;
checkcast com.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/control/AsyncFunctionBodyNode;
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=8, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.asyncCallTargetInitializationRequired:()Z
ifeq 9
1: aload 0
invokevirtual com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.getRootNode:()Lcom/oracle/truffle/api/nodes/RootNode;
astore 1
start local 1 2: new com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode$AsyncFunctionRootNode
dup
aload 0
invokevirtual com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.getContext:()Lcom/oracle/truffle/js/runtime/JSContext;
aload 0
getfield com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.functionBody:Lcom/oracle/truffle/js/nodes/JavaScriptNode;
aload 0
getfield com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.writeAsyncResult:Lcom/oracle/truffle/js/nodes/access/JSWriteFrameSlotNode;
aload 0
getfield com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.readAsyncContext:Lcom/oracle/truffle/js/nodes/access/JSReadFrameSlotNode;
aload 1
invokevirtual com.oracle.truffle.api.nodes.RootNode.getSourceSection:()Lcom/oracle/truffle/api/source/SourceSection;
aload 1
invokevirtual com.oracle.truffle.api.nodes.RootNode.getName:()Ljava/lang/String;
invokespecial com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode$AsyncFunctionRootNode.<init>:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/JavaScriptNode;Lcom/oracle/truffle/js/nodes/access/JSWriteFrameSlotNode;Lcom/oracle/truffle/js/nodes/access/JSReadFrameSlotNode;Lcom/oracle/truffle/api/source/SourceSection;Ljava/lang/String;)V
astore 2
start local 2 3: aload 0
invokestatic com.oracle.truffle.api.Truffle.getRuntime:()Lcom/oracle/truffle/api/TruffleRuntime;
aload 2
invokeinterface com.oracle.truffle.api.TruffleRuntime.createCallTarget:(Lcom/oracle/truffle/api/nodes/RootNode;)Lcom/oracle/truffle/api/RootCallTarget;
putfield com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.resumptionTarget:Lcom/oracle/truffle/api/CallTarget;
4: aload 0
getfield com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.resumptionTarget:Lcom/oracle/truffle/api/CallTarget;
invokestatic com.oracle.truffle.api.nodes.DirectCallNode.create:(Lcom/oracle/truffle/api/CallTarget;)Lcom/oracle/truffle/api/nodes/DirectCallNode;
astore 3
start local 3 5: aload 0
aload 0
aload 3
invokevirtual com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.insert:(Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/api/nodes/Node;
checkcast com.oracle.truffle.api.nodes.DirectCallNode
putfield com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.asyncCallNode:Lcom/oracle/truffle/api/nodes/DirectCallNode;
6: aload 0
aconst_null
putfield com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.functionBody:Lcom/oracle/truffle/js/nodes/JavaScriptNode;
7: aload 0
aconst_null
putfield com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.writeAsyncResult:Lcom/oracle/truffle/js/nodes/access/JSWriteFrameSlotNode;
8: aload 0
aconst_null
putfield com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.readAsyncContext:Lcom/oracle/truffle/js/nodes/access/JSReadFrameSlotNode;
end local 3 end local 2 end local 1 9: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/oracle/truffle/js/nodes/control/AsyncFunctionBodyNode;
2 9 1 rootNode Lcom/oracle/truffle/api/nodes/RootNode;
3 9 2 asyncRootNode Lcom/oracle/truffle/js/nodes/control/AsyncFunctionBodyNode$AsyncFunctionRootNode;
5 9 3 callNode Lcom/oracle/truffle/api/nodes/DirectCallNode;
private com.oracle.truffle.js.nodes.JavaScriptNode lambda$1(java.util.Set);
descriptor: (Ljava/util/Set;)Lcom/oracle/truffle/js/nodes/JavaScriptNode;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=6, locals=3, args_size=2
start local 0 0: aload 0
getfield com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.resumptionTarget:Lcom/oracle/truffle/api/CallTarget;
ifnonnull 7
1: aload 0
invokevirtual com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.getContext:()Lcom/oracle/truffle/js/runtime/JSContext;
2: aload 0
getfield com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.functionBody:Lcom/oracle/truffle/js/nodes/JavaScriptNode;
aload 1
invokestatic com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.cloneUninitialized:(Lcom/oracle/truffle/js/nodes/JavaScriptNode;Ljava/util/Set;)Lcom/oracle/truffle/js/nodes/JavaScriptNode;
3: aload 0
getfield com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.writeAsyncContext:Lcom/oracle/truffle/js/nodes/access/JSWriteFrameSlotNode;
aload 1
invokestatic com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.cloneUninitialized:(Lcom/oracle/truffle/js/nodes/JavaScriptNode;Ljava/util/Set;)Lcom/oracle/truffle/js/nodes/JavaScriptNode;
checkcast com.oracle.truffle.js.nodes.access.JSWriteFrameSlotNode
4: aload 0
getfield com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.readAsyncContext:Lcom/oracle/truffle/js/nodes/access/JSReadFrameSlotNode;
aload 1
invokestatic com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.cloneUninitialized:(Lcom/oracle/truffle/js/nodes/JavaScriptNode;Ljava/util/Set;)Lcom/oracle/truffle/js/nodes/JavaScriptNode;
checkcast com.oracle.truffle.js.nodes.access.JSReadFrameSlotNode
5: aload 0
getfield com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.writeAsyncResult:Lcom/oracle/truffle/js/nodes/access/JSWriteFrameSlotNode;
aload 1
invokestatic com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.cloneUninitialized:(Lcom/oracle/truffle/js/nodes/JavaScriptNode;Ljava/util/Set;)Lcom/oracle/truffle/js/nodes/JavaScriptNode;
checkcast com.oracle.truffle.js.nodes.access.JSWriteFrameSlotNode
6: invokestatic com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.create:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/JavaScriptNode;Lcom/oracle/truffle/js/nodes/access/JSWriteFrameSlotNode;Lcom/oracle/truffle/js/nodes/access/JSReadFrameSlotNode;Lcom/oracle/truffle/js/nodes/access/JSWriteFrameSlotNode;)Lcom/oracle/truffle/js/nodes/JavaScriptNode;
areturn
7: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.resumptionTarget:Lcom/oracle/truffle/api/CallTarget;
checkcast com.oracle.truffle.api.RootCallTarget
invokeinterface com.oracle.truffle.api.RootCallTarget.getRootNode:()Lcom/oracle/truffle/api/nodes/RootNode;
checkcast com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode$AsyncFunctionRootNode
astore 2
start local 2 8: aload 0
invokevirtual com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.getContext:()Lcom/oracle/truffle/js/runtime/JSContext;
9: aload 2
getfield com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode$AsyncFunctionRootNode.functionBody:Lcom/oracle/truffle/js/nodes/JavaScriptNode;
aload 1
invokestatic com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.cloneUninitialized:(Lcom/oracle/truffle/js/nodes/JavaScriptNode;Ljava/util/Set;)Lcom/oracle/truffle/js/nodes/JavaScriptNode;
10: aload 0
getfield com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.writeAsyncContext:Lcom/oracle/truffle/js/nodes/access/JSWriteFrameSlotNode;
aload 1
invokestatic com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.cloneUninitialized:(Lcom/oracle/truffle/js/nodes/JavaScriptNode;Ljava/util/Set;)Lcom/oracle/truffle/js/nodes/JavaScriptNode;
checkcast com.oracle.truffle.js.nodes.access.JSWriteFrameSlotNode
11: aload 2
getfield com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode$AsyncFunctionRootNode.readAsyncContext:Lcom/oracle/truffle/js/nodes/access/JSReadFrameSlotNode;
aload 1
invokestatic com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.cloneUninitialized:(Lcom/oracle/truffle/js/nodes/JavaScriptNode;Ljava/util/Set;)Lcom/oracle/truffle/js/nodes/JavaScriptNode;
checkcast com.oracle.truffle.js.nodes.access.JSReadFrameSlotNode
12: aload 2
getfield com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode$AsyncFunctionRootNode.writeAsyncResult:Lcom/oracle/truffle/js/nodes/access/JSWriteFrameSlotNode;
aload 1
invokestatic com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.cloneUninitialized:(Lcom/oracle/truffle/js/nodes/JavaScriptNode;Ljava/util/Set;)Lcom/oracle/truffle/js/nodes/JavaScriptNode;
checkcast com.oracle.truffle.js.nodes.access.JSWriteFrameSlotNode
13: invokestatic com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode.create:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/JavaScriptNode;Lcom/oracle/truffle/js/nodes/access/JSWriteFrameSlotNode;Lcom/oracle/truffle/js/nodes/access/JSReadFrameSlotNode;Lcom/oracle/truffle/js/nodes/access/JSWriteFrameSlotNode;)Lcom/oracle/truffle/js/nodes/JavaScriptNode;
areturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/oracle/truffle/js/nodes/control/AsyncFunctionBodyNode;
8 14 2 asyncFunctionRoot Lcom/oracle/truffle/js/nodes/control/AsyncFunctionBodyNode$AsyncFunctionRootNode;
Exceptions:
throws java.lang.Exception
}
SourceFile: "AsyncFunctionBodyNode.java"
NestMembers:
com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode$AsyncFunctionRootNode
InnerClasses:
public abstract CompilationFinal = com.oracle.truffle.api.CompilerDirectives$CompilationFinal of com.oracle.truffle.api.CompilerDirectives
public abstract Child = com.oracle.truffle.api.nodes.Node$Child of com.oracle.truffle.api.nodes.Node
public final AsyncFunctionRootNode = com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode$AsyncFunctionRootNode of com.oracle.truffle.js.nodes.control.AsyncFunctionBodyNode
public final ControlFlowRootTag = com.oracle.truffle.js.nodes.instrumentation.JSTags$ControlFlowRootTag of com.oracle.truffle.js.nodes.instrumentation.JSTags
public final Type = com.oracle.truffle.js.nodes.instrumentation.JSTags$ControlFlowRootTag$Type of com.oracle.truffle.js.nodes.instrumentation.JSTags$ControlFlowRootTag
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles