public abstract class com.oracle.truffle.js.builtins.PromiseFunctionBuiltins$PromiseCombinatorNode 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.PromiseFunctionBuiltins$PromiseCombinatorNode
super_class: com.oracle.truffle.js.nodes.function.JSBuiltinNode
{
private com.oracle.truffle.js.nodes.promise.NewPromiseCapabilityNode newPromiseCapabilityNode;
descriptor: Lcom/oracle/truffle/js/nodes/promise/NewPromiseCapabilityNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private com.oracle.truffle.js.nodes.access.PropertyGetNode getResolve;
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.unary.IsCallableNode isCallable;
descriptor: Lcom/oracle/truffle/js/nodes/unary/IsCallableNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private com.oracle.truffle.js.nodes.access.GetIteratorNode getIteratorNode;
descriptor: Lcom/oracle/truffle/js/nodes/access/GetIteratorNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private com.oracle.truffle.js.nodes.promise.PerformPromiseCombinatorNode performPromiseOpNode;
descriptor: Lcom/oracle/truffle/js/nodes/promise/PerformPromiseCombinatorNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private com.oracle.truffle.js.nodes.function.JSFunctionCallNode callRejectNode;
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.IteratorCloseNode iteratorCloseNode;
descriptor: Lcom/oracle/truffle/js/nodes/access/IteratorCloseNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private com.oracle.truffle.js.nodes.control.TryCatchNode$GetErrorObjectNode getErrorObjectNode;
descriptor: Lcom/oracle/truffle/js/nodes/control/TryCatchNode$GetErrorObjectNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private com.oracle.truffle.api.interop.InteropLibrary exceptions;
descriptor: Lcom/oracle/truffle/api/interop/InteropLibrary;
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/builtins/PromiseFunctionBuiltins;
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.builtins.PromiseFunctionBuiltins$PromiseCombinatorNode.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.js.nodes.function.JSBuiltin, com.oracle.truffle.js.nodes.promise.PerformPromiseCombinatorNode);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/function/JSBuiltin;Lcom/oracle/truffle/js/nodes/promise/PerformPromiseCombinatorNode;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokespecial com.oracle.truffle.js.nodes.function.JSBuiltinNode.<init>:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/function/JSBuiltin;)V
1: aload 0
aload 1
invokestatic com.oracle.truffle.js.nodes.promise.NewPromiseCapabilityNode.create:(Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/promise/NewPromiseCapabilityNode;
putfield com.oracle.truffle.js.builtins.PromiseFunctionBuiltins$PromiseCombinatorNode.newPromiseCapabilityNode:Lcom/oracle/truffle/js/nodes/promise/NewPromiseCapabilityNode;
2: aload 0
ldc "resolve"
aload 1
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.PromiseFunctionBuiltins$PromiseCombinatorNode.getResolve:Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
3: aload 0
invokestatic com.oracle.truffle.js.nodes.unary.IsCallableNode.create:()Lcom/oracle/truffle/js/nodes/unary/IsCallableNode;
putfield com.oracle.truffle.js.builtins.PromiseFunctionBuiltins$PromiseCombinatorNode.isCallable:Lcom/oracle/truffle/js/nodes/unary/IsCallableNode;
4: aload 0
aload 1
invokestatic com.oracle.truffle.js.nodes.access.GetIteratorNode.create:(Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/access/GetIteratorNode;
putfield com.oracle.truffle.js.builtins.PromiseFunctionBuiltins$PromiseCombinatorNode.getIteratorNode:Lcom/oracle/truffle/js/nodes/access/GetIteratorNode;
5: aload 0
aload 3
putfield com.oracle.truffle.js.builtins.PromiseFunctionBuiltins$PromiseCombinatorNode.performPromiseOpNode:Lcom/oracle/truffle/js/nodes/promise/PerformPromiseCombinatorNode;
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/oracle/truffle/js/builtins/PromiseFunctionBuiltins$PromiseCombinatorNode;
0 7 1 context Lcom/oracle/truffle/js/runtime/JSContext;
0 7 2 builtin Lcom/oracle/truffle/js/nodes/function/JSBuiltin;
0 7 3 performPromiseOp Lcom/oracle/truffle/js/nodes/promise/PerformPromiseCombinatorNode;
MethodParameters:
Name Flags
context
builtin
performPromiseOp
protected com.oracle.truffle.api.object.DynamicObject doObject(com.oracle.truffle.api.object.DynamicObject, java.lang.Object);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
astore 3
start local 3 1: aload 0
getfield com.oracle.truffle.js.builtins.PromiseFunctionBuiltins$PromiseCombinatorNode.newPromiseCapabilityNode:Lcom/oracle/truffle/js/nodes/promise/NewPromiseCapabilityNode;
aload 3
invokevirtual com.oracle.truffle.js.nodes.promise.NewPromiseCapabilityNode.execute:(Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/js/runtime/objects/PromiseCapabilityRecord;
astore 4
start local 4 2: aload 0
aload 3
invokevirtual com.oracle.truffle.js.builtins.PromiseFunctionBuiltins$PromiseCombinatorNode.getPromiseResolve:(Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/lang/Object;
astore 5
start local 5 3: aload 0
getfield com.oracle.truffle.js.builtins.PromiseFunctionBuiltins$PromiseCombinatorNode.getIteratorNode:Lcom/oracle/truffle/js/nodes/access/GetIteratorNode;
aload 2
invokevirtual com.oracle.truffle.js.nodes.access.GetIteratorNode.execute:(Ljava/lang/Object;)Lcom/oracle/truffle/js/runtime/objects/IteratorRecord;
astore 6
start local 6 4: goto 9
end local 6 end local 5 StackMap locals: com.oracle.truffle.js.builtins.PromiseFunctionBuiltins$PromiseCombinatorNode com.oracle.truffle.api.object.DynamicObject java.lang.Object com.oracle.truffle.api.object.DynamicObject com.oracle.truffle.js.runtime.objects.PromiseCapabilityRecord
StackMap stack: java.lang.Throwable
5: astore 7
start local 7 6: aload 0
aload 7
invokevirtual com.oracle.truffle.js.builtins.PromiseFunctionBuiltins$PromiseCombinatorNode.shouldCatch:(Ljava/lang/Throwable;)Z
ifeq 8
7: aload 0
aload 0
getfield com.oracle.truffle.js.builtins.PromiseFunctionBuiltins$PromiseCombinatorNode.getErrorObjectNode:Lcom/oracle/truffle/js/nodes/control/TryCatchNode$GetErrorObjectNode;
aload 7
invokevirtual com.oracle.truffle.js.nodes.control.TryCatchNode$GetErrorObjectNode.execute:(Ljava/lang/Throwable;)Ljava/lang/Object;
aload 4
invokevirtual com.oracle.truffle.js.builtins.PromiseFunctionBuiltins$PromiseCombinatorNode.rejectPromise:(Ljava/lang/Object;Lcom/oracle/truffle/js/runtime/objects/PromiseCapabilityRecord;)Lcom/oracle/truffle/api/object/DynamicObject;
areturn
8: StackMap locals: com.oracle.truffle.js.builtins.PromiseFunctionBuiltins$PromiseCombinatorNode com.oracle.truffle.api.object.DynamicObject java.lang.Object com.oracle.truffle.api.object.DynamicObject com.oracle.truffle.js.runtime.objects.PromiseCapabilityRecord top top java.lang.Throwable
StackMap stack:
aload 7
athrow
end local 7 start local 5 start local 6 9: StackMap locals: com.oracle.truffle.js.builtins.PromiseFunctionBuiltins$PromiseCombinatorNode com.oracle.truffle.api.object.DynamicObject java.lang.Object com.oracle.truffle.api.object.DynamicObject com.oracle.truffle.js.runtime.objects.PromiseCapabilityRecord java.lang.Object com.oracle.truffle.js.runtime.objects.IteratorRecord
StackMap stack:
aload 0
getfield com.oracle.truffle.js.builtins.PromiseFunctionBuiltins$PromiseCombinatorNode.performPromiseOpNode:Lcom/oracle/truffle/js/nodes/promise/PerformPromiseCombinatorNode;
aload 6
aload 3
aload 4
aload 5
invokevirtual com.oracle.truffle.js.nodes.promise.PerformPromiseCombinatorNode.execute:(Lcom/oracle/truffle/js/runtime/objects/IteratorRecord;Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/js/runtime/objects/PromiseCapabilityRecord;Ljava/lang/Object;)Lcom/oracle/truffle/api/object/DynamicObject;
10: areturn
11: StackMap locals:
StackMap stack: java.lang.Throwable
astore 7
start local 7 12: aload 0
aload 7
invokevirtual com.oracle.truffle.js.builtins.PromiseFunctionBuiltins$PromiseCombinatorNode.shouldCatch:(Ljava/lang/Throwable;)Z
ifeq 16
13: aload 6
invokevirtual com.oracle.truffle.js.runtime.objects.IteratorRecord.isDone:()Z
ifne 15
14: aload 0
aload 6
invokevirtual com.oracle.truffle.js.builtins.PromiseFunctionBuiltins$PromiseCombinatorNode.iteratorClose:(Lcom/oracle/truffle/js/runtime/objects/IteratorRecord;)V
15: StackMap locals: java.lang.Throwable
StackMap stack:
aload 0
aload 0
getfield com.oracle.truffle.js.builtins.PromiseFunctionBuiltins$PromiseCombinatorNode.getErrorObjectNode:Lcom/oracle/truffle/js/nodes/control/TryCatchNode$GetErrorObjectNode;
aload 7
invokevirtual com.oracle.truffle.js.nodes.control.TryCatchNode$GetErrorObjectNode.execute:(Ljava/lang/Throwable;)Ljava/lang/Object;
aload 4
invokevirtual com.oracle.truffle.js.builtins.PromiseFunctionBuiltins$PromiseCombinatorNode.rejectPromise:(Ljava/lang/Object;Lcom/oracle/truffle/js/runtime/objects/PromiseCapabilityRecord;)Lcom/oracle/truffle/api/object/DynamicObject;
areturn
16: StackMap locals:
StackMap stack:
aload 7
athrow
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 17 0 this Lcom/oracle/truffle/js/builtins/PromiseFunctionBuiltins$PromiseCombinatorNode;
0 17 1 thisObj Lcom/oracle/truffle/api/object/DynamicObject;
0 17 2 iterable Ljava/lang/Object;
1 17 3 constructor Lcom/oracle/truffle/api/object/DynamicObject;
2 17 4 promiseCapability Lcom/oracle/truffle/js/runtime/objects/PromiseCapabilityRecord;
3 5 5 promiseResolve Ljava/lang/Object;
9 17 5 promiseResolve Ljava/lang/Object;
4 5 6 iteratorRecord Lcom/oracle/truffle/js/runtime/objects/IteratorRecord;
9 17 6 iteratorRecord Lcom/oracle/truffle/js/runtime/objects/IteratorRecord;
6 9 7 ex Ljava/lang/Throwable;
12 17 7 ex Ljava/lang/Throwable;
Exception table:
from to target type
2 4 5 Class java.lang.Throwable
9 10 11 Class java.lang.Throwable
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"isJSObject(thisObj)"})
MethodParameters:
Name Flags
thisObj
iterable
private java.lang.Object getPromiseResolve(com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: getstatic com.oracle.truffle.js.builtins.PromiseFunctionBuiltins$PromiseCombinatorNode.$assertionsDisabled:Z
ifne 1
aload 1
invokestatic com.oracle.truffle.js.runtime.JSRuntime.isConstructor:(Ljava/lang/Object;)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.builtins.PromiseFunctionBuiltins$PromiseCombinatorNode.getResolve:Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
aload 1
invokevirtual com.oracle.truffle.js.nodes.access.PropertyGetNode.getValue:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 2: aload 0
getfield com.oracle.truffle.js.builtins.PromiseFunctionBuiltins$PromiseCombinatorNode.isCallable:Lcom/oracle/truffle/js/nodes/unary/IsCallableNode;
aload 2
invokevirtual com.oracle.truffle.js.nodes.unary.IsCallableNode.executeBoolean:(Ljava/lang/Object;)Z
ifne 4
3: aload 2
invokestatic com.oracle.truffle.js.runtime.Errors.createTypeErrorNotAFunction:(Ljava/lang/Object;)Lcom/oracle/truffle/js/runtime/JSException;
athrow
4: StackMap locals: java.lang.Object
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/truffle/js/builtins/PromiseFunctionBuiltins$PromiseCombinatorNode;
0 5 1 constructor Lcom/oracle/truffle/api/object/DynamicObject;
2 5 2 promiseResolve Ljava/lang/Object;
MethodParameters:
Name Flags
constructor
protected com.oracle.truffle.api.object.DynamicObject rejectPromise(java.lang.Object, com.oracle.truffle.js.runtime.objects.PromiseCapabilityRecord);
descriptor: (Ljava/lang/Object;Lcom/oracle/truffle/js/runtime/objects/PromiseCapabilityRecord;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.oracle.truffle.js.builtins.PromiseFunctionBuiltins$PromiseCombinatorNode.callRejectNode:Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;
ifnonnull 3
1: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
2: aload 0
aload 0
invokestatic com.oracle.truffle.js.nodes.function.JSFunctionCallNode.createCall:()Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;
invokevirtual com.oracle.truffle.js.builtins.PromiseFunctionBuiltins$PromiseCombinatorNode.insert:(Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/api/nodes/Node;
checkcast com.oracle.truffle.js.nodes.function.JSFunctionCallNode
putfield com.oracle.truffle.js.builtins.PromiseFunctionBuiltins$PromiseCombinatorNode.callRejectNode:Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;
3: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.builtins.PromiseFunctionBuiltins$PromiseCombinatorNode.callRejectNode:Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;
getstatic com.oracle.truffle.js.runtime.objects.Undefined.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
aload 2
invokevirtual com.oracle.truffle.js.runtime.objects.PromiseCapabilityRecord.getReject:()Ljava/lang/Object;
aload 1
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
4: aload 2
invokevirtual com.oracle.truffle.js.runtime.objects.PromiseCapabilityRecord.getPromise:()Lcom/oracle/truffle/api/object/DynamicObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/truffle/js/builtins/PromiseFunctionBuiltins$PromiseCombinatorNode;
0 5 1 value Ljava/lang/Object;
0 5 2 promiseCapability Lcom/oracle/truffle/js/runtime/objects/PromiseCapabilityRecord;
MethodParameters:
Name Flags
value
promiseCapability
private void iteratorClose(com.oracle.truffle.js.runtime.objects.IteratorRecord);
descriptor: (Lcom/oracle/truffle/js/runtime/objects/IteratorRecord;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.builtins.PromiseFunctionBuiltins$PromiseCombinatorNode.iteratorCloseNode:Lcom/oracle/truffle/js/nodes/access/IteratorCloseNode;
ifnonnull 3
1: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
2: aload 0
aload 0
aload 0
invokevirtual com.oracle.truffle.js.builtins.PromiseFunctionBuiltins$PromiseCombinatorNode.getContext:()Lcom/oracle/truffle/js/runtime/JSContext;
invokestatic com.oracle.truffle.js.nodes.access.IteratorCloseNode.create:(Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/access/IteratorCloseNode;
invokevirtual com.oracle.truffle.js.builtins.PromiseFunctionBuiltins$PromiseCombinatorNode.insert:(Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/api/nodes/Node;
checkcast com.oracle.truffle.js.nodes.access.IteratorCloseNode
putfield com.oracle.truffle.js.builtins.PromiseFunctionBuiltins$PromiseCombinatorNode.iteratorCloseNode:Lcom/oracle/truffle/js/nodes/access/IteratorCloseNode;
3: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.builtins.PromiseFunctionBuiltins$PromiseCombinatorNode.iteratorCloseNode:Lcom/oracle/truffle/js/nodes/access/IteratorCloseNode;
aload 1
invokevirtual com.oracle.truffle.js.runtime.objects.IteratorRecord.getIterator:()Lcom/oracle/truffle/api/object/DynamicObject;
invokevirtual com.oracle.truffle.js.nodes.access.IteratorCloseNode.executeAbrupt:(Lcom/oracle/truffle/api/object/DynamicObject;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/truffle/js/builtins/PromiseFunctionBuiltins$PromiseCombinatorNode;
0 5 1 iteratorRecord Lcom/oracle/truffle/js/runtime/objects/IteratorRecord;
MethodParameters:
Name Flags
iteratorRecord
private boolean shouldCatch(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.builtins.PromiseFunctionBuiltins$PromiseCombinatorNode.getErrorObjectNode:Lcom/oracle/truffle/js/nodes/control/TryCatchNode$GetErrorObjectNode;
ifnull 1
aload 0
getfield com.oracle.truffle.js.builtins.PromiseFunctionBuiltins$PromiseCombinatorNode.exceptions:Lcom/oracle/truffle/api/interop/InteropLibrary;
ifnonnull 4
1: StackMap locals:
StackMap stack:
invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
2: aload 0
aload 0
aload 0
invokevirtual com.oracle.truffle.js.builtins.PromiseFunctionBuiltins$PromiseCombinatorNode.getContext:()Lcom/oracle/truffle/js/runtime/JSContext;
invokestatic com.oracle.truffle.js.nodes.control.TryCatchNode$GetErrorObjectNode.create:(Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/control/TryCatchNode$GetErrorObjectNode;
invokevirtual com.oracle.truffle.js.builtins.PromiseFunctionBuiltins$PromiseCombinatorNode.insert:(Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/api/nodes/Node;
checkcast com.oracle.truffle.js.nodes.control.TryCatchNode$GetErrorObjectNode
putfield com.oracle.truffle.js.builtins.PromiseFunctionBuiltins$PromiseCombinatorNode.getErrorObjectNode:Lcom/oracle/truffle/js/nodes/control/TryCatchNode$GetErrorObjectNode;
3: aload 0
aload 0
invokestatic com.oracle.truffle.api.interop.InteropLibrary.getFactory:()Lcom/oracle/truffle/api/library/LibraryFactory;
iconst_5
invokevirtual com.oracle.truffle.api.library.LibraryFactory.createDispatched:(I)Lcom/oracle/truffle/api/library/Library;
checkcast com.oracle.truffle.api.interop.InteropLibrary
invokevirtual com.oracle.truffle.js.builtins.PromiseFunctionBuiltins$PromiseCombinatorNode.insert:(Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/api/nodes/Node;
checkcast com.oracle.truffle.api.interop.InteropLibrary
putfield com.oracle.truffle.js.builtins.PromiseFunctionBuiltins$PromiseCombinatorNode.exceptions:Lcom/oracle/truffle/api/interop/InteropLibrary;
4: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield com.oracle.truffle.js.builtins.PromiseFunctionBuiltins$PromiseCombinatorNode.exceptions:Lcom/oracle/truffle/api/interop/InteropLibrary;
invokestatic com.oracle.truffle.js.nodes.control.TryCatchNode.shouldCatch:(Ljava/lang/Throwable;Lcom/oracle/truffle/api/interop/InteropLibrary;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/truffle/js/builtins/PromiseFunctionBuiltins$PromiseCombinatorNode;
0 5 1 exception Ljava/lang/Throwable;
MethodParameters:
Name Flags
exception
protected com.oracle.truffle.api.object.DynamicObject doNotObject(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: ldc "Cannot create promise from this type"
invokestatic com.oracle.truffle.js.runtime.Errors.createTypeError:(Ljava/lang/String;)Lcom/oracle/truffle/js/runtime/JSException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/builtins/PromiseFunctionBuiltins$PromiseCombinatorNode;
0 1 1 thisObj Ljava/lang/Object;
0 1 2 iterable Ljava/lang/Object;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"!isJSObject(thisObj)"})
MethodParameters:
Name Flags
thisObj
iterable
}
SourceFile: "PromiseFunctionBuiltins.java"
NestHost: com.oracle.truffle.js.builtins.PromiseFunctionBuiltins
InnerClasses:
public abstract Child = com.oracle.truffle.api.nodes.Node$Child of com.oracle.truffle.api.nodes.Node
public abstract PromiseCombinatorNode = com.oracle.truffle.js.builtins.PromiseFunctionBuiltins$PromiseCombinatorNode of com.oracle.truffle.js.builtins.PromiseFunctionBuiltins
public final GetErrorObjectNode = com.oracle.truffle.js.nodes.control.TryCatchNode$GetErrorObjectNode of com.oracle.truffle.js.nodes.control.TryCatchNode