class com.oracle.truffle.js.nodes.promise.PerformPromiseAllNode$1PromiseAllResolveElementRootNode extends com.oracle.truffle.js.runtime.JavaScriptRootNode implements com.oracle.truffle.js.nodes.promise.AsyncHandlerRootNode
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.oracle.truffle.js.nodes.promise.PerformPromiseAllNode$1PromiseAllResolveElementRootNode
super_class: com.oracle.truffle.js.runtime.JavaScriptRootNode
{
private com.oracle.truffle.js.nodes.JavaScriptNode valueNode;
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.PropertyGetNode getArgs;
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.function.JSFunctionCallNode callResolve;
descriptor: Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private final com.oracle.truffle.js.runtime.JSContext val$context;
descriptor: Lcom/oracle/truffle/js/runtime/JSContext;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(com.oracle.truffle.js.runtime.JSContext);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 // com.oracle.truffle.js.nodes.promise.PerformPromiseAllNode$1PromiseAllResolveElementRootNode this
0: .line 154
aload 0 /* this */
aload 1
putfield com.oracle.truffle.js.nodes.promise.PerformPromiseAllNode$1PromiseAllResolveElementRootNode.val$context:Lcom/oracle/truffle/js/runtime/JSContext;
aload 0 /* this */
invokespecial com.oracle.truffle.js.runtime.JavaScriptRootNode.<init>:()V
1: .line 155
aload 0 /* this */
iconst_0
invokestatic com.oracle.truffle.js.nodes.arguments.AccessIndexedArgumentNode.create:(I)Lcom/oracle/truffle/js/nodes/JavaScriptNode;
putfield com.oracle.truffle.js.nodes.promise.PerformPromiseAllNode$1PromiseAllResolveElementRootNode.valueNode:Lcom/oracle/truffle/js/nodes/JavaScriptNode;
2: .line 156
aload 0 /* this */
getstatic com.oracle.truffle.js.nodes.promise.PerformPromiseAllNode.RESOLVE_ELEMENT_ARGS_KEY: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.promise.PerformPromiseAllNode$1PromiseAllResolveElementRootNode.getArgs:Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
3: .line 157
aload 0 /* this */
invokestatic com.oracle.truffle.js.nodes.function.JSFunctionCallNode.createCall:()Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;
putfield com.oracle.truffle.js.nodes.promise.PerformPromiseAllNode$1PromiseAllResolveElementRootNode.callResolve:Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;
4: .line 154
return
end local 0 // com.oracle.truffle.js.nodes.promise.PerformPromiseAllNode$1PromiseAllResolveElementRootNode this
LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/truffle/js/nodes/promise/PerformPromiseAllNode$1PromiseAllResolveElementRootNode;
MethodParameters:
Name Flags
val$context final
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=4, locals=6, args_size=2
start local 0 // com.oracle.truffle.js.nodes.promise.PerformPromiseAllNode$1PromiseAllResolveElementRootNode this
start local 1 // com.oracle.truffle.api.frame.VirtualFrame frame
0: .line 161
aload 1 /* frame */
invokestatic com.oracle.truffle.js.runtime.JSFrameUtil.getFunctionObject:(Lcom/oracle/truffle/api/frame/Frame;)Lcom/oracle/truffle/api/object/DynamicObject;
astore 2 /* functionObject */
start local 2 // com.oracle.truffle.api.object.DynamicObject functionObject
1: .line 162
aload 0 /* this */
getfield com.oracle.truffle.js.nodes.promise.PerformPromiseAllNode$1PromiseAllResolveElementRootNode.getArgs:Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
aload 2 /* functionObject */
invokevirtual com.oracle.truffle.js.nodes.access.PropertyGetNode.getValue:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.oracle.truffle.js.nodes.promise.PerformPromiseAllNode$ResolveElementArgs
astore 3 /* args */
start local 3 // com.oracle.truffle.js.nodes.promise.PerformPromiseAllNode$ResolveElementArgs args
2: .line 163
aload 3 /* args */
getfield com.oracle.truffle.js.nodes.promise.PerformPromiseAllNode$ResolveElementArgs.alreadyCalled:Z
ifeq 4
3: .line 164
getstatic com.oracle.truffle.js.runtime.objects.Undefined.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
areturn
4: .line 166
StackMap locals: com.oracle.truffle.api.object.DynamicObject com.oracle.truffle.js.nodes.promise.PerformPromiseAllNode$ResolveElementArgs
StackMap stack:
aload 3 /* args */
iconst_1
putfield com.oracle.truffle.js.nodes.promise.PerformPromiseAllNode$ResolveElementArgs.alreadyCalled:Z
5: .line 167
aload 0 /* this */
getfield com.oracle.truffle.js.nodes.promise.PerformPromiseAllNode$1PromiseAllResolveElementRootNode.valueNode:Lcom/oracle/truffle/js/nodes/JavaScriptNode;
aload 1 /* frame */
invokevirtual com.oracle.truffle.js.nodes.JavaScriptNode.execute:(Lcom/oracle/truffle/api/frame/VirtualFrame;)Ljava/lang/Object;
astore 4 /* value */
start local 4 // java.lang.Object value
6: .line 168
aload 3 /* args */
getfield com.oracle.truffle.js.nodes.promise.PerformPromiseAllNode$ResolveElementArgs.values:Lcom/oracle/truffle/js/runtime/util/SimpleArrayList;
aload 3 /* args */
getfield com.oracle.truffle.js.nodes.promise.PerformPromiseAllNode$ResolveElementArgs.index:I
aload 4 /* value */
invokevirtual com.oracle.truffle.js.runtime.util.SimpleArrayList.set:(ILjava/lang/Object;)V
7: .line 169
aload 3 /* args */
getfield com.oracle.truffle.js.nodes.promise.PerformPromiseAllNode$ResolveElementArgs.remainingElements:Lcom/oracle/truffle/js/nodes/promise/PerformPromiseCombinatorNode$BoxedInt;
dup
getfield com.oracle.truffle.js.nodes.promise.PerformPromiseCombinatorNode$BoxedInt.value:I
iconst_1
isub
putfield com.oracle.truffle.js.nodes.promise.PerformPromiseCombinatorNode$BoxedInt.value:I
8: .line 170
aload 3 /* args */
getfield com.oracle.truffle.js.nodes.promise.PerformPromiseAllNode$ResolveElementArgs.remainingElements:Lcom/oracle/truffle/js/nodes/promise/PerformPromiseCombinatorNode$BoxedInt;
getfield com.oracle.truffle.js.nodes.promise.PerformPromiseCombinatorNode$BoxedInt.value:I
ifne 11
9: .line 171
aload 0 /* this */
getfield com.oracle.truffle.js.nodes.promise.PerformPromiseAllNode$1PromiseAllResolveElementRootNode.val$context:Lcom/oracle/truffle/js/runtime/JSContext;
aload 3 /* args */
getfield com.oracle.truffle.js.nodes.promise.PerformPromiseAllNode$ResolveElementArgs.values:Lcom/oracle/truffle/js/runtime/util/SimpleArrayList;
invokevirtual com.oracle.truffle.js.runtime.util.SimpleArrayList.toArray:()[Ljava/lang/Object;
invokestatic com.oracle.truffle.js.runtime.builtins.JSArray.createConstantObjectArray:(Lcom/oracle/truffle/js/runtime/JSContext;[Ljava/lang/Object;)Lcom/oracle/truffle/api/object/DynamicObject;
astore 5 /* valuesArray */
start local 5 // com.oracle.truffle.api.object.DynamicObject valuesArray
10: .line 172
aload 0 /* this */
getfield com.oracle.truffle.js.nodes.promise.PerformPromiseAllNode$1PromiseAllResolveElementRootNode.callResolve:Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;
getstatic com.oracle.truffle.js.runtime.objects.Undefined.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
aload 3 /* args */
getfield com.oracle.truffle.js.nodes.promise.PerformPromiseAllNode$ResolveElementArgs.capability:Lcom/oracle/truffle/js/runtime/objects/PromiseCapabilityRecord;
invokevirtual com.oracle.truffle.js.runtime.objects.PromiseCapabilityRecord.getResolve:()Ljava/lang/Object;
aload 5 /* valuesArray */
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;
areturn
end local 5 // com.oracle.truffle.api.object.DynamicObject valuesArray
11: .line 174
StackMap locals: java.lang.Object
StackMap stack:
getstatic com.oracle.truffle.js.runtime.objects.Undefined.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
areturn
end local 4 // java.lang.Object value
end local 3 // com.oracle.truffle.js.nodes.promise.PerformPromiseAllNode$ResolveElementArgs args
end local 2 // com.oracle.truffle.api.object.DynamicObject functionObject
end local 1 // com.oracle.truffle.api.frame.VirtualFrame frame
end local 0 // com.oracle.truffle.js.nodes.promise.PerformPromiseAllNode$1PromiseAllResolveElementRootNode this
LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/oracle/truffle/js/nodes/promise/PerformPromiseAllNode$1PromiseAllResolveElementRootNode;
0 12 1 frame Lcom/oracle/truffle/api/frame/VirtualFrame;
1 12 2 functionObject Lcom/oracle/truffle/api/object/DynamicObject;
2 12 3 args Lcom/oracle/truffle/js/nodes/promise/PerformPromiseAllNode$ResolveElementArgs;
6 12 4 value Ljava/lang/Object;
10 11 5 valuesArray Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
frame
public com.oracle.truffle.js.nodes.promise.AsyncHandlerRootNode$AsyncStackTraceInfo getAsyncStackTraceInfo(com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/js/nodes/promise/AsyncHandlerRootNode$AsyncStackTraceInfo;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=2
start local 0 // com.oracle.truffle.js.nodes.promise.PerformPromiseAllNode$1PromiseAllResolveElementRootNode this
start local 1 // com.oracle.truffle.api.object.DynamicObject handlerFunction
0: .line 179
getstatic com.oracle.truffle.js.nodes.promise.PerformPromiseAllNode.$assertionsDisabled:Z
ifne 2
aload 1 /* handlerFunction */
invokestatic com.oracle.truffle.js.runtime.builtins.JSFunction.isJSFunction:(Ljava/lang/Object;)Z
ifeq 1
aload 1 /* handlerFunction */
invokestatic com.oracle.truffle.js.runtime.builtins.JSFunction.getFunctionData:(Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/js/runtime/builtins/JSFunctionData;
invokevirtual com.oracle.truffle.js.runtime.builtins.JSFunctionData.getCallTarget:()Lcom/oracle/truffle/api/CallTarget;
checkcast com.oracle.truffle.api.RootCallTarget
invokeinterface com.oracle.truffle.api.RootCallTarget.getRootNode:()Lcom/oracle/truffle/api/nodes/RootNode;
aload 0 /* this */
if_acmpeq 2
StackMap locals:
StackMap stack:
1: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: .line 180
StackMap locals:
StackMap stack:
aload 1 /* handlerFunction */
getstatic com.oracle.truffle.js.nodes.promise.PerformPromiseAllNode.RESOLVE_ELEMENT_ARGS_KEY:Lcom/oracle/truffle/api/object/HiddenKey;
invokestatic com.oracle.truffle.js.runtime.objects.JSObjectUtil.getHiddenProperty:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.oracle.truffle.js.nodes.promise.PerformPromiseAllNode$ResolveElementArgs
astore 2 /* resolveArgs */
start local 2 // com.oracle.truffle.js.nodes.promise.PerformPromiseAllNode$ResolveElementArgs resolveArgs
3: .line 181
aload 2 /* resolveArgs */
getfield com.oracle.truffle.js.nodes.promise.PerformPromiseAllNode$ResolveElementArgs.index:I
istore 3 /* promiseIndex */
start local 3 // int promiseIndex
4: .line 182
aload 1 /* handlerFunction */
invokestatic com.oracle.truffle.js.runtime.builtins.JSFunction.getRealm:(Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/js/runtime/JSRealm;
astore 4 /* realm */
start local 4 // com.oracle.truffle.js.runtime.JSRealm realm
5: .line 183
iload 3 /* promiseIndex */
aload 4 /* realm */
invokestatic com.oracle.truffle.js.nodes.promise.PerformPromiseAllNode.createPromiseAllStackTraceElement:(ILcom/oracle/truffle/js/runtime/JSRealm;)Lcom/oracle/truffle/api/TruffleStackTraceElement;
astore 5 /* asyncStackTraceElement */
start local 5 // com.oracle.truffle.api.TruffleStackTraceElement asyncStackTraceElement
6: .line 184
aload 2 /* resolveArgs */
getfield com.oracle.truffle.js.nodes.promise.PerformPromiseAllNode$ResolveElementArgs.capability:Lcom/oracle/truffle/js/runtime/objects/PromiseCapabilityRecord;
invokevirtual com.oracle.truffle.js.runtime.objects.PromiseCapabilityRecord.getPromise:()Lcom/oracle/truffle/api/object/DynamicObject;
astore 6 /* resultPromise */
start local 6 // com.oracle.truffle.api.object.DynamicObject resultPromise
7: .line 185
new com.oracle.truffle.js.nodes.promise.AsyncHandlerRootNode$AsyncStackTraceInfo
dup
aload 6 /* resultPromise */
aload 5 /* asyncStackTraceElement */
invokespecial com.oracle.truffle.js.nodes.promise.AsyncHandlerRootNode$AsyncStackTraceInfo.<init>:(Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/api/TruffleStackTraceElement;)V
areturn
end local 6 // com.oracle.truffle.api.object.DynamicObject resultPromise
end local 5 // com.oracle.truffle.api.TruffleStackTraceElement asyncStackTraceElement
end local 4 // com.oracle.truffle.js.runtime.JSRealm realm
end local 3 // int promiseIndex
end local 2 // com.oracle.truffle.js.nodes.promise.PerformPromiseAllNode$ResolveElementArgs resolveArgs
end local 1 // com.oracle.truffle.api.object.DynamicObject handlerFunction
end local 0 // com.oracle.truffle.js.nodes.promise.PerformPromiseAllNode$1PromiseAllResolveElementRootNode this
LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/oracle/truffle/js/nodes/promise/PerformPromiseAllNode$1PromiseAllResolveElementRootNode;
0 8 1 handlerFunction Lcom/oracle/truffle/api/object/DynamicObject;
3 8 2 resolveArgs Lcom/oracle/truffle/js/nodes/promise/PerformPromiseAllNode$ResolveElementArgs;
4 8 3 promiseIndex I
5 8 4 realm Lcom/oracle/truffle/js/runtime/JSRealm;
6 8 5 asyncStackTraceElement Lcom/oracle/truffle/api/TruffleStackTraceElement;
7 8 6 resultPromise Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
handlerFunction
}
SourceFile: "PerformPromiseAllNode.java"
EnclosingMethod: com.oracle.truffle.js.nodes.promise.PerformPromiseAllNode.createResolveElementFunctionImpl:(Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/runtime/builtins/JSFunctionData;
NestHost: com.oracle.truffle.js.nodes.promise.PerformPromiseAllNode
InnerClasses:
public abstract Child = com.oracle.truffle.api.nodes.Node$Child of com.oracle.truffle.api.nodes.Node
public final AsyncStackTraceInfo = com.oracle.truffle.js.nodes.promise.AsyncHandlerRootNode$AsyncStackTraceInfo of com.oracle.truffle.js.nodes.promise.AsyncHandlerRootNode
PromiseAllResolveElementRootNode = com.oracle.truffle.js.nodes.promise.PerformPromiseAllNode$1PromiseAllResolveElementRootNode
public final ResolveElementArgs = com.oracle.truffle.js.nodes.promise.PerformPromiseAllNode$ResolveElementArgs of com.oracle.truffle.js.nodes.promise.PerformPromiseAllNode
protected final BoxedInt = com.oracle.truffle.js.nodes.promise.PerformPromiseCombinatorNode$BoxedInt of com.oracle.truffle.js.nodes.promise.PerformPromiseCombinatorNode