class com.oracle.truffle.js.nodes.promise.CreateResolvingFunctionNode$1PromiseRejectRootNode 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.CreateResolvingFunctionNode$1PromiseRejectRootNode
super_class: com.oracle.truffle.js.runtime.JavaScriptRootNode
{
private com.oracle.truffle.js.nodes.JavaScriptNode reasonNode;
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 getPromiseNode;
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.PropertyGetNode getAlreadyResolvedNode;
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.RejectPromiseNode rejectPromiseNode;
descriptor: Lcom/oracle/truffle/js/nodes/promise/RejectPromiseNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private final com.oracle.truffle.api.profiles.ConditionProfile alreadyResolvedProfile;
descriptor: Lcom/oracle/truffle/api/profiles/ConditionProfile;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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 0: aload 0
aload 1
putfield com.oracle.truffle.js.nodes.promise.CreateResolvingFunctionNode$1PromiseRejectRootNode.val$context:Lcom/oracle/truffle/js/runtime/JSContext;
aload 0
invokespecial com.oracle.truffle.js.runtime.JavaScriptRootNode.<init>:()V
1: aload 0
getstatic com.oracle.truffle.js.nodes.promise.CreateResolvingFunctionNode.ALREADY_RESOLVED_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.CreateResolvingFunctionNode$1PromiseRejectRootNode.getAlreadyResolvedNode:Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
2: aload 0
invokestatic com.oracle.truffle.api.profiles.ConditionProfile.createBinaryProfile:()Lcom/oracle/truffle/api/profiles/ConditionProfile;
putfield com.oracle.truffle.js.nodes.promise.CreateResolvingFunctionNode$1PromiseRejectRootNode.alreadyResolvedProfile:Lcom/oracle/truffle/api/profiles/ConditionProfile;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/nodes/promise/CreateResolvingFunctionNode$1PromiseRejectRootNode;
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 start local 1 0: aload 0
invokevirtual com.oracle.truffle.js.nodes.promise.CreateResolvingFunctionNode$1PromiseRejectRootNode.init:()V
1: aload 1
invokestatic com.oracle.truffle.js.runtime.JSFrameUtil.getFunctionObject:(Lcom/oracle/truffle/api/frame/Frame;)Lcom/oracle/truffle/api/object/DynamicObject;
astore 2
start local 2 2: aload 0
getfield com.oracle.truffle.js.nodes.promise.CreateResolvingFunctionNode$1PromiseRejectRootNode.getPromiseNode:Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
aload 2
invokevirtual com.oracle.truffle.js.nodes.access.PropertyGetNode.getValue:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.oracle.truffle.api.object.DynamicObject
astore 3
start local 3 3: aload 0
getfield com.oracle.truffle.js.nodes.promise.CreateResolvingFunctionNode$1PromiseRejectRootNode.reasonNode:Lcom/oracle/truffle/js/nodes/JavaScriptNode;
aload 1
invokevirtual com.oracle.truffle.js.nodes.JavaScriptNode.execute:(Lcom/oracle/truffle/api/frame/VirtualFrame;)Ljava/lang/Object;
astore 4
start local 4 4: aload 0
getfield com.oracle.truffle.js.nodes.promise.CreateResolvingFunctionNode$1PromiseRejectRootNode.getAlreadyResolvedNode:Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
aload 2
invokevirtual com.oracle.truffle.js.nodes.access.PropertyGetNode.getValue:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.oracle.truffle.js.nodes.promise.CreateResolvingFunctionNode$AlreadyResolved
astore 5
start local 5 5: aload 0
getfield com.oracle.truffle.js.nodes.promise.CreateResolvingFunctionNode$1PromiseRejectRootNode.alreadyResolvedProfile:Lcom/oracle/truffle/api/profiles/ConditionProfile;
aload 5
getfield com.oracle.truffle.js.nodes.promise.CreateResolvingFunctionNode$AlreadyResolved.value:Z
invokevirtual com.oracle.truffle.api.profiles.ConditionProfile.profile:(Z)Z
ifeq 8
6: aload 0
getfield com.oracle.truffle.js.nodes.promise.CreateResolvingFunctionNode$1PromiseRejectRootNode.val$context:Lcom/oracle/truffle/js/runtime/JSContext;
aload 3
iconst_2
aload 4
invokevirtual com.oracle.truffle.js.runtime.JSContext.notifyPromiseRejectionTracker:(Lcom/oracle/truffle/api/object/DynamicObject;ILjava/lang/Object;)V
7: getstatic com.oracle.truffle.js.runtime.objects.Undefined.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
areturn
8: StackMap locals: com.oracle.truffle.js.nodes.promise.CreateResolvingFunctionNode$1PromiseRejectRootNode com.oracle.truffle.api.frame.VirtualFrame com.oracle.truffle.api.object.DynamicObject com.oracle.truffle.api.object.DynamicObject java.lang.Object com.oracle.truffle.js.nodes.promise.CreateResolvingFunctionNode$AlreadyResolved
StackMap stack:
aload 5
iconst_1
putfield com.oracle.truffle.js.nodes.promise.CreateResolvingFunctionNode$AlreadyResolved.value:Z
9: aload 0
getfield com.oracle.truffle.js.nodes.promise.CreateResolvingFunctionNode$1PromiseRejectRootNode.rejectPromiseNode:Lcom/oracle/truffle/js/nodes/promise/RejectPromiseNode;
aload 3
aload 4
invokevirtual com.oracle.truffle.js.nodes.promise.RejectPromiseNode.execute:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;)Ljava/lang/Object;
areturn
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 10 0 this Lcom/oracle/truffle/js/nodes/promise/CreateResolvingFunctionNode$1PromiseRejectRootNode;
0 10 1 frame Lcom/oracle/truffle/api/frame/VirtualFrame;
2 10 2 functionObject Lcom/oracle/truffle/api/object/DynamicObject;
3 10 3 promise Lcom/oracle/truffle/api/object/DynamicObject;
4 10 4 reason Ljava/lang/Object;
5 10 5 alreadyResolved Lcom/oracle/truffle/js/nodes/promise/CreateResolvingFunctionNode$AlreadyResolved;
MethodParameters:
Name Flags
frame
public void init();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.nodes.promise.CreateResolvingFunctionNode$1PromiseRejectRootNode.reasonNode:Lcom/oracle/truffle/js/nodes/JavaScriptNode;
ifnull 1
aload 0
getfield com.oracle.truffle.js.nodes.promise.CreateResolvingFunctionNode$1PromiseRejectRootNode.getPromiseNode:Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
ifnull 1
aload 0
getfield com.oracle.truffle.js.nodes.promise.CreateResolvingFunctionNode$1PromiseRejectRootNode.rejectPromiseNode:Lcom/oracle/truffle/js/nodes/promise/RejectPromiseNode;
ifnonnull 5
1: StackMap locals:
StackMap stack:
invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
2: aload 0
aload 0
iconst_0
invokestatic com.oracle.truffle.js.nodes.arguments.AccessIndexedArgumentNode.create:(I)Lcom/oracle/truffle/js/nodes/JavaScriptNode;
invokevirtual com.oracle.truffle.js.nodes.promise.CreateResolvingFunctionNode$1PromiseRejectRootNode.insert:(Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/api/nodes/Node;
checkcast com.oracle.truffle.js.nodes.JavaScriptNode
putfield com.oracle.truffle.js.nodes.promise.CreateResolvingFunctionNode$1PromiseRejectRootNode.reasonNode:Lcom/oracle/truffle/js/nodes/JavaScriptNode;
3: aload 0
aload 0
getstatic com.oracle.truffle.js.nodes.promise.CreateResolvingFunctionNode.PROMISE_KEY:Lcom/oracle/truffle/api/object/HiddenKey;
aload 0
getfield com.oracle.truffle.js.nodes.promise.CreateResolvingFunctionNode$1PromiseRejectRootNode.val$context:Lcom/oracle/truffle/js/runtime/JSContext;
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;
invokevirtual com.oracle.truffle.js.nodes.promise.CreateResolvingFunctionNode$1PromiseRejectRootNode.insert:(Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/api/nodes/Node;
checkcast com.oracle.truffle.js.nodes.access.PropertyGetNode
putfield com.oracle.truffle.js.nodes.promise.CreateResolvingFunctionNode$1PromiseRejectRootNode.getPromiseNode:Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
4: aload 0
aload 0
aload 0
getfield com.oracle.truffle.js.nodes.promise.CreateResolvingFunctionNode$1PromiseRejectRootNode.val$context:Lcom/oracle/truffle/js/runtime/JSContext;
invokestatic com.oracle.truffle.js.nodes.promise.RejectPromiseNode.create:(Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/promise/RejectPromiseNode;
invokevirtual com.oracle.truffle.js.nodes.promise.CreateResolvingFunctionNode$1PromiseRejectRootNode.insert:(Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/api/nodes/Node;
checkcast com.oracle.truffle.js.nodes.promise.RejectPromiseNode
putfield com.oracle.truffle.js.nodes.promise.CreateResolvingFunctionNode$1PromiseRejectRootNode.rejectPromiseNode:Lcom/oracle/truffle/js/nodes/promise/RejectPromiseNode;
5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/truffle/js/nodes/promise/CreateResolvingFunctionNode$1PromiseRejectRootNode;
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=3, args_size=2
start local 0 start local 1 0: getstatic com.oracle.truffle.js.nodes.promise.CreateResolvingFunctionNode.$assertionsDisabled:Z
ifne 2
aload 1
invokestatic com.oracle.truffle.js.runtime.builtins.JSFunction.isJSFunction:(Ljava/lang/Object;)Z
ifeq 1
aload 1
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
if_acmpeq 2
StackMap locals:
StackMap stack:
1: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 1
getstatic com.oracle.truffle.js.nodes.promise.CreateResolvingFunctionNode.PROMISE_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.api.object.DynamicObject
astore 2
start local 2 3: new com.oracle.truffle.js.nodes.promise.AsyncHandlerRootNode$AsyncStackTraceInfo
dup
aload 2
aconst_null
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 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/nodes/promise/CreateResolvingFunctionNode$1PromiseRejectRootNode;
0 4 1 handlerFunction Lcom/oracle/truffle/api/object/DynamicObject;
3 4 2 promise Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
handlerFunction
}
SourceFile: "CreateResolvingFunctionNode.java"
EnclosingMethod: com.oracle.truffle.js.nodes.promise.CreateResolvingFunctionNode.createPromiseRejectFunctionImpl:(Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/runtime/builtins/JSFunctionData;
NestHost: com.oracle.truffle.js.nodes.promise.CreateResolvingFunctionNode
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
PromiseRejectRootNode = com.oracle.truffle.js.nodes.promise.CreateResolvingFunctionNode$1PromiseRejectRootNode
final AlreadyResolved = com.oracle.truffle.js.nodes.promise.CreateResolvingFunctionNode$AlreadyResolved of com.oracle.truffle.js.nodes.promise.CreateResolvingFunctionNode