public abstract class com.oracle.truffle.js.builtins.TestV8Builtins$TestV8CreateAsyncFromSyncIterator extends com.oracle.truffle.js.nodes.function.JSBuiltinNode
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.oracle.truffle.js.builtins.TestV8Builtins$TestV8CreateAsyncFromSyncIterator
super_class: com.oracle.truffle.js.nodes.function.JSBuiltinNode
{
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.PropertyGetNode getNextMethodNode;
descriptor: Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
public void <init>(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.js.nodes.function.JSBuiltin);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/function/JSBuiltin;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 // com.oracle.truffle.js.builtins.TestV8Builtins$TestV8CreateAsyncFromSyncIterator this
start local 1 // com.oracle.truffle.js.runtime.JSContext context
start local 2 // com.oracle.truffle.js.nodes.function.JSBuiltin builtin
0: .line 336
aload 0 /* this */
aload 1 /* context */
aload 2 /* builtin */
invokespecial com.oracle.truffle.js.nodes.function.JSBuiltinNode.<init>:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/function/JSBuiltin;)V
1: .line 337
aload 0 /* this */
getstatic com.oracle.truffle.js.runtime.builtins.JSFunction.ASYNC_FROM_SYNC_ITERATOR_KEY:Lcom/oracle/truffle/api/object/HiddenKey;
aload 1 /* context */
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.builtins.TestV8Builtins$TestV8CreateAsyncFromSyncIterator.setState:Lcom/oracle/truffle/js/nodes/access/PropertySetNode;
2: .line 338
aload 0 /* this */
ldc "next"
aload 1 /* context */
invokestatic com.oracle.truffle.js.nodes.access.PropertyGetNode.create:(Ljava/lang/Object;Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
putfield com.oracle.truffle.js.builtins.TestV8Builtins$TestV8CreateAsyncFromSyncIterator.getNextMethodNode:Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
3: .line 339
return
end local 2 // com.oracle.truffle.js.nodes.function.JSBuiltin builtin
end local 1 // com.oracle.truffle.js.runtime.JSContext context
end local 0 // com.oracle.truffle.js.builtins.TestV8Builtins$TestV8CreateAsyncFromSyncIterator this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/builtins/TestV8Builtins$TestV8CreateAsyncFromSyncIterator;
0 4 1 context Lcom/oracle/truffle/js/runtime/JSContext;
0 4 2 builtin Lcom/oracle/truffle/js/nodes/function/JSBuiltin;
MethodParameters:
Name Flags
context
builtin
protected java.lang.Object createAsyncFromSyncIterator(com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=2
start local 0 // com.oracle.truffle.js.builtins.TestV8Builtins$TestV8CreateAsyncFromSyncIterator this
start local 1 // com.oracle.truffle.api.object.DynamicObject syncIterator
0: .line 343
aload 0 /* this */
invokevirtual com.oracle.truffle.js.builtins.TestV8Builtins$TestV8CreateAsyncFromSyncIterator.getContext:()Lcom/oracle/truffle/js/runtime/JSContext;
astore 2 /* context */
start local 2 // com.oracle.truffle.js.runtime.JSContext context
1: .line 344
aload 2 /* context */
aload 2 /* context */
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 /* obj */
start local 3 // com.oracle.truffle.api.object.DynamicObject obj
2: .line 345
aload 1 /* syncIterator */
aload 0 /* this */
getfield com.oracle.truffle.js.builtins.TestV8Builtins$TestV8CreateAsyncFromSyncIterator.getNextMethodNode:Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
aload 1 /* syncIterator */
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;
astore 4 /* syncIteratorRecord */
start local 4 // com.oracle.truffle.js.runtime.objects.IteratorRecord syncIteratorRecord
3: .line 346
aload 0 /* this */
getfield com.oracle.truffle.js.builtins.TestV8Builtins$TestV8CreateAsyncFromSyncIterator.setState:Lcom/oracle/truffle/js/nodes/access/PropertySetNode;
aload 3 /* obj */
aload 4 /* syncIteratorRecord */
invokevirtual com.oracle.truffle.js.nodes.access.PropertySetNode.setValue:(Ljava/lang/Object;Ljava/lang/Object;)V
4: .line 347
aload 3 /* obj */
areturn
end local 4 // com.oracle.truffle.js.runtime.objects.IteratorRecord syncIteratorRecord
end local 3 // com.oracle.truffle.api.object.DynamicObject obj
end local 2 // com.oracle.truffle.js.runtime.JSContext context
end local 1 // com.oracle.truffle.api.object.DynamicObject syncIterator
end local 0 // com.oracle.truffle.js.builtins.TestV8Builtins$TestV8CreateAsyncFromSyncIterator this
LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/truffle/js/builtins/TestV8Builtins$TestV8CreateAsyncFromSyncIterator;
0 5 1 syncIterator Lcom/oracle/truffle/api/object/DynamicObject;
1 5 2 context Lcom/oracle/truffle/js/runtime/JSContext;
2 5 3 obj Lcom/oracle/truffle/api/object/DynamicObject;
3 5 4 syncIteratorRecord Lcom/oracle/truffle/js/runtime/objects/IteratorRecord;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"isJSObject(syncIterator)"})
MethodParameters:
Name Flags
syncIterator
protected java.lang.Object notObject(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 // com.oracle.truffle.js.builtins.TestV8Builtins$TestV8CreateAsyncFromSyncIterator this
start local 1 // java.lang.Object syncIterator
0: .line 352
aload 1 /* syncIterator */
aload 0 /* this */
invokestatic com.oracle.truffle.js.runtime.Errors.createTypeErrorNotAnObject:(Ljava/lang/Object;Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/js/runtime/JSException;
athrow
end local 1 // java.lang.Object syncIterator
end local 0 // com.oracle.truffle.js.builtins.TestV8Builtins$TestV8CreateAsyncFromSyncIterator this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/builtins/TestV8Builtins$TestV8CreateAsyncFromSyncIterator;
0 1 1 syncIterator Ljava/lang/Object;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"!isJSObject(syncIterator)"})
MethodParameters:
Name Flags
syncIterator
}
SourceFile: "TestV8Builtins.java"
NestHost: com.oracle.truffle.js.builtins.TestV8Builtins
InnerClasses:
public abstract Child = com.oracle.truffle.api.nodes.Node$Child of com.oracle.truffle.api.nodes.Node
public abstract TestV8CreateAsyncFromSyncIterator = com.oracle.truffle.js.builtins.TestV8Builtins$TestV8CreateAsyncFromSyncIterator of com.oracle.truffle.js.builtins.TestV8Builtins