public class com.oracle.truffle.js.nodes.control.AsyncGeneratorResolveNode extends com.oracle.truffle.js.nodes.JavaScriptBaseNode
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.truffle.js.nodes.control.AsyncGeneratorResolveNode
super_class: com.oracle.truffle.js.nodes.JavaScriptBaseNode
{
private com.oracle.truffle.js.nodes.access.PropertyGetNode getAsyncGeneratorQueueNode;
descriptor: Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private com.oracle.truffle.js.nodes.access.CreateIterResultObjectNode createIterResultObjectNode;
descriptor: Lcom/oracle/truffle/js/nodes/access/CreateIterResultObjectNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private com.oracle.truffle.js.nodes.function.JSFunctionCallNode callResolveNode;
descriptor: Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private com.oracle.truffle.js.nodes.control.AsyncGeneratorResumeNextNode asyncGeneratorResumeNextNode;
descriptor: Lcom/oracle/truffle/js/nodes/control/AsyncGeneratorResumeNextNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
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/control/AsyncGeneratorResolveNode;
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.control.AsyncGeneratorResolveNode.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(com.oracle.truffle.js.runtime.JSContext);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial com.oracle.truffle.js.nodes.JavaScriptBaseNode.<init>:()V
1: aload 0
aload 1
invokestatic com.oracle.truffle.js.nodes.access.CreateIterResultObjectNode.create:(Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/access/CreateIterResultObjectNode;
putfield com.oracle.truffle.js.nodes.control.AsyncGeneratorResolveNode.createIterResultObjectNode:Lcom/oracle/truffle/js/nodes/access/CreateIterResultObjectNode;
2: aload 0
getstatic com.oracle.truffle.js.runtime.builtins.JSFunction.ASYNC_GENERATOR_QUEUE_ID:Lcom/oracle/truffle/api/object/HiddenKey;
aload 1
invokestatic com.oracle.truffle.js.nodes.access.PropertyGetNode.createGetHidden:(Lcom/oracle/truffle/api/object/HiddenKey;Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
putfield com.oracle.truffle.js.nodes.control.AsyncGeneratorResolveNode.getAsyncGeneratorQueueNode:Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
3: aload 0
invokestatic com.oracle.truffle.js.nodes.function.JSFunctionCallNode.createCall:()Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;
putfield com.oracle.truffle.js.nodes.control.AsyncGeneratorResolveNode.callResolveNode:Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/truffle/js/nodes/control/AsyncGeneratorResolveNode;
0 5 1 context Lcom/oracle/truffle/js/runtime/JSContext;
MethodParameters:
Name Flags
context
public static com.oracle.truffle.js.nodes.control.AsyncGeneratorResolveNode create(com.oracle.truffle.js.runtime.JSContext);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/control/AsyncGeneratorResolveNode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.oracle.truffle.js.nodes.control.AsyncGeneratorResolveNode
dup
aload 0
invokespecial com.oracle.truffle.js.nodes.control.AsyncGeneratorResolveNode.<init>:(Lcom/oracle/truffle/js/runtime/JSContext;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lcom/oracle/truffle/js/runtime/JSContext;
MethodParameters:
Name Flags
context
public java.lang.Object execute(com.oracle.truffle.api.frame.VirtualFrame, com.oracle.truffle.api.object.DynamicObject, java.lang.Object, boolean);
descriptor: (Lcom/oracle/truffle/api/frame/VirtualFrame;Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;Z)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 3
iload 4
invokevirtual com.oracle.truffle.js.nodes.control.AsyncGeneratorResolveNode.performResolve:(Lcom/oracle/truffle/api/frame/VirtualFrame;Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;Z)V
1: aload 0
getfield com.oracle.truffle.js.nodes.control.AsyncGeneratorResolveNode.asyncGeneratorResumeNextNode:Lcom/oracle/truffle/js/nodes/control/AsyncGeneratorResumeNextNode;
ifnonnull 4
2: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
3: aload 0
aload 0
aload 0
invokevirtual com.oracle.truffle.js.nodes.control.AsyncGeneratorResolveNode.getContext:()Lcom/oracle/truffle/js/runtime/JSContext;
invokestatic com.oracle.truffle.js.nodes.control.AsyncGeneratorResumeNextNode.create:(Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/control/AsyncGeneratorResumeNextNode;
invokevirtual com.oracle.truffle.js.nodes.control.AsyncGeneratorResolveNode.insert:(Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/api/nodes/Node;
checkcast com.oracle.truffle.js.nodes.control.AsyncGeneratorResumeNextNode
putfield com.oracle.truffle.js.nodes.control.AsyncGeneratorResolveNode.asyncGeneratorResumeNextNode:Lcom/oracle/truffle/js/nodes/control/AsyncGeneratorResumeNextNode;
4: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.nodes.control.AsyncGeneratorResolveNode.asyncGeneratorResumeNextNode:Lcom/oracle/truffle/js/nodes/control/AsyncGeneratorResumeNextNode;
aload 1
aload 2
invokevirtual com.oracle.truffle.js.nodes.control.AsyncGeneratorResumeNextNode.execute:(Lcom/oracle/truffle/api/frame/VirtualFrame;Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/lang/Object;
pop
5: getstatic com.oracle.truffle.js.runtime.objects.Undefined.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
areturn
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 Lcom/oracle/truffle/js/nodes/control/AsyncGeneratorResolveNode;
0 6 1 frame Lcom/oracle/truffle/api/frame/VirtualFrame;
0 6 2 generator Lcom/oracle/truffle/api/object/DynamicObject;
0 6 3 value Ljava/lang/Object;
0 6 4 done Z
MethodParameters:
Name Flags
frame
generator
value
done
void performResolve(com.oracle.truffle.api.frame.VirtualFrame, com.oracle.truffle.api.object.DynamicObject, java.lang.Object, boolean);
descriptor: (Lcom/oracle/truffle/api/frame/VirtualFrame;Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;Z)V
flags: (0x0000)
Code:
stack=4, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield com.oracle.truffle.js.nodes.control.AsyncGeneratorResolveNode.getAsyncGeneratorQueueNode:Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
aload 2
invokevirtual com.oracle.truffle.js.nodes.access.PropertyGetNode.getValue:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.ArrayDeque
astore 5
start local 5 1: getstatic com.oracle.truffle.js.nodes.control.AsyncGeneratorResolveNode.$assertionsDisabled:Z
ifne 2
aload 5
invokevirtual java.util.ArrayDeque.isEmpty:()Z
ifeq 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: java.util.ArrayDeque
StackMap stack:
aload 5
invokevirtual java.util.ArrayDeque.pollFirst:()Ljava/lang/Object;
checkcast com.oracle.truffle.js.runtime.objects.AsyncGeneratorRequest
astore 6
start local 6 3: aload 6
invokevirtual com.oracle.truffle.js.runtime.objects.AsyncGeneratorRequest.getPromiseCapability:()Lcom/oracle/truffle/js/runtime/objects/PromiseCapabilityRecord;
astore 7
start local 7 4: aload 0
getfield com.oracle.truffle.js.nodes.control.AsyncGeneratorResolveNode.createIterResultObjectNode:Lcom/oracle/truffle/js/nodes/access/CreateIterResultObjectNode;
aload 1
aload 3
iload 4
invokevirtual com.oracle.truffle.js.nodes.access.CreateIterResultObjectNode.execute:(Lcom/oracle/truffle/api/frame/VirtualFrame;Ljava/lang/Object;Z)Lcom/oracle/truffle/api/object/DynamicObject;
astore 8
start local 8 5: aload 7
invokevirtual com.oracle.truffle.js.runtime.objects.PromiseCapabilityRecord.getResolve:()Ljava/lang/Object;
astore 9
start local 9 6: aload 0
getfield com.oracle.truffle.js.nodes.control.AsyncGeneratorResolveNode.callResolveNode:Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;
getstatic com.oracle.truffle.js.runtime.objects.Undefined.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
aload 9
aload 8
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
7: 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 8 0 this Lcom/oracle/truffle/js/nodes/control/AsyncGeneratorResolveNode;
0 8 1 frame Lcom/oracle/truffle/api/frame/VirtualFrame;
0 8 2 generator Lcom/oracle/truffle/api/object/DynamicObject;
0 8 3 value Ljava/lang/Object;
0 8 4 done Z
1 8 5 queue Ljava/util/ArrayDeque<Lcom/oracle/truffle/js/runtime/objects/AsyncGeneratorRequest;>;
3 8 6 next Lcom/oracle/truffle/js/runtime/objects/AsyncGeneratorRequest;
4 8 7 promiseCapability Lcom/oracle/truffle/js/runtime/objects/PromiseCapabilityRecord;
5 8 8 iteratorResult Lcom/oracle/truffle/api/object/DynamicObject;
6 8 9 resolve Ljava/lang/Object;
MethodParameters:
Name Flags
frame
generator
value
done
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.AsyncGeneratorResolveNode.getAsyncGeneratorQueueNode:Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
invokevirtual com.oracle.truffle.js.nodes.access.PropertyGetNode.getContext:()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/AsyncGeneratorResolveNode;
}
SourceFile: "AsyncGeneratorResolveNode.java"
InnerClasses:
public abstract Child = com.oracle.truffle.api.nodes.Node$Child of com.oracle.truffle.api.nodes.Node