public final class com.oracle.truffle.js.runtime.builtins.JSPromiseObject extends com.oracle.truffle.js.runtime.objects.JSNonProxyObject
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.js.runtime.builtins.JSPromiseObject
super_class: com.oracle.truffle.js.runtime.objects.JSNonProxyObject
{
private int promiseState;
descriptor: I
flags: (0x0002) ACC_PRIVATE
protected void <init>(com.oracle.truffle.api.object.Shape, int);
descriptor: (Lcom/oracle/truffle/api/object/Shape;I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial com.oracle.truffle.js.runtime.objects.JSNonProxyObject.<init>:(Lcom/oracle/truffle/api/object/Shape;)V
1: aload 0
iload 2
putfield com.oracle.truffle.js.runtime.builtins.JSPromiseObject.promiseState:I
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/runtime/builtins/JSPromiseObject;
0 3 1 shape Lcom/oracle/truffle/api/object/Shape;
0 3 2 promiseState I
MethodParameters:
Name Flags
shape
promiseState
public int getPromiseState();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.runtime.builtins.JSPromiseObject.promiseState:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/builtins/JSPromiseObject;
public void setPromiseState(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield com.oracle.truffle.js.runtime.builtins.JSPromiseObject.promiseState:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/runtime/builtins/JSPromiseObject;
0 2 1 promiseState I
MethodParameters:
Name Flags
promiseState
public static com.oracle.truffle.js.runtime.builtins.JSPromiseObject create(com.oracle.truffle.js.runtime.JSRealm, com.oracle.truffle.js.runtime.builtins.JSObjectFactory, int);
descriptor: (Lcom/oracle/truffle/js/runtime/JSRealm;Lcom/oracle/truffle/js/runtime/builtins/JSObjectFactory;I)Lcom/oracle/truffle/js/runtime/builtins/JSPromiseObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
new com.oracle.truffle.js.runtime.builtins.JSPromiseObject
dup
aload 1
invokevirtual com.oracle.truffle.js.runtime.builtins.JSObjectFactory.getShape:()Lcom/oracle/truffle/api/object/Shape;
iload 2
invokespecial com.oracle.truffle.js.runtime.builtins.JSPromiseObject.<init>:(Lcom/oracle/truffle/api/object/Shape;I)V
aload 0
invokevirtual com.oracle.truffle.js.runtime.builtins.JSObjectFactory.initProto:(Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/js/runtime/JSRealm;)Lcom/oracle/truffle/api/object/DynamicObject;
checkcast com.oracle.truffle.js.runtime.builtins.JSPromiseObject
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 realm Lcom/oracle/truffle/js/runtime/JSRealm;
0 1 1 factory Lcom/oracle/truffle/js/runtime/builtins/JSObjectFactory;
0 1 2 promiseState I
MethodParameters:
Name Flags
realm
factory
promiseState
public static com.oracle.truffle.js.runtime.builtins.JSPromiseObject create(com.oracle.truffle.api.object.Shape, int);
descriptor: (Lcom/oracle/truffle/api/object/Shape;I)Lcom/oracle/truffle/js/runtime/builtins/JSPromiseObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new com.oracle.truffle.js.runtime.builtins.JSPromiseObject
dup
aload 0
iload 1
invokespecial com.oracle.truffle.js.runtime.builtins.JSPromiseObject.<init>:(Lcom/oracle/truffle/api/object/Shape;I)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 shape Lcom/oracle/truffle/api/object/Shape;
0 1 1 promiseState I
MethodParameters:
Name Flags
shape
promiseState
}
SourceFile: "JSPromiseObject.java"