public class com.oracle.truffle.js.nodes.promise.PromiseReactionJobNode$PromiseReactionJobRootNode extends com.oracle.truffle.js.runtime.JavaScriptRootNode implements com.oracle.truffle.api.instrumentation.InstrumentableNode
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.truffle.js.nodes.promise.PromiseReactionJobNode$PromiseReactionJobRootNode
super_class: com.oracle.truffle.js.runtime.JavaScriptRootNode
{
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 getReaction;
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 getArgument;
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 callResolveNode;
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.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.function.JSFunctionCallNode callHandlerNode;
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.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()
private final com.oracle.truffle.api.profiles.ConditionProfile handlerProf;
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/PromiseReactionJobNode;
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.PromiseReactionJobNode$PromiseReactionJobRootNode.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(com.oracle.truffle.js.runtime.JSContext);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.oracle.truffle.js.runtime.JSContext.getLanguage:()Lcom/oracle/truffle/js/lang/JavaScriptLanguage;
aconst_null
aconst_null
invokespecial com.oracle.truffle.js.runtime.JavaScriptRootNode.<init>:(Lcom/oracle/truffle/js/lang/JavaScriptLanguage;Lcom/oracle/truffle/api/source/SourceSection;Lcom/oracle/truffle/api/frame/FrameDescriptor;)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.PromiseReactionJobNode$PromiseReactionJobRootNode.handlerProf:Lcom/oracle/truffle/api/profiles/ConditionProfile;
2: aload 0
aload 1
putfield com.oracle.truffle.js.nodes.promise.PromiseReactionJobNode$PromiseReactionJobRootNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
3: aload 0
getstatic com.oracle.truffle.js.nodes.promise.PromiseReactionJobNode.REACTION_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.PromiseReactionJobNode$PromiseReactionJobRootNode.getReaction:Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
4: aload 0
getstatic com.oracle.truffle.js.nodes.promise.PromiseReactionJobNode.ARGUMENT_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.PromiseReactionJobNode$PromiseReactionJobRootNode.getArgument:Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/truffle/js/nodes/promise/PromiseReactionJobNode$PromiseReactionJobRootNode;
0 6 1 context Lcom/oracle/truffle/js/runtime/JSContext;
MethodParameters:
Name Flags
context
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=10, args_size=2
start local 0 start local 1 0: 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 1: aload 0
getfield com.oracle.truffle.js.nodes.promise.PromiseReactionJobNode$PromiseReactionJobRootNode.getReaction: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.runtime.objects.PromiseReactionRecord
astore 3
start local 3 2: aload 0
getfield com.oracle.truffle.js.nodes.promise.PromiseReactionJobNode$PromiseReactionJobRootNode.getArgument:Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
aload 2
invokevirtual com.oracle.truffle.js.nodes.access.PropertyGetNode.getValue:(Ljava/lang/Object;)Ljava/lang/Object;
astore 4
start local 4 3: aload 3
invokevirtual com.oracle.truffle.js.runtime.objects.PromiseReactionRecord.getCapability:()Lcom/oracle/truffle/js/runtime/objects/PromiseCapabilityRecord;
astore 5
start local 5 4: aload 3
invokevirtual com.oracle.truffle.js.runtime.objects.PromiseReactionRecord.getHandler:()Ljava/lang/Object;
astore 6
start local 6 5: getstatic com.oracle.truffle.js.nodes.promise.PromiseReactionJobNode$PromiseReactionJobRootNode.$assertionsDisabled:Z
ifne 6
aload 5
ifnonnull 6
aload 6
getstatic com.oracle.truffle.js.runtime.objects.Undefined.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
if_acmpne 6
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
6: StackMap locals: com.oracle.truffle.js.nodes.promise.PromiseReactionJobNode$PromiseReactionJobRootNode com.oracle.truffle.api.frame.VirtualFrame com.oracle.truffle.api.object.DynamicObject com.oracle.truffle.js.runtime.objects.PromiseReactionRecord java.lang.Object com.oracle.truffle.js.runtime.objects.PromiseCapabilityRecord java.lang.Object
StackMap stack:
aload 5
ifnull 8
7: aload 0
getfield com.oracle.truffle.js.nodes.promise.PromiseReactionJobNode$PromiseReactionJobRootNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
iconst_2
aload 5
invokevirtual com.oracle.truffle.js.runtime.objects.PromiseCapabilityRecord.getPromise:()Lcom/oracle/truffle/api/object/DynamicObject;
invokevirtual com.oracle.truffle.js.runtime.JSContext.notifyPromiseHook:(ILcom/oracle/truffle/api/object/DynamicObject;)V
8: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.nodes.promise.PromiseReactionJobNode$PromiseReactionJobRootNode.handlerProf:Lcom/oracle/truffle/api/profiles/ConditionProfile;
aload 6
getstatic com.oracle.truffle.js.runtime.objects.Undefined.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
if_acmpne 9
iconst_1
goto 10
StackMap locals:
StackMap stack: com.oracle.truffle.api.profiles.ConditionProfile
9: iconst_0
StackMap locals: com.oracle.truffle.js.nodes.promise.PromiseReactionJobNode$PromiseReactionJobRootNode com.oracle.truffle.api.frame.VirtualFrame com.oracle.truffle.api.object.DynamicObject com.oracle.truffle.js.runtime.objects.PromiseReactionRecord java.lang.Object com.oracle.truffle.js.runtime.objects.PromiseCapabilityRecord java.lang.Object
StackMap stack: com.oracle.truffle.api.profiles.ConditionProfile int
10: invokevirtual com.oracle.truffle.api.profiles.ConditionProfile.profile:(Z)Z
ifeq 14
11: aload 4
astore 7
start local 7 12: aload 3
invokevirtual com.oracle.truffle.js.runtime.objects.PromiseReactionRecord.isFulfill:()Z
istore 8
start local 8 13: goto 28
end local 8 end local 7 14: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.oracle.truffle.js.nodes.promise.PromiseReactionJobNode$PromiseReactionJobRootNode.callHandler:()Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;
getstatic com.oracle.truffle.js.runtime.objects.Undefined.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
aload 6
aload 4
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;
astore 7
start local 7 15: aload 5
ifnonnull 18
16: getstatic com.oracle.truffle.js.runtime.objects.Undefined.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
17: areturn
18: StackMap locals: java.lang.Object
StackMap stack:
iconst_1
istore 8
start local 8 19: goto 28
end local 8 end local 7 StackMap locals: com.oracle.truffle.js.nodes.promise.PromiseReactionJobNode$PromiseReactionJobRootNode com.oracle.truffle.api.frame.VirtualFrame com.oracle.truffle.api.object.DynamicObject com.oracle.truffle.js.runtime.objects.PromiseReactionRecord java.lang.Object com.oracle.truffle.js.runtime.objects.PromiseCapabilityRecord java.lang.Object
StackMap stack: java.lang.Throwable
20: astore 9
start local 9 21: aload 5
ifnonnull 23
aload 0
getfield com.oracle.truffle.js.nodes.promise.PromiseReactionJobNode$PromiseReactionJobRootNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
invokevirtual com.oracle.truffle.js.runtime.JSContext.isOptionTopLevelAwait:()Z
ifeq 23
22: aload 9
athrow
23: StackMap locals: com.oracle.truffle.js.nodes.promise.PromiseReactionJobNode$PromiseReactionJobRootNode com.oracle.truffle.api.frame.VirtualFrame com.oracle.truffle.api.object.DynamicObject com.oracle.truffle.js.runtime.objects.PromiseReactionRecord java.lang.Object com.oracle.truffle.js.runtime.objects.PromiseCapabilityRecord java.lang.Object top top java.lang.Throwable
StackMap stack:
aload 0
aload 9
invokevirtual com.oracle.truffle.js.nodes.promise.PromiseReactionJobNode$PromiseReactionJobRootNode.shouldCatch:(Ljava/lang/Throwable;)Z
ifeq 27
24: aload 0
getfield com.oracle.truffle.js.nodes.promise.PromiseReactionJobNode$PromiseReactionJobRootNode.getErrorObjectNode:Lcom/oracle/truffle/js/nodes/control/TryCatchNode$GetErrorObjectNode;
aload 9
invokevirtual com.oracle.truffle.js.nodes.control.TryCatchNode$GetErrorObjectNode.execute:(Ljava/lang/Throwable;)Ljava/lang/Object;
astore 7
start local 7 25: iconst_0
istore 8
start local 8 26: goto 28
end local 8 end local 7 27: StackMap locals:
StackMap stack:
aload 9
athrow
end local 9 start local 7 start local 8 28: StackMap locals: com.oracle.truffle.js.nodes.promise.PromiseReactionJobNode$PromiseReactionJobRootNode com.oracle.truffle.api.frame.VirtualFrame com.oracle.truffle.api.object.DynamicObject com.oracle.truffle.js.runtime.objects.PromiseReactionRecord java.lang.Object com.oracle.truffle.js.runtime.objects.PromiseCapabilityRecord java.lang.Object java.lang.Object int
StackMap stack:
iload 8
ifeq 31
29: aload 0
invokevirtual com.oracle.truffle.js.nodes.promise.PromiseReactionJobNode$PromiseReactionJobRootNode.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 5
invokevirtual com.oracle.truffle.js.runtime.objects.PromiseCapabilityRecord.getResolve:()Ljava/lang/Object;
aload 7
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;
astore 9
start local 9 30: goto 32
end local 9 31: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.oracle.truffle.js.nodes.promise.PromiseReactionJobNode$PromiseReactionJobRootNode.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 5
invokevirtual com.oracle.truffle.js.runtime.objects.PromiseCapabilityRecord.getReject:()Ljava/lang/Object;
aload 7
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;
astore 9
start local 9 32: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield com.oracle.truffle.js.nodes.promise.PromiseReactionJobNode$PromiseReactionJobRootNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
iconst_3
aload 5
invokevirtual com.oracle.truffle.js.runtime.objects.PromiseCapabilityRecord.getPromise:()Lcom/oracle/truffle/api/object/DynamicObject;
invokevirtual com.oracle.truffle.js.runtime.JSContext.notifyPromiseHook:(ILcom/oracle/truffle/api/object/DynamicObject;)V
33: aload 9
areturn
end local 9 end local 8 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 34 0 this Lcom/oracle/truffle/js/nodes/promise/PromiseReactionJobNode$PromiseReactionJobRootNode;
0 34 1 frame Lcom/oracle/truffle/api/frame/VirtualFrame;
1 34 2 functionObject Lcom/oracle/truffle/api/object/DynamicObject;
2 34 3 reaction Lcom/oracle/truffle/js/runtime/objects/PromiseReactionRecord;
3 34 4 argument Ljava/lang/Object;
4 34 5 promiseCapability Lcom/oracle/truffle/js/runtime/objects/PromiseCapabilityRecord;
5 34 6 handler Ljava/lang/Object;
12 14 7 handlerResult Ljava/lang/Object;
15 20 7 handlerResult Ljava/lang/Object;
25 27 7 handlerResult Ljava/lang/Object;
28 34 7 handlerResult Ljava/lang/Object;
13 14 8 fulfill Z
19 20 8 fulfill Z
26 27 8 fulfill Z
28 34 8 fulfill Z
21 28 9 ex Ljava/lang/Throwable;
30 31 9 status Ljava/lang/Object;
32 34 9 status Ljava/lang/Object;
Exception table:
from to target type
14 17 20 Class java.lang.Throwable
18 19 20 Class java.lang.Throwable
MethodParameters:
Name Flags
frame
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.nodes.promise.PromiseReactionJobNode$PromiseReactionJobRootNode.getErrorObjectNode:Lcom/oracle/truffle/js/nodes/control/TryCatchNode$GetErrorObjectNode;
ifnull 1
aload 0
getfield com.oracle.truffle.js.nodes.promise.PromiseReactionJobNode$PromiseReactionJobRootNode.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
getfield com.oracle.truffle.js.nodes.promise.PromiseReactionJobNode$PromiseReactionJobRootNode.context: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.nodes.promise.PromiseReactionJobNode$PromiseReactionJobRootNode.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.nodes.promise.PromiseReactionJobNode$PromiseReactionJobRootNode.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.nodes.promise.PromiseReactionJobNode$PromiseReactionJobRootNode.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.nodes.promise.PromiseReactionJobNode$PromiseReactionJobRootNode.exceptions:Lcom/oracle/truffle/api/interop/InteropLibrary;
4: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield com.oracle.truffle.js.nodes.promise.PromiseReactionJobNode$PromiseReactionJobRootNode.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/nodes/promise/PromiseReactionJobNode$PromiseReactionJobRootNode;
0 5 1 exception Ljava/lang/Throwable;
MethodParameters:
Name Flags
exception
private com.oracle.truffle.js.nodes.function.JSFunctionCallNode callResolve();
descriptor: ()Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.nodes.promise.PromiseReactionJobNode$PromiseReactionJobRootNode.callResolveNode: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.nodes.promise.PromiseReactionJobNode$PromiseReactionJobRootNode.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.nodes.promise.PromiseReactionJobNode$PromiseReactionJobRootNode.callResolveNode:Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;
3: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.nodes.promise.PromiseReactionJobNode$PromiseReactionJobRootNode.callResolveNode:Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/nodes/promise/PromiseReactionJobNode$PromiseReactionJobRootNode;
private com.oracle.truffle.js.nodes.function.JSFunctionCallNode callReject();
descriptor: ()Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.nodes.promise.PromiseReactionJobNode$PromiseReactionJobRootNode.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.nodes.promise.PromiseReactionJobNode$PromiseReactionJobRootNode.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.nodes.promise.PromiseReactionJobNode$PromiseReactionJobRootNode.callRejectNode:Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;
3: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.nodes.promise.PromiseReactionJobNode$PromiseReactionJobRootNode.callRejectNode:Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/nodes/promise/PromiseReactionJobNode$PromiseReactionJobRootNode;
private com.oracle.truffle.js.nodes.function.JSFunctionCallNode callHandler();
descriptor: ()Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.nodes.promise.PromiseReactionJobNode$PromiseReactionJobRootNode.callHandlerNode: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.nodes.promise.PromiseReactionJobNode$PromiseReactionJobRootNode.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.nodes.promise.PromiseReactionJobNode$PromiseReactionJobRootNode.callHandlerNode:Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;
3: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.nodes.promise.PromiseReactionJobNode$PromiseReactionJobRootNode.callHandlerNode:Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/nodes/promise/PromiseReactionJobNode$PromiseReactionJobRootNode;
public boolean isCaptureFramesForTrace();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.nodes.promise.PromiseReactionJobNode$PromiseReactionJobRootNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
invokevirtual com.oracle.truffle.js.runtime.JSContext.isOptionAsyncStackTraces:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/promise/PromiseReactionJobNode$PromiseReactionJobRootNode;
protected java.util.List<com.oracle.truffle.api.TruffleStackTraceElement> findAsynchronousFrames(com.oracle.truffle.api.frame.Frame);
descriptor: (Lcom/oracle/truffle/api/frame/Frame;)Ljava/util/List;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.nodes.promise.PromiseReactionJobNode$PromiseReactionJobRootNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
invokevirtual com.oracle.truffle.js.runtime.JSContext.isOptionAsyncStackTraces:()Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
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 3: aload 0
getfield com.oracle.truffle.js.nodes.promise.PromiseReactionJobNode$PromiseReactionJobRootNode.getReaction: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.runtime.objects.PromiseReactionRecord
astore 3
start local 3 4: aload 3
invokevirtual com.oracle.truffle.js.runtime.objects.PromiseReactionRecord.getCapability:()Lcom/oracle/truffle/js/runtime/objects/PromiseCapabilityRecord;
astore 4
start local 4 5: aload 4
ifnull 7
6: aload 4
invokevirtual com.oracle.truffle.js.runtime.objects.PromiseCapabilityRecord.getPromise:()Lcom/oracle/truffle/api/object/DynamicObject;
invokestatic com.oracle.truffle.js.nodes.control.AwaitNode.findAsyncStackFramesFromPromise:(Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/util/List;
areturn
7: StackMap locals: com.oracle.truffle.api.object.DynamicObject com.oracle.truffle.js.runtime.objects.PromiseReactionRecord com.oracle.truffle.js.runtime.objects.PromiseCapabilityRecord
StackMap stack:
aload 3
invokevirtual com.oracle.truffle.js.runtime.objects.PromiseReactionRecord.getHandler:()Ljava/lang/Object;
invokestatic com.oracle.truffle.js.runtime.builtins.JSFunction.isJSFunction:(Ljava/lang/Object;)Z
ifeq 9
8: aload 3
invokevirtual com.oracle.truffle.js.runtime.objects.PromiseReactionRecord.getHandler:()Ljava/lang/Object;
checkcast com.oracle.truffle.api.object.DynamicObject
invokestatic com.oracle.truffle.js.nodes.control.AwaitNode.findAsyncStackFramesFromHandler:(Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/util/List;
areturn
9: StackMap locals:
StackMap stack:
aconst_null
areturn
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/PromiseReactionJobNode$PromiseReactionJobRootNode;
0 10 1 frame Lcom/oracle/truffle/api/frame/Frame;
3 10 2 functionObject Lcom/oracle/truffle/api/object/DynamicObject;
4 10 3 reaction Lcom/oracle/truffle/js/runtime/objects/PromiseReactionRecord;
5 10 4 promiseCapability Lcom/oracle/truffle/js/runtime/objects/PromiseCapabilityRecord;
Signature: (Lcom/oracle/truffle/api/frame/Frame;)Ljava/util/List<Lcom/oracle/truffle/api/TruffleStackTraceElement;>;
MethodParameters:
Name Flags
frame
public boolean hasTag(java.lang.Class<? extends com.oracle.truffle.api.instrumentation.Tag>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc Lcom/oracle/truffle/api/instrumentation/StandardTags$RootTag;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/nodes/promise/PromiseReactionJobNode$PromiseReactionJobRootNode;
0 2 1 tag Ljava/lang/Class<+Lcom/oracle/truffle/api/instrumentation/Tag;>;
Signature: (Ljava/lang/Class<+Lcom/oracle/truffle/api/instrumentation/Tag;>;)Z
MethodParameters:
Name Flags
tag
public boolean isInstrumentable();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/promise/PromiseReactionJobNode$PromiseReactionJobRootNode;
public com.oracle.truffle.api.instrumentation.InstrumentableNode$WrapperNode createWrapper(com.oracle.truffle.api.instrumentation.ProbeNode);
descriptor: (Lcom/oracle/truffle/api/instrumentation/ProbeNode;)Lcom/oracle/truffle/api/instrumentation/InstrumentableNode$WrapperNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: invokestatic com.oracle.truffle.js.runtime.Errors.shouldNotReachHere:()Ljava/lang/RuntimeException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/promise/PromiseReactionJobNode$PromiseReactionJobRootNode;
0 1 1 probe Lcom/oracle/truffle/api/instrumentation/ProbeNode;
MethodParameters:
Name Flags
probe
}
SourceFile: "PromiseReactionJobNode.java"
NestHost: com.oracle.truffle.js.nodes.promise.PromiseReactionJobNode
InnerClasses:
public abstract WrapperNode = com.oracle.truffle.api.instrumentation.InstrumentableNode$WrapperNode of com.oracle.truffle.api.instrumentation.InstrumentableNode
public final RootTag = com.oracle.truffle.api.instrumentation.StandardTags$RootTag of com.oracle.truffle.api.instrumentation.StandardTags
public abstract Child = com.oracle.truffle.api.nodes.Node$Child of com.oracle.truffle.api.nodes.Node
public final GetErrorObjectNode = com.oracle.truffle.js.nodes.control.TryCatchNode$GetErrorObjectNode of com.oracle.truffle.js.nodes.control.TryCatchNode
public PromiseReactionJobRootNode = com.oracle.truffle.js.nodes.promise.PromiseReactionJobNode$PromiseReactionJobRootNode of com.oracle.truffle.js.nodes.promise.PromiseReactionJobNode