public class com.oracle.truffle.js.nodes.promise.RejectPromiseNode extends com.oracle.truffle.js.nodes.JavaScriptBaseNode
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.truffle.js.nodes.promise.RejectPromiseNode
super_class: com.oracle.truffle.js.nodes.JavaScriptBaseNode
{
private final com.oracle.truffle.js.runtime.JSContext context;
descriptor: Lcom/oracle/truffle/js/runtime/JSContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private com.oracle.truffle.js.nodes.access.PropertyGetNode getPromiseRejectReactions;
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.access.PropertySetNode setPromiseResult;
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.PropertySetNode setPromiseFulfillReactions;
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.PropertySetNode setPromiseRejectReactions;
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 getPromiseIsHandled;
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.promise.TriggerPromiseReactionsNode triggerPromiseReactions;
descriptor: Lcom/oracle/truffle/js/nodes/promise/TriggerPromiseReactionsNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private final com.oracle.truffle.api.profiles.ConditionProfile unhandledProf;
descriptor: Lcom/oracle/truffle/api/profiles/ConditionProfile;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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/nodes/promise/RejectPromiseNode;
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.nodes.promise.RejectPromiseNode.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(com.oracle.truffle.js.runtime.JSContext);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial com.oracle.truffle.js.nodes.JavaScriptBaseNode.<init>:()V
1: aload 0
invokestatic com.oracle.truffle.api.profiles.ConditionProfile.createBinaryProfile:()Lcom/oracle/truffle/api/profiles/ConditionProfile;
putfield com.oracle.truffle.js.nodes.promise.RejectPromiseNode.unhandledProf:Lcom/oracle/truffle/api/profiles/ConditionProfile;
2: aload 0
aload 1
putfield com.oracle.truffle.js.nodes.promise.RejectPromiseNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
3: aload 0
getstatic com.oracle.truffle.js.runtime.builtins.JSPromise.PROMISE_REJECT_REACTIONS: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.RejectPromiseNode.getPromiseRejectReactions:Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
4: aload 0
getstatic com.oracle.truffle.js.runtime.builtins.JSPromise.PROMISE_RESULT: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.promise.RejectPromiseNode.setPromiseResult:Lcom/oracle/truffle/js/nodes/access/PropertySetNode;
5: aload 0
getstatic com.oracle.truffle.js.runtime.builtins.JSPromise.PROMISE_FULFILL_REACTIONS: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.promise.RejectPromiseNode.setPromiseFulfillReactions:Lcom/oracle/truffle/js/nodes/access/PropertySetNode;
6: aload 0
getstatic com.oracle.truffle.js.runtime.builtins.JSPromise.PROMISE_REJECT_REACTIONS: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.promise.RejectPromiseNode.setPromiseRejectReactions:Lcom/oracle/truffle/js/nodes/access/PropertySetNode;
7: aload 0
getstatic com.oracle.truffle.js.runtime.builtins.JSPromise.PROMISE_IS_HANDLED: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.RejectPromiseNode.getPromiseIsHandled:Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
8: aload 0
aload 1
invokestatic com.oracle.truffle.js.nodes.promise.TriggerPromiseReactionsNode.create:(Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/promise/TriggerPromiseReactionsNode;
putfield com.oracle.truffle.js.nodes.promise.RejectPromiseNode.triggerPromiseReactions:Lcom/oracle/truffle/js/nodes/promise/TriggerPromiseReactionsNode;
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/oracle/truffle/js/nodes/promise/RejectPromiseNode;
0 10 1 context Lcom/oracle/truffle/js/runtime/JSContext;
MethodParameters:
Name Flags
context
public static com.oracle.truffle.js.nodes.promise.RejectPromiseNode create(com.oracle.truffle.js.runtime.JSContext);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/promise/RejectPromiseNode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.oracle.truffle.js.nodes.promise.RejectPromiseNode
dup
aload 0
invokespecial com.oracle.truffle.js.nodes.promise.RejectPromiseNode.<init>:(Lcom/oracle/truffle/js/runtime/JSContext;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lcom/oracle/truffle/js/runtime/JSContext;
MethodParameters:
Name Flags
context
public java.lang.Object execute(com.oracle.truffle.api.object.DynamicObject, java.lang.Object);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic com.oracle.truffle.js.nodes.promise.RejectPromiseNode.$assertionsDisabled:Z
ifne 1
aload 1
invokestatic com.oracle.truffle.js.runtime.builtins.JSPromise.isPending:(Lcom/oracle/truffle/api/object/DynamicObject;)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.nodes.promise.RejectPromiseNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
invokevirtual com.oracle.truffle.js.runtime.JSContext.isOptionAsyncStackTraces:()Z
ifeq 3
aload 2
invokestatic com.oracle.truffle.js.runtime.builtins.JSError.isJSError:(Ljava/lang/Object;)Z
ifeq 3
2: aload 2
checkcast com.oracle.truffle.api.object.DynamicObject
invokestatic com.oracle.truffle.js.nodes.promise.RejectPromiseNode.materializeLazyStackTrace:(Lcom/oracle/truffle/api/object/DynamicObject;)V
3: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.nodes.promise.RejectPromiseNode.getPromiseRejectReactions: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 3
start local 3 4: aload 0
getfield com.oracle.truffle.js.nodes.promise.RejectPromiseNode.setPromiseResult:Lcom/oracle/truffle/js/nodes/access/PropertySetNode;
aload 1
aload 2
invokevirtual com.oracle.truffle.js.nodes.access.PropertySetNode.setValue:(Ljava/lang/Object;Ljava/lang/Object;)V
5: aload 0
getfield com.oracle.truffle.js.nodes.promise.RejectPromiseNode.setPromiseFulfillReactions:Lcom/oracle/truffle/js/nodes/access/PropertySetNode;
aload 1
getstatic com.oracle.truffle.js.runtime.objects.Undefined.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
invokevirtual com.oracle.truffle.js.nodes.access.PropertySetNode.setValue:(Ljava/lang/Object;Ljava/lang/Object;)V
6: aload 0
getfield com.oracle.truffle.js.nodes.promise.RejectPromiseNode.setPromiseRejectReactions:Lcom/oracle/truffle/js/nodes/access/PropertySetNode;
aload 1
getstatic com.oracle.truffle.js.runtime.objects.Undefined.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
invokevirtual com.oracle.truffle.js.nodes.access.PropertySetNode.setValue:(Ljava/lang/Object;Ljava/lang/Object;)V
7: aload 1
iconst_2
invokestatic com.oracle.truffle.js.runtime.builtins.JSPromise.setPromiseState:(Lcom/oracle/truffle/api/object/DynamicObject;I)V
8: aload 0
getfield com.oracle.truffle.js.nodes.promise.RejectPromiseNode.unhandledProf:Lcom/oracle/truffle/api/profiles/ConditionProfile;
aload 0
getfield com.oracle.truffle.js.nodes.promise.RejectPromiseNode.getPromiseIsHandled:Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
aload 1
invokevirtual com.oracle.truffle.js.nodes.access.PropertyGetNode.getValue:(Ljava/lang/Object;)Ljava/lang/Object;
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
if_acmpeq 9
iconst_1
goto 10
StackMap locals: com.oracle.truffle.js.nodes.promise.RejectPromiseNode com.oracle.truffle.api.object.DynamicObject java.lang.Object java.lang.Object
StackMap stack: com.oracle.truffle.api.profiles.ConditionProfile
9: iconst_0
StackMap locals: com.oracle.truffle.js.nodes.promise.RejectPromiseNode com.oracle.truffle.api.object.DynamicObject java.lang.Object java.lang.Object
StackMap stack: com.oracle.truffle.api.profiles.ConditionProfile int
10: invokevirtual com.oracle.truffle.api.profiles.ConditionProfile.profile:(Z)Z
ifeq 12
11: aload 0
getfield com.oracle.truffle.js.nodes.promise.RejectPromiseNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
aload 1
iconst_0
aload 2
invokevirtual com.oracle.truffle.js.runtime.JSContext.notifyPromiseRejectionTracker:(Lcom/oracle/truffle/api/object/DynamicObject;ILjava/lang/Object;)V
12: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.nodes.promise.RejectPromiseNode.triggerPromiseReactions:Lcom/oracle/truffle/js/nodes/promise/TriggerPromiseReactionsNode;
aload 3
aload 2
invokevirtual com.oracle.truffle.js.nodes.promise.TriggerPromiseReactionsNode.execute:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/oracle/truffle/js/nodes/promise/RejectPromiseNode;
0 13 1 promise Lcom/oracle/truffle/api/object/DynamicObject;
0 13 2 reason Ljava/lang/Object;
4 13 3 reactions Ljava/lang/Object;
MethodParameters:
Name Flags
promise
reason
private static void materializeLazyStackTrace(com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic com.oracle.truffle.js.nodes.promise.RejectPromiseNode.$assertionsDisabled:Z
ifne 1
aload 0
invokestatic com.oracle.truffle.js.runtime.builtins.JSError.isJSError:(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
invokestatic com.oracle.truffle.js.runtime.builtins.JSError.getException:(Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/js/runtime/GraalJSException;
astore 1
start local 1 2: aload 1
ifnull 4
3: aload 1
invokevirtual com.oracle.truffle.js.runtime.GraalJSException.getJSStackTrace:()[Lcom/oracle/truffle/js/runtime/GraalJSException$JSStackTraceElement;
pop
4: StackMap locals: com.oracle.truffle.js.runtime.GraalJSException
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 error Lcom/oracle/truffle/api/object/DynamicObject;
2 5 1 exception Lcom/oracle/truffle/js/runtime/GraalJSException;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
error
}
SourceFile: "RejectPromiseNode.java"
InnerClasses:
public abstract TruffleBoundary = com.oracle.truffle.api.CompilerDirectives$TruffleBoundary of com.oracle.truffle.api.CompilerDirectives
public abstract Child = com.oracle.truffle.api.nodes.Node$Child of com.oracle.truffle.api.nodes.Node
public final JSStackTraceElement = com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement of com.oracle.truffle.js.runtime.GraalJSException