public class com.oracle.truffle.js.nodes.promise.FulfillPromiseNode 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.FulfillPromiseNode
super_class: com.oracle.truffle.js.nodes.JavaScriptBaseNode
{
private com.oracle.truffle.js.nodes.access.PropertyGetNode getPromiseFulfillReactions;
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.promise.TriggerPromiseReactionsNode triggerPromiseReactions;
descriptor: Lcom/oracle/truffle/js/nodes/promise/TriggerPromiseReactionsNode;
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/nodes/promise/FulfillPromiseNode;
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.FulfillPromiseNode.$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
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.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.FulfillPromiseNode.getPromiseFulfillReactions:Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
2: 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.FulfillPromiseNode.setPromiseResult:Lcom/oracle/truffle/js/nodes/access/PropertySetNode;
3: 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.FulfillPromiseNode.setPromiseFulfillReactions:Lcom/oracle/truffle/js/nodes/access/PropertySetNode;
4: 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.FulfillPromiseNode.setPromiseRejectReactions:Lcom/oracle/truffle/js/nodes/access/PropertySetNode;
5: 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.FulfillPromiseNode.triggerPromiseReactions:Lcom/oracle/truffle/js/nodes/promise/TriggerPromiseReactionsNode;
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/oracle/truffle/js/nodes/promise/FulfillPromiseNode;
0 7 1 context Lcom/oracle/truffle/js/runtime/JSContext;
MethodParameters:
Name Flags
context
public static com.oracle.truffle.js.nodes.promise.FulfillPromiseNode create(com.oracle.truffle.js.runtime.JSContext);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/promise/FulfillPromiseNode;
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.FulfillPromiseNode
dup
aload 0
invokespecial com.oracle.truffle.js.nodes.promise.FulfillPromiseNode.<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=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic com.oracle.truffle.js.nodes.promise.FulfillPromiseNode.$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.FulfillPromiseNode.getPromiseFulfillReactions: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 2: aload 0
getfield com.oracle.truffle.js.nodes.promise.FulfillPromiseNode.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
3: aload 0
getfield com.oracle.truffle.js.nodes.promise.FulfillPromiseNode.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
4: aload 0
getfield com.oracle.truffle.js.nodes.promise.FulfillPromiseNode.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
5: aload 1
iconst_1
invokestatic com.oracle.truffle.js.runtime.builtins.JSPromise.setPromiseState:(Lcom/oracle/truffle/api/object/DynamicObject;I)V
6: aload 0
getfield com.oracle.truffle.js.nodes.promise.FulfillPromiseNode.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 7 0 this Lcom/oracle/truffle/js/nodes/promise/FulfillPromiseNode;
0 7 1 promise Lcom/oracle/truffle/api/object/DynamicObject;
0 7 2 value Ljava/lang/Object;
2 7 3 reactions Ljava/lang/Object;
MethodParameters:
Name Flags
promise
value
}
SourceFile: "FulfillPromiseNode.java"
InnerClasses:
public abstract Child = com.oracle.truffle.api.nodes.Node$Child of com.oracle.truffle.api.nodes.Node