public abstract class com.oracle.truffle.js.nodes.access.JSProxyHasPropertyNode 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.JSProxyHasPropertyNode
super_class: com.oracle.truffle.js.nodes.JavaScriptBaseNode
{
protected com.oracle.truffle.js.nodes.access.GetMethodNode trapGetter;
descriptor: Lcom/oracle/truffle/js/nodes/access/GetMethodNode;
flags: (0x0004) ACC_PROTECTED
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private com.oracle.truffle.js.nodes.function.JSFunctionCallNode callNode;
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.cast.JSToBooleanNode toBooleanNode;
descriptor: Lcom/oracle/truffle/js/nodes/cast/JSToBooleanNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private com.oracle.truffle.js.nodes.cast.JSToPropertyKeyNode toPropertyKeyNode;
descriptor: Lcom/oracle/truffle/js/nodes/cast/JSToPropertyKeyNode;
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
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/access/JSProxyHasPropertyNode;
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.access.JSProxyHasPropertyNode.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(com.oracle.truffle.js.runtime.JSContext);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, 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.JSProxyHasPropertyNode.errorBranch:Lcom/oracle/truffle/api/profiles/BranchProfile;
2: aload 0
invokestatic com.oracle.truffle.js.nodes.function.JSFunctionCallNode.createCall:()Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;
putfield com.oracle.truffle.js.nodes.access.JSProxyHasPropertyNode.callNode:Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;
3: aload 0
aload 1
aconst_null
ldc "has"
invokestatic com.oracle.truffle.js.nodes.access.GetMethodNode.create:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/JavaScriptNode;Ljava/lang/Object;)Lcom/oracle/truffle/js/nodes/access/GetMethodNode;
putfield com.oracle.truffle.js.nodes.access.JSProxyHasPropertyNode.trapGetter:Lcom/oracle/truffle/js/nodes/access/GetMethodNode;
4: aload 0
invokestatic com.oracle.truffle.js.nodes.cast.JSToPropertyKeyNode.create:()Lcom/oracle/truffle/js/nodes/cast/JSToPropertyKeyNode;
putfield com.oracle.truffle.js.nodes.access.JSProxyHasPropertyNode.toPropertyKeyNode:Lcom/oracle/truffle/js/nodes/cast/JSToPropertyKeyNode;
5: aload 0
invokestatic com.oracle.truffle.js.nodes.cast.JSToBooleanNode.create:()Lcom/oracle/truffle/js/nodes/cast/JSToBooleanNode;
putfield com.oracle.truffle.js.nodes.access.JSProxyHasPropertyNode.toBooleanNode:Lcom/oracle/truffle/js/nodes/cast/JSToBooleanNode;
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/oracle/truffle/js/nodes/access/JSProxyHasPropertyNode;
0 7 1 context Lcom/oracle/truffle/js/runtime/JSContext;
MethodParameters:
Name Flags
context
public static com.oracle.truffle.js.nodes.access.JSProxyHasPropertyNode create(com.oracle.truffle.js.runtime.JSContext);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/access/JSProxyHasPropertyNode;
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\tJSProxyHasPropertyNodeGen cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
context
public abstract boolean executeWithTargetAndKeyBoolean(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
shared
key
protected boolean doGeneric(com.oracle.truffle.api.object.DynamicObject, java.lang.Object, com.oracle.truffle.api.profiles.ConditionProfile);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;Lcom/oracle/truffle/api/profiles/ConditionProfile;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic com.oracle.truffle.js.nodes.access.JSProxyHasPropertyNode.$assertionsDisabled:Z
ifne 1
aload 1
invokestatic com.oracle.truffle.js.runtime.builtins.JSProxy.isJSProxy:(Ljava/lang/Object;)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.access.JSProxyHasPropertyNode.toPropertyKeyNode:Lcom/oracle/truffle/js/nodes/cast/JSToPropertyKeyNode;
aload 2
invokevirtual com.oracle.truffle.js.nodes.cast.JSToPropertyKeyNode.execute:(Ljava/lang/Object;)Ljava/lang/Object;
astore 4
start local 4 2: aload 1
aload 0
getfield com.oracle.truffle.js.nodes.access.JSProxyHasPropertyNode.errorBranch:Lcom/oracle/truffle/api/profiles/BranchProfile;
invokestatic com.oracle.truffle.js.runtime.builtins.JSProxy.getHandlerChecked:(Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/api/profiles/BranchProfile;)Lcom/oracle/truffle/api/object/DynamicObject;
astore 5
start local 5 3: aload 1
invokestatic com.oracle.truffle.js.runtime.builtins.JSProxy.getTarget:(Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/lang/Object;
astore 6
start local 6 4: aload 0
getfield com.oracle.truffle.js.nodes.access.JSProxyHasPropertyNode.trapGetter:Lcom/oracle/truffle/js/nodes/access/GetMethodNode;
aload 5
invokevirtual com.oracle.truffle.js.nodes.access.GetMethodNode.executeWithTarget:(Ljava/lang/Object;)Ljava/lang/Object;
astore 7
start local 7 5: aload 3
aload 7
getstatic com.oracle.truffle.js.runtime.objects.Undefined.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
if_acmpne 6
iconst_1
goto 7
StackMap locals: com.oracle.truffle.js.nodes.access.JSProxyHasPropertyNode com.oracle.truffle.api.object.DynamicObject java.lang.Object com.oracle.truffle.api.profiles.ConditionProfile java.lang.Object com.oracle.truffle.api.object.DynamicObject java.lang.Object java.lang.Object
StackMap stack: com.oracle.truffle.api.profiles.ConditionProfile
6: iconst_0
StackMap locals: com.oracle.truffle.js.nodes.access.JSProxyHasPropertyNode com.oracle.truffle.api.object.DynamicObject java.lang.Object com.oracle.truffle.api.profiles.ConditionProfile java.lang.Object com.oracle.truffle.api.object.DynamicObject java.lang.Object java.lang.Object
StackMap stack: com.oracle.truffle.api.profiles.ConditionProfile int
7: invokevirtual com.oracle.truffle.api.profiles.ConditionProfile.profile:(Z)Z
ifeq 11
8: aload 6
invokestatic com.oracle.truffle.js.runtime.objects.JSDynamicObject.isJSDynamicObject:(Ljava/lang/Object;)Z
ifeq 10
9: aload 6
checkcast com.oracle.truffle.api.object.DynamicObject
aload 4
invokestatic com.oracle.truffle.js.runtime.objects.JSObject.hasProperty:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;)Z
ireturn
10: StackMap locals:
StackMap stack:
aload 6
aload 4
invokestatic com.oracle.truffle.js.runtime.interop.JSInteropUtil.hasProperty:(Ljava/lang/Object;Ljava/lang/Object;)Z
ireturn
11: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.nodes.access.JSProxyHasPropertyNode.callNode:Lcom/oracle/truffle/js/nodes/function/JSFunctionCallNode;
aload 5
aload 7
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 6
aastore
dup
iconst_1
aload 4
aastore
invokestatic com.oracle.truffle.js.runtime.JSArguments.create:(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 8
start local 8 12: aload 0
getfield com.oracle.truffle.js.nodes.access.JSProxyHasPropertyNode.toBooleanNode:Lcom/oracle/truffle/js/nodes/cast/JSToBooleanNode;
aload 8
invokevirtual com.oracle.truffle.js.nodes.cast.JSToBooleanNode.executeBoolean:(Ljava/lang/Object;)Z
istore 9
start local 9 13: iload 9
ifne 17
14: aload 0
getfield com.oracle.truffle.js.nodes.access.JSProxyHasPropertyNode.errorBranch:Lcom/oracle/truffle/api/profiles/BranchProfile;
invokevirtual com.oracle.truffle.api.profiles.BranchProfile.enter:()V
15: aload 6
aload 4
invokestatic com.oracle.truffle.js.runtime.builtins.JSProxy.checkPropertyIsSettable:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 17
16: ldc "Proxy can't successfully access a non-writable, non-configurable property"
aload 0
invokestatic com.oracle.truffle.js.runtime.Errors.createTypeError:(Ljava/lang/String;Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/js/runtime/JSException;
athrow
17: StackMap locals: java.lang.Object int
StackMap stack:
iload 9
ireturn
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 18 0 this Lcom/oracle/truffle/js/nodes/access/JSProxyHasPropertyNode;
0 18 1 proxy Lcom/oracle/truffle/api/object/DynamicObject;
0 18 2 key Ljava/lang/Object;
0 18 3 trapFunProfile Lcom/oracle/truffle/api/profiles/ConditionProfile;
2 18 4 propertyKey Ljava/lang/Object;
3 18 5 handler Lcom/oracle/truffle/api/object/DynamicObject;
4 18 6 target Ljava/lang/Object;
5 18 7 trapFun Ljava/lang/Object;
12 18 8 callResult Ljava/lang/Object;
13 18 9 trapResult Z
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization()
RuntimeInvisibleParameterAnnotations:
0:
1:
2:
com.oracle.truffle.api.dsl.Cached(value = "createBinaryProfile()")
MethodParameters:
Name Flags
proxy
key
trapFunProfile
}
SourceFile: "JSProxyHasPropertyNode.java"
InnerClasses:
public abstract Child = com.oracle.truffle.api.nodes.Node$Child of com.oracle.truffle.api.nodes.Node
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.NodeInfo(cost = com.oracle.truffle.api.nodes.NodeCost.NONE:Lcom/oracle/truffle/api/nodes/NodeCost;)
RuntimeInvisibleAnnotations:
com.oracle.truffle.api.dsl.ImportStatic(value = {Lcom/oracle/truffle/js/runtime/builtins/JSProxy;})