class com.oracle.truffle.js.nodes.promise.PerformPromiseAnyNode$1PromiseAnyRejectElementRootNode extends com.oracle.truffle.js.runtime.JavaScriptRootNode
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.oracle.truffle.js.nodes.promise.PerformPromiseAnyNode$1PromiseAnyRejectElementRootNode
super_class: com.oracle.truffle.js.runtime.JavaScriptRootNode
{
private com.oracle.truffle.js.nodes.JavaScriptNode errorNode;
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 callReject;
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.access.ErrorStackTraceLimitNode stackTraceLimitNode;
descriptor: Lcom/oracle/truffle/js/nodes/access/ErrorStackTraceLimitNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private com.oracle.truffle.js.nodes.access.InitErrorObjectNode initErrorObjectNode;
descriptor: Lcom/oracle/truffle/js/nodes/access/InitErrorObjectNode;
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.PerformPromiseAnyNode$1PromiseAnyRejectElementRootNode this
0: .line 153
aload 0 /* this */
aload 1
putfield com.oracle.truffle.js.nodes.promise.PerformPromiseAnyNode$1PromiseAnyRejectElementRootNode.val$context:Lcom/oracle/truffle/js/runtime/JSContext;
aload 0 /* this */
invokespecial com.oracle.truffle.js.runtime.JavaScriptRootNode.<init>:()V
1: .line 154
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.PerformPromiseAnyNode$1PromiseAnyRejectElementRootNode.errorNode:Lcom/oracle/truffle/js/nodes/JavaScriptNode;
2: .line 155
aload 0 /* this */
getstatic com.oracle.truffle.js.nodes.promise.PerformPromiseAnyNode.REJECT_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.PerformPromiseAnyNode$1PromiseAnyRejectElementRootNode.getArgs:Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
3: .line 156
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.PerformPromiseAnyNode$1PromiseAnyRejectElementRootNode.callReject:Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;
4: .line 157
aload 0 /* this */
aload 1
invokestatic com.oracle.truffle.js.nodes.access.ErrorStackTraceLimitNode.create:(Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/access/ErrorStackTraceLimitNode;
putfield com.oracle.truffle.js.nodes.promise.PerformPromiseAnyNode$1PromiseAnyRejectElementRootNode.stackTraceLimitNode:Lcom/oracle/truffle/js/nodes/access/ErrorStackTraceLimitNode;
5: .line 158
aload 0 /* this */
aload 1
invokestatic com.oracle.truffle.js.nodes.access.InitErrorObjectNode.create:(Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/access/InitErrorObjectNode;
putfield com.oracle.truffle.js.nodes.promise.PerformPromiseAnyNode$1PromiseAnyRejectElementRootNode.initErrorObjectNode:Lcom/oracle/truffle/js/nodes/access/InitErrorObjectNode;
6: .line 153
return
end local 0 // com.oracle.truffle.js.nodes.promise.PerformPromiseAnyNode$1PromiseAnyRejectElementRootNode this
LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/oracle/truffle/js/nodes/promise/PerformPromiseAnyNode$1PromiseAnyRejectElementRootNode;
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.PerformPromiseAnyNode$1PromiseAnyRejectElementRootNode this
start local 1 // com.oracle.truffle.api.frame.VirtualFrame frame
0: .line 162
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 163
aload 0 /* this */
getfield com.oracle.truffle.js.nodes.promise.PerformPromiseAnyNode$1PromiseAnyRejectElementRootNode.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.PerformPromiseAnyNode$RejectElementArgs
astore 3 /* args */
start local 3 // com.oracle.truffle.js.nodes.promise.PerformPromiseAnyNode$RejectElementArgs args
2: .line 164
aload 3 /* args */
getfield com.oracle.truffle.js.nodes.promise.PerformPromiseAnyNode$RejectElementArgs.alreadyCalled:Z
ifeq 4
3: .line 165
getstatic com.oracle.truffle.js.runtime.objects.Undefined.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
areturn
4: .line 167
StackMap locals: com.oracle.truffle.api.object.DynamicObject com.oracle.truffle.js.nodes.promise.PerformPromiseAnyNode$RejectElementArgs
StackMap stack:
aload 3 /* args */
iconst_1
putfield com.oracle.truffle.js.nodes.promise.PerformPromiseAnyNode$RejectElementArgs.alreadyCalled:Z
5: .line 168
aload 0 /* this */
getfield com.oracle.truffle.js.nodes.promise.PerformPromiseAnyNode$1PromiseAnyRejectElementRootNode.errorNode: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 /* error */
start local 4 // java.lang.Object error
6: .line 169
aload 3 /* args */
getfield com.oracle.truffle.js.nodes.promise.PerformPromiseAnyNode$RejectElementArgs.errors:Lcom/oracle/truffle/js/runtime/util/SimpleArrayList;
aload 3 /* args */
getfield com.oracle.truffle.js.nodes.promise.PerformPromiseAnyNode$RejectElementArgs.index:I
aload 4 /* error */
invokevirtual com.oracle.truffle.js.runtime.util.SimpleArrayList.set:(ILjava/lang/Object;)V
7: .line 170
aload 3 /* args */
getfield com.oracle.truffle.js.nodes.promise.PerformPromiseAnyNode$RejectElementArgs.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 171
aload 3 /* args */
getfield com.oracle.truffle.js.nodes.promise.PerformPromiseAnyNode$RejectElementArgs.remainingElements:Lcom/oracle/truffle/js/nodes/promise/PerformPromiseCombinatorNode$BoxedInt;
getfield com.oracle.truffle.js.nodes.promise.PerformPromiseCombinatorNode$BoxedInt.value:I
ifne 11
9: .line 172
aload 0 /* this */
aload 3 /* args */
getfield com.oracle.truffle.js.nodes.promise.PerformPromiseAnyNode$RejectElementArgs.errors:Lcom/oracle/truffle/js/runtime/util/SimpleArrayList;
invokevirtual com.oracle.truffle.js.runtime.util.SimpleArrayList.toArray:()[Ljava/lang/Object;
invokevirtual com.oracle.truffle.js.nodes.promise.PerformPromiseAnyNode$1PromiseAnyRejectElementRootNode.createAggregateError:([Ljava/lang/Object;)Lcom/oracle/truffle/api/object/DynamicObject;
astore 5 /* aggregateErrorObject */
start local 5 // com.oracle.truffle.api.object.DynamicObject aggregateErrorObject
10: .line 173
aload 0 /* this */
getfield com.oracle.truffle.js.nodes.promise.PerformPromiseAnyNode$1PromiseAnyRejectElementRootNode.callReject: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.PerformPromiseAnyNode$RejectElementArgs.capability:Lcom/oracle/truffle/js/runtime/objects/PromiseCapabilityRecord;
invokevirtual com.oracle.truffle.js.runtime.objects.PromiseCapabilityRecord.getReject:()Ljava/lang/Object;
aload 5 /* aggregateErrorObject */
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 aggregateErrorObject
11: .line 175
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 error
end local 3 // com.oracle.truffle.js.nodes.promise.PerformPromiseAnyNode$RejectElementArgs 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.PerformPromiseAnyNode$1PromiseAnyRejectElementRootNode this
LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/oracle/truffle/js/nodes/promise/PerformPromiseAnyNode$1PromiseAnyRejectElementRootNode;
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/PerformPromiseAnyNode$RejectElementArgs;
6 12 4 error Ljava/lang/Object;
10 11 5 aggregateErrorObject Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
frame
private com.oracle.truffle.api.object.DynamicObject createAggregateError(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=9, args_size=2
start local 0 // com.oracle.truffle.js.nodes.promise.PerformPromiseAnyNode$1PromiseAnyRejectElementRootNode this
start local 1 // java.lang.Object[] errors
0: .line 179
aload 0 /* this */
getfield com.oracle.truffle.js.nodes.promise.PerformPromiseAnyNode$1PromiseAnyRejectElementRootNode.stackTraceLimitNode:Lcom/oracle/truffle/js/nodes/access/ErrorStackTraceLimitNode;
invokevirtual com.oracle.truffle.js.nodes.access.ErrorStackTraceLimitNode.executeInt:()I
istore 2 /* stackTraceLimit */
start local 2 // int stackTraceLimit
1: .line 180
aload 0 /* this */
getfield com.oracle.truffle.js.nodes.promise.PerformPromiseAnyNode$1PromiseAnyRejectElementRootNode.val$context:Lcom/oracle/truffle/js/runtime/JSContext;
invokevirtual com.oracle.truffle.js.runtime.JSContext.getRealm:()Lcom/oracle/truffle/js/runtime/JSRealm;
astore 3 /* realm */
start local 3 // com.oracle.truffle.js.runtime.JSRealm realm
2: .line 181
aload 0 /* this */
getfield com.oracle.truffle.js.nodes.promise.PerformPromiseAnyNode$1PromiseAnyRejectElementRootNode.val$context:Lcom/oracle/truffle/js/runtime/JSContext;
aload 1 /* errors */
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 4 /* errorsArray */
start local 4 // com.oracle.truffle.api.object.DynamicObject errorsArray
3: .line 182
aload 0 /* this */
getfield com.oracle.truffle.js.nodes.promise.PerformPromiseAnyNode$1PromiseAnyRejectElementRootNode.val$context:Lcom/oracle/truffle/js/runtime/JSContext;
aload 3 /* realm */
getstatic com.oracle.truffle.js.runtime.JSErrorType.AggregateError:Lcom/oracle/truffle/js/runtime/JSErrorType;
invokestatic com.oracle.truffle.js.runtime.builtins.JSError.createErrorObject:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/runtime/JSRealm;Lcom/oracle/truffle/js/runtime/JSErrorType;)Lcom/oracle/truffle/api/object/DynamicObject;
astore 5 /* aggregateErrorObject */
start local 5 // com.oracle.truffle.api.object.DynamicObject aggregateErrorObject
4: .line 183
aconst_null
astore 6 /* message */
start local 6 // java.lang.String message
5: .line 184
aload 3 /* realm */
getstatic com.oracle.truffle.js.runtime.JSErrorType.AggregateError:Lcom/oracle/truffle/js/runtime/JSErrorType;
invokevirtual com.oracle.truffle.js.runtime.JSRealm.getErrorConstructor:(Lcom/oracle/truffle/js/runtime/JSErrorType;)Lcom/oracle/truffle/api/object/DynamicObject;
astore 7 /* errorFunction */
start local 7 // com.oracle.truffle.api.object.DynamicObject errorFunction
6: .line 185
getstatic com.oracle.truffle.js.runtime.JSErrorType.AggregateError:Lcom/oracle/truffle/js/runtime/JSErrorType;
aload 6 /* message */
aload 5 /* aggregateErrorObject */
aload 3 /* realm */
iload 2 /* stackTraceLimit */
aload 7 /* errorFunction */
invokestatic com.oracle.truffle.js.runtime.JSException.createCapture:(Lcom/oracle/truffle/js/runtime/JSErrorType;Ljava/lang/String;Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/js/runtime/JSRealm;ILcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/js/runtime/JSException;
astore 8 /* exception */
start local 8 // com.oracle.truffle.js.runtime.GraalJSException exception
7: .line 186
aload 0 /* this */
getfield com.oracle.truffle.js.nodes.promise.PerformPromiseAnyNode$1PromiseAnyRejectElementRootNode.initErrorObjectNode:Lcom/oracle/truffle/js/nodes/access/InitErrorObjectNode;
aload 5 /* aggregateErrorObject */
aload 8 /* exception */
aload 6 /* message */
aload 4 /* errorsArray */
invokevirtual com.oracle.truffle.js.nodes.access.InitErrorObjectNode.execute:(Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/js/runtime/GraalJSException;Ljava/lang/String;Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/DynamicObject;
pop
8: .line 187
aload 5 /* aggregateErrorObject */
areturn
end local 8 // com.oracle.truffle.js.runtime.GraalJSException exception
end local 7 // com.oracle.truffle.api.object.DynamicObject errorFunction
end local 6 // java.lang.String message
end local 5 // com.oracle.truffle.api.object.DynamicObject aggregateErrorObject
end local 4 // com.oracle.truffle.api.object.DynamicObject errorsArray
end local 3 // com.oracle.truffle.js.runtime.JSRealm realm
end local 2 // int stackTraceLimit
end local 1 // java.lang.Object[] errors
end local 0 // com.oracle.truffle.js.nodes.promise.PerformPromiseAnyNode$1PromiseAnyRejectElementRootNode this
LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/oracle/truffle/js/nodes/promise/PerformPromiseAnyNode$1PromiseAnyRejectElementRootNode;
0 9 1 errors [Ljava/lang/Object;
1 9 2 stackTraceLimit I
2 9 3 realm Lcom/oracle/truffle/js/runtime/JSRealm;
3 9 4 errorsArray Lcom/oracle/truffle/api/object/DynamicObject;
4 9 5 aggregateErrorObject Lcom/oracle/truffle/api/object/DynamicObject;
5 9 6 message Ljava/lang/String;
6 9 7 errorFunction Lcom/oracle/truffle/api/object/DynamicObject;
7 9 8 exception Lcom/oracle/truffle/js/runtime/GraalJSException;
MethodParameters:
Name Flags
errors
}
SourceFile: "PerformPromiseAnyNode.java"
EnclosingMethod: com.oracle.truffle.js.nodes.promise.PerformPromiseAnyNode.createRejectElementFunctionImpl:(Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/runtime/builtins/JSFunctionData;
NestHost: com.oracle.truffle.js.nodes.promise.PerformPromiseAnyNode
InnerClasses:
public abstract Child = com.oracle.truffle.api.nodes.Node$Child of com.oracle.truffle.api.nodes.Node
PromiseAnyRejectElementRootNode = com.oracle.truffle.js.nodes.promise.PerformPromiseAnyNode$1PromiseAnyRejectElementRootNode
protected final RejectElementArgs = com.oracle.truffle.js.nodes.promise.PerformPromiseAnyNode$RejectElementArgs of com.oracle.truffle.js.nodes.promise.PerformPromiseAnyNode
protected final BoxedInt = com.oracle.truffle.js.nodes.promise.PerformPromiseCombinatorNode$BoxedInt of com.oracle.truffle.js.nodes.promise.PerformPromiseCombinatorNode