public abstract class com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode extends com.oracle.truffle.js.nodes.JavaScriptBaseNode
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode
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.cast.JSToBooleanNode toBooleanNode;
descriptor: Lcom/oracle/truffle/js/nodes/cast/JSToBooleanNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private boolean wasExecuted;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$CompilationFinal()
private com.oracle.truffle.js.nodes.access.PropertyGetNode getEnumerableNode;
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 getConfigurableNode;
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 getWritableNode;
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 getValueNode;
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 getSetNode;
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 getGetNode;
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.HasPropertyCacheNode hasEnumerableNode;
descriptor: Lcom/oracle/truffle/js/nodes/access/HasPropertyCacheNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private com.oracle.truffle.js.nodes.access.HasPropertyCacheNode hasConfigurableNode;
descriptor: Lcom/oracle/truffle/js/nodes/access/HasPropertyCacheNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private com.oracle.truffle.js.nodes.access.HasPropertyCacheNode hasWritableNode;
descriptor: Lcom/oracle/truffle/js/nodes/access/HasPropertyCacheNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private com.oracle.truffle.js.nodes.access.HasPropertyCacheNode hasValueNode;
descriptor: Lcom/oracle/truffle/js/nodes/access/HasPropertyCacheNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private com.oracle.truffle.js.nodes.access.HasPropertyCacheNode hasSetNode;
descriptor: Lcom/oracle/truffle/js/nodes/access/HasPropertyCacheNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private com.oracle.truffle.js.nodes.access.HasPropertyCacheNode hasGetNode;
descriptor: Lcom/oracle/truffle/js/nodes/access/HasPropertyCacheNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private final com.oracle.truffle.api.profiles.BranchProfile errorBranch;
descriptor: Lcom/oracle/truffle/api/profiles/BranchProfile;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public abstract java.lang.Object execute(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
operand
public static com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode create(com.oracle.truffle.js.runtime.JSContext);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/access/ToPropertyDescriptorNode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tToPropertyDescriptorNodeGen cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
context
protected void <init>(com.oracle.truffle.js.runtime.JSContext);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, 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.BranchProfile.create:()Lcom/oracle/truffle/api/profiles/BranchProfile;
putfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.errorBranch:Lcom/oracle/truffle/api/profiles/BranchProfile;
2: aload 0
aload 1
putfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
3: aload 0
aload 1
invokevirtual com.oracle.truffle.js.runtime.JSContext.isMultiContext:()Z
putfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.wasExecuted:Z
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/truffle/js/nodes/access/ToPropertyDescriptorNode;
0 5 1 context Lcom/oracle/truffle/js/runtime/JSContext;
MethodParameters:
Name Flags
context
private void initialize();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.toBooleanNode:Lcom/oracle/truffle/js/nodes/cast/JSToBooleanNode;
ifnull 1
aload 0
getfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.hasEnumerableNode:Lcom/oracle/truffle/js/nodes/access/HasPropertyCacheNode;
ifnull 1
aload 0
getfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.hasConfigurableNode:Lcom/oracle/truffle/js/nodes/access/HasPropertyCacheNode;
ifnull 1
aload 0
getfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.hasWritableNode:Lcom/oracle/truffle/js/nodes/access/HasPropertyCacheNode;
ifnull 1
aload 0
getfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.hasValueNode:Lcom/oracle/truffle/js/nodes/access/HasPropertyCacheNode;
ifnull 1
aload 0
getfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.hasGetNode:Lcom/oracle/truffle/js/nodes/access/HasPropertyCacheNode;
ifnull 1
aload 0
getfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.hasSetNode:Lcom/oracle/truffle/js/nodes/access/HasPropertyCacheNode;
ifnonnull 9
1: StackMap locals:
StackMap stack:
invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
2: aload 0
aload 0
invokestatic com.oracle.truffle.js.nodes.cast.JSToBooleanNode.create:()Lcom/oracle/truffle/js/nodes/cast/JSToBooleanNode;
invokevirtual com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.insert:(Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/api/nodes/Node;
checkcast com.oracle.truffle.js.nodes.cast.JSToBooleanNode
putfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.toBooleanNode:Lcom/oracle/truffle/js/nodes/cast/JSToBooleanNode;
3: aload 0
aload 0
ldc "enumerable"
aload 0
getfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
invokestatic com.oracle.truffle.js.nodes.access.HasPropertyCacheNode.create:(Ljava/lang/Object;Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/access/HasPropertyCacheNode;
invokevirtual com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.insert:(Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/api/nodes/Node;
checkcast com.oracle.truffle.js.nodes.access.HasPropertyCacheNode
putfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.hasEnumerableNode:Lcom/oracle/truffle/js/nodes/access/HasPropertyCacheNode;
4: aload 0
aload 0
ldc "configurable"
aload 0
getfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
invokestatic com.oracle.truffle.js.nodes.access.HasPropertyCacheNode.create:(Ljava/lang/Object;Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/access/HasPropertyCacheNode;
invokevirtual com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.insert:(Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/api/nodes/Node;
checkcast com.oracle.truffle.js.nodes.access.HasPropertyCacheNode
putfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.hasConfigurableNode:Lcom/oracle/truffle/js/nodes/access/HasPropertyCacheNode;
5: aload 0
aload 0
ldc "writable"
aload 0
getfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
invokestatic com.oracle.truffle.js.nodes.access.HasPropertyCacheNode.create:(Ljava/lang/Object;Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/access/HasPropertyCacheNode;
invokevirtual com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.insert:(Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/api/nodes/Node;
checkcast com.oracle.truffle.js.nodes.access.HasPropertyCacheNode
putfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.hasWritableNode:Lcom/oracle/truffle/js/nodes/access/HasPropertyCacheNode;
6: aload 0
aload 0
ldc "value"
aload 0
getfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
invokestatic com.oracle.truffle.js.nodes.access.HasPropertyCacheNode.create:(Ljava/lang/Object;Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/access/HasPropertyCacheNode;
invokevirtual com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.insert:(Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/api/nodes/Node;
checkcast com.oracle.truffle.js.nodes.access.HasPropertyCacheNode
putfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.hasValueNode:Lcom/oracle/truffle/js/nodes/access/HasPropertyCacheNode;
7: aload 0
aload 0
ldc "get"
aload 0
getfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
invokestatic com.oracle.truffle.js.nodes.access.HasPropertyCacheNode.create:(Ljava/lang/Object;Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/access/HasPropertyCacheNode;
invokevirtual com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.insert:(Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/api/nodes/Node;
checkcast com.oracle.truffle.js.nodes.access.HasPropertyCacheNode
putfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.hasGetNode:Lcom/oracle/truffle/js/nodes/access/HasPropertyCacheNode;
8: aload 0
aload 0
ldc "set"
aload 0
getfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
invokestatic com.oracle.truffle.js.nodes.access.HasPropertyCacheNode.create:(Ljava/lang/Object;Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/access/HasPropertyCacheNode;
invokevirtual com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.insert:(Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/api/nodes/Node;
checkcast com.oracle.truffle.js.nodes.access.HasPropertyCacheNode
putfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.hasSetNode:Lcom/oracle/truffle/js/nodes/access/HasPropertyCacheNode;
9: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/oracle/truffle/js/nodes/access/ToPropertyDescriptorNode;
private boolean toBoolean(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.toBooleanNode:Lcom/oracle/truffle/js/nodes/cast/JSToBooleanNode;
aload 1
invokevirtual com.oracle.truffle.js.nodes.cast.JSToBooleanNode.executeBoolean:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/access/ToPropertyDescriptorNode;
0 1 1 target Ljava/lang/Object;
MethodParameters:
Name Flags
target
protected boolean wasExecuted(com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.wasExecuted:Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/access/ToPropertyDescriptorNode;
0 1 1 obj Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
obj
protected java.lang.Object nonSpecialized(com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
1: aload 0
iconst_1
putfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.wasExecuted:Z
2: aload 1
invokestatic com.oracle.truffle.js.runtime.JSRuntime.toPropertyDescriptor:(Ljava/lang/Object;)Lcom/oracle/truffle/js/runtime/objects/PropertyDescriptor;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/nodes/access/ToPropertyDescriptorNode;
0 3 1 obj Lcom/oracle/truffle/api/object/DynamicObject;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"!wasExecuted(obj)", "isJSObject(obj)"})
MethodParameters:
Name Flags
obj
protected java.lang.Object doDefault(com.oracle.truffle.api.object.DynamicObject, com.oracle.truffle.api.profiles.BranchProfile, com.oracle.truffle.api.profiles.BranchProfile, com.oracle.truffle.api.profiles.BranchProfile, com.oracle.truffle.api.profiles.BranchProfile, com.oracle.truffle.api.profiles.BranchProfile, com.oracle.truffle.api.profiles.BranchProfile);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/api/profiles/BranchProfile;Lcom/oracle/truffle/api/profiles/BranchProfile;Lcom/oracle/truffle/api/profiles/BranchProfile;Lcom/oracle/truffle/api/profiles/BranchProfile;Lcom/oracle/truffle/api/profiles/BranchProfile;Lcom/oracle/truffle/api/profiles/BranchProfile;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=14, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
invokevirtual com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.initialize:()V
1: invokestatic com.oracle.truffle.js.runtime.objects.PropertyDescriptor.createEmpty:()Lcom/oracle/truffle/js/runtime/objects/PropertyDescriptor;
astore 8
start local 8 2: aload 0
getfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.hasEnumerableNode:Lcom/oracle/truffle/js/nodes/access/HasPropertyCacheNode;
aload 1
invokevirtual com.oracle.truffle.js.nodes.access.HasPropertyCacheNode.hasProperty:(Ljava/lang/Object;)Z
ifeq 5
3: aload 4
invokevirtual com.oracle.truffle.api.profiles.BranchProfile.enter:()V
4: aload 8
aload 0
aload 1
invokevirtual com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.getEnumerableValue:(Lcom/oracle/truffle/api/object/DynamicObject;)Z
invokevirtual com.oracle.truffle.js.runtime.objects.PropertyDescriptor.setEnumerable:(Z)V
5: StackMap locals: com.oracle.truffle.js.runtime.objects.PropertyDescriptor
StackMap stack:
aload 0
getfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.hasConfigurableNode:Lcom/oracle/truffle/js/nodes/access/HasPropertyCacheNode;
aload 1
invokevirtual com.oracle.truffle.js.nodes.access.HasPropertyCacheNode.hasProperty:(Ljava/lang/Object;)Z
ifeq 8
6: aload 5
invokevirtual com.oracle.truffle.api.profiles.BranchProfile.enter:()V
7: aload 8
aload 0
aload 1
invokevirtual com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.getConfigurableValue:(Lcom/oracle/truffle/api/object/DynamicObject;)Z
invokevirtual com.oracle.truffle.js.runtime.objects.PropertyDescriptor.setConfigurable:(Z)V
8: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.hasValueNode:Lcom/oracle/truffle/js/nodes/access/HasPropertyCacheNode;
aload 1
invokevirtual com.oracle.truffle.js.nodes.access.HasPropertyCacheNode.hasProperty:(Ljava/lang/Object;)Z
istore 9
start local 9 9: iload 9
ifeq 12
10: aload 6
invokevirtual com.oracle.truffle.api.profiles.BranchProfile.enter:()V
11: aload 8
aload 0
aload 1
invokevirtual com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.getValue:(Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/lang/Object;
invokevirtual com.oracle.truffle.js.runtime.objects.PropertyDescriptor.setValue:(Ljava/lang/Object;)V
12: StackMap locals: int
StackMap stack:
aload 0
getfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.hasWritableNode:Lcom/oracle/truffle/js/nodes/access/HasPropertyCacheNode;
aload 1
invokevirtual com.oracle.truffle.js.nodes.access.HasPropertyCacheNode.hasProperty:(Ljava/lang/Object;)Z
istore 10
start local 10 13: iload 10
ifeq 16
14: aload 7
invokevirtual com.oracle.truffle.api.profiles.BranchProfile.enter:()V
15: aload 8
aload 0
aload 1
invokevirtual com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.getWritableValue:(Lcom/oracle/truffle/api/object/DynamicObject;)Z
invokevirtual com.oracle.truffle.js.runtime.objects.PropertyDescriptor.setWritable:(Z)V
16: StackMap locals: int
StackMap stack:
aload 0
getfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.hasGetNode:Lcom/oracle/truffle/js/nodes/access/HasPropertyCacheNode;
aload 1
invokevirtual com.oracle.truffle.js.nodes.access.HasPropertyCacheNode.hasProperty:(Ljava/lang/Object;)Z
istore 11
start local 11 17: iload 11
ifeq 24
18: aload 2
invokevirtual com.oracle.truffle.api.profiles.BranchProfile.enter:()V
19: aload 0
aload 1
invokevirtual com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.getGet:(Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/lang/Object;
astore 12
start local 12 20: aload 12
invokestatic com.oracle.truffle.js.runtime.JSRuntime.isCallable:(Ljava/lang/Object;)Z
ifne 23
aload 12
getstatic com.oracle.truffle.js.runtime.objects.Undefined.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
if_acmpeq 23
21: aload 0
getfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.errorBranch:Lcom/oracle/truffle/api/profiles/BranchProfile;
invokevirtual com.oracle.truffle.api.profiles.BranchProfile.enter:()V
22: ldc "Getter must be a function"
invokestatic com.oracle.truffle.js.runtime.Errors.createTypeError:(Ljava/lang/String;)Lcom/oracle/truffle/js/runtime/JSException;
athrow
23: StackMap locals: int java.lang.Object
StackMap stack:
aload 8
aload 12
checkcast com.oracle.truffle.api.object.DynamicObject
invokevirtual com.oracle.truffle.js.runtime.objects.PropertyDescriptor.setGet:(Lcom/oracle/truffle/api/object/DynamicObject;)V
end local 12 24: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.hasSetNode:Lcom/oracle/truffle/js/nodes/access/HasPropertyCacheNode;
aload 1
invokevirtual com.oracle.truffle.js.nodes.access.HasPropertyCacheNode.hasProperty:(Ljava/lang/Object;)Z
istore 12
start local 12 25: iload 12
ifeq 32
26: aload 3
invokevirtual com.oracle.truffle.api.profiles.BranchProfile.enter:()V
27: aload 0
aload 1
invokevirtual com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.getSet:(Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/lang/Object;
astore 13
start local 13 28: aload 13
invokestatic com.oracle.truffle.js.runtime.JSRuntime.isCallable:(Ljava/lang/Object;)Z
ifne 31
aload 13
getstatic com.oracle.truffle.js.runtime.objects.Undefined.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
if_acmpeq 31
29: aload 0
getfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.errorBranch:Lcom/oracle/truffle/api/profiles/BranchProfile;
invokevirtual com.oracle.truffle.api.profiles.BranchProfile.enter:()V
30: ldc "Setter must be a function"
invokestatic com.oracle.truffle.js.runtime.Errors.createTypeError:(Ljava/lang/String;)Lcom/oracle/truffle/js/runtime/JSException;
athrow
31: StackMap locals: int java.lang.Object
StackMap stack:
aload 8
aload 13
checkcast com.oracle.truffle.api.object.DynamicObject
invokevirtual com.oracle.truffle.js.runtime.objects.PropertyDescriptor.setSet:(Lcom/oracle/truffle/api/object/DynamicObject;)V
end local 13 32: StackMap locals:
StackMap stack:
iload 11
ifne 33
iload 12
ifeq 36
StackMap locals:
StackMap stack:
33: iload 9
ifne 34
iload 10
ifeq 36
34: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.errorBranch:Lcom/oracle/truffle/api/profiles/BranchProfile;
invokevirtual com.oracle.truffle.api.profiles.BranchProfile.enter:()V
35: ldc "Invalid property. A property cannot both have accessors and be writable or have a value"
invokestatic com.oracle.truffle.js.runtime.Errors.createTypeError:(Ljava/lang/String;)Lcom/oracle/truffle/js/runtime/JSException;
athrow
36: StackMap locals:
StackMap stack:
aload 8
areturn
end local 12 end local 11 end local 10 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 37 0 this Lcom/oracle/truffle/js/nodes/access/ToPropertyDescriptorNode;
0 37 1 obj Lcom/oracle/truffle/api/object/DynamicObject;
0 37 2 hasGetBranch Lcom/oracle/truffle/api/profiles/BranchProfile;
0 37 3 hasSetBranch Lcom/oracle/truffle/api/profiles/BranchProfile;
0 37 4 hasEnumerableBranch Lcom/oracle/truffle/api/profiles/BranchProfile;
0 37 5 hasConfigurableBranch Lcom/oracle/truffle/api/profiles/BranchProfile;
0 37 6 hasValueBranch Lcom/oracle/truffle/api/profiles/BranchProfile;
0 37 7 hasWritableBranch Lcom/oracle/truffle/api/profiles/BranchProfile;
2 37 8 desc Lcom/oracle/truffle/js/runtime/objects/PropertyDescriptor;
9 37 9 hasValue Z
13 37 10 hasWritable Z
17 37 11 hasGet Z
20 24 12 getter Ljava/lang/Object;
25 37 12 hasSet Z
28 32 13 setter Ljava/lang/Object;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"wasExecuted(obj)", "isJSObject(obj)"})
RuntimeInvisibleParameterAnnotations:
0:
1:
com.oracle.truffle.api.dsl.Cached(value = "create()")
2:
com.oracle.truffle.api.dsl.Cached(value = "create()")
3:
com.oracle.truffle.api.dsl.Cached(value = "create()")
4:
com.oracle.truffle.api.dsl.Cached(value = "create()")
5:
com.oracle.truffle.api.dsl.Cached(value = "create()")
6:
com.oracle.truffle.api.dsl.Cached(value = "create()")
MethodParameters:
Name Flags
obj
hasGetBranch
hasSetBranch
hasEnumerableBranch
hasConfigurableBranch
hasValueBranch
hasWritableBranch
private java.lang.Object getSet(com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.getSetNode:Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
ifnonnull 3
1: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
2: aload 0
aload 0
ldc "set"
iconst_0
aload 0
getfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
invokestatic com.oracle.truffle.js.nodes.access.PropertyGetNode.create:(Ljava/lang/Object;ZLcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
invokevirtual com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.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.access.ToPropertyDescriptorNode.getSetNode:Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
3: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.getSetNode:Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
aload 1
invokevirtual com.oracle.truffle.js.nodes.access.PropertyGetNode.getValue:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/nodes/access/ToPropertyDescriptorNode;
0 4 1 obj Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
obj
private java.lang.Object getGet(com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.getGetNode:Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
ifnonnull 3
1: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
2: aload 0
aload 0
ldc "get"
iconst_0
aload 0
getfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
invokestatic com.oracle.truffle.js.nodes.access.PropertyGetNode.create:(Ljava/lang/Object;ZLcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
invokevirtual com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.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.access.ToPropertyDescriptorNode.getGetNode:Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
3: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.getGetNode:Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
aload 1
invokevirtual com.oracle.truffle.js.nodes.access.PropertyGetNode.getValue:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/nodes/access/ToPropertyDescriptorNode;
0 4 1 obj Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
obj
private java.lang.Object getValue(com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.getValueNode:Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
ifnonnull 3
1: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
2: aload 0
aload 0
ldc "value"
iconst_0
aload 0
getfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
invokestatic com.oracle.truffle.js.nodes.access.PropertyGetNode.create:(Ljava/lang/Object;ZLcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
invokevirtual com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.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.access.ToPropertyDescriptorNode.getValueNode:Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
3: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.getValueNode:Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
aload 1
invokevirtual com.oracle.truffle.js.nodes.access.PropertyGetNode.getValue:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/nodes/access/ToPropertyDescriptorNode;
0 4 1 obj Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
obj
private boolean getWritableValue(com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.getWritableNode:Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
ifnonnull 3
1: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
2: aload 0
aload 0
ldc "writable"
iconst_0
aload 0
getfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
invokestatic com.oracle.truffle.js.nodes.access.PropertyGetNode.create:(Ljava/lang/Object;ZLcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
invokevirtual com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.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.access.ToPropertyDescriptorNode.getWritableNode:Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
3: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.getWritableNode:Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
aload 1
invokevirtual com.oracle.truffle.js.nodes.access.PropertyGetNode.getValue:(Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.toBoolean:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/nodes/access/ToPropertyDescriptorNode;
0 4 1 obj Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
obj
private boolean getConfigurableValue(com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.getConfigurableNode:Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
ifnonnull 3
1: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
2: aload 0
aload 0
ldc "configurable"
iconst_0
aload 0
getfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
invokestatic com.oracle.truffle.js.nodes.access.PropertyGetNode.create:(Ljava/lang/Object;ZLcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
invokevirtual com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.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.access.ToPropertyDescriptorNode.getConfigurableNode:Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
3: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.getConfigurableNode:Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
aload 1
invokevirtual com.oracle.truffle.js.nodes.access.PropertyGetNode.getValue:(Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.toBoolean:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/nodes/access/ToPropertyDescriptorNode;
0 4 1 obj Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
obj
private boolean getEnumerableValue(com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.getEnumerableNode:Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
ifnonnull 3
1: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
2: aload 0
aload 0
ldc "enumerable"
iconst_0
aload 0
getfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
invokestatic com.oracle.truffle.js.nodes.access.PropertyGetNode.create:(Ljava/lang/Object;ZLcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
invokevirtual com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.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.access.ToPropertyDescriptorNode.getEnumerableNode:Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
3: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.getEnumerableNode:Lcom/oracle/truffle/js/nodes/access/PropertyGetNode;
aload 1
invokevirtual com.oracle.truffle.js.nodes.access.PropertyGetNode.getValue:(Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.toBoolean:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/nodes/access/ToPropertyDescriptorNode;
0 4 1 obj Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
obj
protected java.lang.Object doNonObject(java.lang.Object, com.oracle.truffle.js.nodes.cast.JSToStringNode);
descriptor: (Ljava/lang/Object;Lcom/oracle/truffle/js/nodes/cast/JSToStringNode;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.oracle.truffle.js.nodes.access.ToPropertyDescriptorNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
invokevirtual com.oracle.truffle.js.runtime.JSContext.isOptionV8CompatibilityMode:()Z
ifeq 3
1: ldc "Property description must be an object: "
aload 2
aload 1
invokevirtual com.oracle.truffle.js.nodes.cast.JSToStringNode.executeString:(Ljava/lang/Object;)Ljava/lang/String;
invokestatic com.oracle.truffle.js.runtime.JSRuntime.stringConcat:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 2: goto 4
end local 3 3: StackMap locals:
StackMap stack:
ldc "must be an object"
astore 3
start local 3 4: StackMap locals: java.lang.String
StackMap stack:
aload 3
invokestatic com.oracle.truffle.js.runtime.Errors.createTypeError:(Ljava/lang/String;)Lcom/oracle/truffle/js/runtime/JSException;
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/truffle/js/nodes/access/ToPropertyDescriptorNode;
0 5 1 obj Ljava/lang/Object;
0 5 2 toStringNode Lcom/oracle/truffle/js/nodes/cast/JSToStringNode;
2 3 3 message Ljava/lang/String;
4 5 3 message Ljava/lang/String;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"!isJSObject(obj)"})
RuntimeInvisibleParameterAnnotations:
0:
1:
com.oracle.truffle.api.dsl.Cached(value = "create()")
MethodParameters:
Name Flags
obj
toStringNode
}
SourceFile: "ToPropertyDescriptorNode.java"
InnerClasses:
public abstract CompilationFinal = com.oracle.truffle.api.CompilerDirectives$CompilationFinal of com.oracle.truffle.api.CompilerDirectives
public abstract Child = com.oracle.truffle.api.nodes.Node$Child of com.oracle.truffle.api.nodes.Node