public abstract class com.oracle.truffle.js.nodes.access.GetAsyncIteratorNode extends com.oracle.truffle.js.nodes.access.GetIteratorNode
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.oracle.truffle.js.nodes.access.GetAsyncIteratorNode
super_class: com.oracle.truffle.js.nodes.access.GetIteratorNode
{
private com.oracle.truffle.js.nodes.access.PropertySetNode setState;
descriptor: Lcom/oracle/truffle/js/nodes/access/PropertySetNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private com.oracle.truffle.js.nodes.access.GetMethodNode getIteratorMethodNode;
descriptor: Lcom/oracle/truffle/js/nodes/access/GetMethodNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private com.oracle.truffle.js.nodes.access.GetMethodNode getAsyncIteratorMethodNode;
descriptor: Lcom/oracle/truffle/js/nodes/access/GetMethodNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private final com.oracle.truffle.api.profiles.ConditionProfile asyncToSync;
descriptor: Lcom/oracle/truffle/api/profiles/ConditionProfile;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected void <init>(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.js.nodes.JavaScriptNode);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/JavaScriptNode;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial com.oracle.truffle.js.nodes.access.GetIteratorNode.<init>:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/JavaScriptNode;)V
1: aload 0
invokestatic com.oracle.truffle.api.profiles.ConditionProfile.createBinaryProfile:()Lcom/oracle/truffle/api/profiles/ConditionProfile;
putfield com.oracle.truffle.js.nodes.access.GetAsyncIteratorNode.asyncToSync:Lcom/oracle/truffle/api/profiles/ConditionProfile;
2: aload 0
getstatic com.oracle.truffle.js.runtime.builtins.JSFunction.ASYNC_FROM_SYNC_ITERATOR_KEY:Lcom/oracle/truffle/api/object/HiddenKey;
aload 1
invokestatic com.oracle.truffle.js.nodes.access.PropertySetNode.createSetHidden:(Lcom/oracle/truffle/api/object/HiddenKey;Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/access/PropertySetNode;
putfield com.oracle.truffle.js.nodes.access.GetAsyncIteratorNode.setState:Lcom/oracle/truffle/js/nodes/access/PropertySetNode;
3: aload 0
aload 1
aconst_null
getstatic com.oracle.truffle.js.runtime.Symbol.SYMBOL_ASYNC_ITERATOR:Lcom/oracle/truffle/js/runtime/Symbol;
invokestatic com.oracle.truffle.js.nodes.access.GetMethodNode.create:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/JavaScriptNode;Ljava/lang/Object;)Lcom/oracle/truffle/js/nodes/access/GetMethodNode;
putfield com.oracle.truffle.js.nodes.access.GetAsyncIteratorNode.getAsyncIteratorMethodNode:Lcom/oracle/truffle/js/nodes/access/GetMethodNode;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/truffle/js/nodes/access/GetAsyncIteratorNode;
0 5 1 context Lcom/oracle/truffle/js/runtime/JSContext;
0 5 2 objectNode Lcom/oracle/truffle/js/nodes/JavaScriptNode;
MethodParameters:
Name Flags
context
objectNode
protected com.oracle.truffle.js.runtime.objects.IteratorRecord doGetIterator(java.lang.Object, com.oracle.truffle.js.nodes.unary.IsCallableNode, com.oracle.truffle.js.nodes.function.JSFunctionCallNode, com.oracle.truffle.js.nodes.access.IsJSObjectNode);
descriptor: (Ljava/lang/Object;Lcom/oracle/truffle/js/nodes/unary/IsCallableNode;Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;Lcom/oracle/truffle/js/nodes/access/IsJSObjectNode;)Lcom/oracle/truffle/js/runtime/objects/IteratorRecord;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=9, 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.access.GetAsyncIteratorNode.getAsyncIteratorMethodNode:Lcom/oracle/truffle/js/nodes/access/GetMethodNode;
aload 1
invokevirtual com.oracle.truffle.js.nodes.access.GetMethodNode.executeWithTarget:(Ljava/lang/Object;)Ljava/lang/Object;
astore 5
start local 5 1: aload 0
getfield com.oracle.truffle.js.nodes.access.GetAsyncIteratorNode.asyncToSync:Lcom/oracle/truffle/api/profiles/ConditionProfile;
aload 5
getstatic com.oracle.truffle.js.runtime.objects.Undefined.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
if_acmpne 2
iconst_1
goto 3
StackMap locals: com.oracle.truffle.js.nodes.access.GetAsyncIteratorNode java.lang.Object com.oracle.truffle.js.nodes.unary.IsCallableNode com.oracle.truffle.js.nodes.function.JSFunctionCallNode com.oracle.truffle.js.nodes.access.IsJSObjectNode java.lang.Object
StackMap stack: com.oracle.truffle.api.profiles.ConditionProfile
2: iconst_0
StackMap locals: com.oracle.truffle.js.nodes.access.GetAsyncIteratorNode java.lang.Object com.oracle.truffle.js.nodes.unary.IsCallableNode com.oracle.truffle.js.nodes.function.JSFunctionCallNode com.oracle.truffle.js.nodes.access.IsJSObjectNode java.lang.Object
StackMap stack: com.oracle.truffle.api.profiles.ConditionProfile int
3: invokevirtual com.oracle.truffle.api.profiles.ConditionProfile.profile:(Z)Z
ifeq 8
4: aload 0
invokevirtual com.oracle.truffle.js.nodes.access.GetAsyncIteratorNode.getIteratorMethodNode:()Lcom/oracle/truffle/js/nodes/access/GetMethodNode;
aload 1
invokevirtual com.oracle.truffle.js.nodes.access.GetMethodNode.executeWithTarget:(Ljava/lang/Object;)Ljava/lang/Object;
astore 6
start local 6 5: aload 0
aload 1
aload 6
aload 2
aload 3
aload 4
invokevirtual com.oracle.truffle.js.nodes.access.GetAsyncIteratorNode.getIterator:(Ljava/lang/Object;Ljava/lang/Object;Lcom/oracle/truffle/js/nodes/unary/IsCallableNode;Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;Lcom/oracle/truffle/js/nodes/access/IsJSObjectNode;)Lcom/oracle/truffle/js/runtime/objects/IteratorRecord;
astore 7
start local 7 6: aload 0
aload 7
invokevirtual com.oracle.truffle.js.nodes.access.GetAsyncIteratorNode.createAsyncFromSyncIterator:(Lcom/oracle/truffle/js/runtime/objects/IteratorRecord;)Lcom/oracle/truffle/api/object/DynamicObject;
astore 8
start local 8 7: aload 8
aload 0
getfield com.oracle.truffle.js.nodes.access.GetAsyncIteratorNode.getNextMethodNode:Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
aload 8
invokevirtual com.oracle.truffle.js.nodes.access.PropertyGetNode.getValue:(Ljava/lang/Object;)Ljava/lang/Object;
iconst_0
invokestatic com.oracle.truffle.js.runtime.objects.IteratorRecord.create:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;Z)Lcom/oracle/truffle/js/runtime/objects/IteratorRecord;
areturn
end local 8 end local 7 end local 6 8: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 5
aload 2
aload 3
aload 4
invokevirtual com.oracle.truffle.js.nodes.access.GetAsyncIteratorNode.getIterator:(Ljava/lang/Object;Ljava/lang/Object;Lcom/oracle/truffle/js/nodes/unary/IsCallableNode;Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;Lcom/oracle/truffle/js/nodes/access/IsJSObjectNode;)Lcom/oracle/truffle/js/runtime/objects/IteratorRecord;
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 9 0 this Lcom/oracle/truffle/js/nodes/access/GetAsyncIteratorNode;
0 9 1 iteratedObject Ljava/lang/Object;
0 9 2 isCallableNode Lcom/oracle/truffle/js/nodes/unary/IsCallableNode;
0 9 3 methodCallNode Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;
0 9 4 isObjectNode Lcom/oracle/truffle/js/nodes/access/IsJSObjectNode;
1 9 5 method Ljava/lang/Object;
5 8 6 syncMethod Ljava/lang/Object;
6 8 7 syncIteratorRecord Lcom/oracle/truffle/js/runtime/objects/IteratorRecord;
7 8 8 asyncIterator Lcom/oracle/truffle/api/object/DynamicObject;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"!isForeignObject(iteratedObject)"})
RuntimeInvisibleParameterAnnotations:
0:
1:
com.oracle.truffle.api.dsl.Cached(value = "create()")
2:
com.oracle.truffle.api.dsl.Cached(value = "createCall()")
3:
com.oracle.truffle.api.dsl.Cached(value = "create()")
MethodParameters:
Name Flags
iteratedObject
isCallableNode
methodCallNode
isObjectNode
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 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tGetAsyncIteratorNodeGen cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/access/GetAsyncIteratorNode;
Signature: (Ljava/util/Set<Ljava/lang/Class<+Lcom/oracle/truffle/api/instrumentation/Tag;>;>;)Lcom/oracle/truffle/js/nodes/JavaScriptNode;
MethodParameters:
Name Flags
materializedTags
private com.oracle.truffle.api.object.DynamicObject createAsyncFromSyncIterator(com.oracle.truffle.js.runtime.objects.IteratorRecord);
descriptor: (Lcom/oracle/truffle/js/runtime/objects/IteratorRecord;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.oracle.truffle.js.runtime.objects.IteratorRecord.getIterator:()Lcom/oracle/truffle/api/object/DynamicObject;
astore 2
start local 2 1: aload 2
invokestatic com.oracle.truffle.js.runtime.objects.JSDynamicObject.isJSDynamicObject:(Ljava/lang/Object;)Z
ifne 3
2: aload 2
aload 0
invokestatic com.oracle.truffle.js.runtime.Errors.createTypeErrorNotAnObject:(Ljava/lang/Object;Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/js/runtime/JSException;
athrow
3: StackMap locals: com.oracle.truffle.api.object.DynamicObject
StackMap stack:
aload 0
getfield com.oracle.truffle.js.nodes.access.GetAsyncIteratorNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
aload 0
getfield com.oracle.truffle.js.nodes.access.GetAsyncIteratorNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
invokevirtual com.oracle.truffle.js.runtime.JSContext.getAsyncFromSyncIteratorFactory:()Lcom/oracle/truffle/js/runtime/builtins/JSObjectFactory;
invokestatic com.oracle.truffle.js.runtime.builtins.JSOrdinary.create:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/runtime/builtins/JSObjectFactory;)Lcom/oracle/truffle/api/object/DynamicObject;
astore 3
start local 3 4: aload 0
getfield com.oracle.truffle.js.nodes.access.GetAsyncIteratorNode.setState:Lcom/oracle/truffle/js/nodes/access/PropertySetNode;
aload 3
aload 1
invokevirtual com.oracle.truffle.js.nodes.access.PropertySetNode.setValue:(Ljava/lang/Object;Ljava/lang/Object;)V
5: aload 3
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/access/GetAsyncIteratorNode;
0 6 1 syncIteratorRecord Lcom/oracle/truffle/js/runtime/objects/IteratorRecord;
1 6 2 syncIterator Lcom/oracle/truffle/api/object/DynamicObject;
4 6 3 obj Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
syncIteratorRecord
}
SourceFile: "GetAsyncIteratorNode.java"
InnerClasses:
public abstract Child = com.oracle.truffle.api.nodes.Node$Child of com.oracle.truffle.api.nodes.Node