public final class com.oracle.truffle.js.runtime.interop.DynamicScopeWrapper implements com.oracle.truffle.api.interop.TruffleObject
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.js.runtime.interop.DynamicScopeWrapper
super_class: java.lang.Object
{
final com.oracle.truffle.api.object.DynamicObject scope;
descriptor: Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0010) ACC_FINAL
public void <init>(com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.oracle.truffle.js.runtime.interop.DynamicScopeWrapper.scope:Lcom/oracle/truffle/api/object/DynamicObject;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/runtime/interop/DynamicScopeWrapper;
0 3 1 scope Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
scope
boolean isConst(java.lang.String, com.oracle.truffle.api.object.DynamicObjectLibrary);
descriptor: (Ljava/lang/String;Lcom/oracle/truffle/api/object/DynamicObjectLibrary;)Z
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 0
getfield com.oracle.truffle.js.runtime.interop.DynamicScopeWrapper.scope:Lcom/oracle/truffle/api/object/DynamicObject;
aload 1
invokevirtual com.oracle.truffle.api.object.DynamicObjectLibrary.getProperty:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;)Lcom/oracle/truffle/api/object/Property;
invokestatic com.oracle.truffle.js.runtime.objects.JSProperty.isConst:(Lcom/oracle/truffle/api/object/Property;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/interop/DynamicScopeWrapper;
0 1 1 name Ljava/lang/String;
0 1 2 access Lcom/oracle/truffle/api/object/DynamicObjectLibrary;
MethodParameters:
Name Flags
name
access
boolean hasMembers();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/interop/DynamicScopeWrapper;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
java.lang.Object getMembers(boolean, com.oracle.truffle.api.object.DynamicObjectLibrary);
descriptor: (ZLcom/oracle/truffle/api/object/DynamicObjectLibrary;)Ljava/lang/Object;
flags: (0x0000)
Code:
stack=4, locals=9, args_size=3
start local 0 start local 1 start local 2 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 1: aload 2
aload 0
getfield com.oracle.truffle.js.runtime.interop.DynamicScopeWrapper.scope:Lcom/oracle/truffle/api/object/DynamicObject;
invokevirtual com.oracle.truffle.api.object.DynamicObjectLibrary.getKeyArray:(Lcom/oracle/truffle/api/object/DynamicObject;)[Ljava/lang/Object;
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 8
StackMap locals: com.oracle.truffle.js.runtime.interop.DynamicScopeWrapper int com.oracle.truffle.api.object.DynamicObjectLibrary java.util.List top int int java.lang.Object[]
StackMap stack:
2: aload 7
iload 5
aaload
astore 4
start local 4 3: aload 4
instanceof java.lang.String
ifeq 7
4: aload 2
aload 0
getfield com.oracle.truffle.js.runtime.interop.DynamicScopeWrapper.scope:Lcom/oracle/truffle/api/object/DynamicObject;
aload 4
aconst_null
invokevirtual com.oracle.truffle.api.object.DynamicObjectLibrary.getOrDefault:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
astore 8
start local 8 5: aload 8
ifnull 7
aload 8
invokestatic com.oracle.truffle.js.runtime.objects.Dead.instance:()Lcom/oracle/truffle/js/runtime/objects/Dead;
if_acmpeq 7
6: aload 3
aload 4
checkcast java.lang.String
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 8 end local 4 7: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
8: iload 5
iload 6
if_icmplt 2
9: aload 3
invokestatic com.oracle.truffle.js.runtime.interop.InteropList.create:(Ljava/util/List;)Lcom/oracle/truffle/api/interop/TruffleObject;
areturn
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/runtime/interop/DynamicScopeWrapper;
0 10 1 includeInternal Z
0 10 2 access Lcom/oracle/truffle/api/object/DynamicObjectLibrary;
1 10 3 keys Ljava/util/List<Ljava/lang/String;>;
3 7 4 key Ljava/lang/Object;
5 7 8 value Ljava/lang/Object;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
RuntimeInvisibleParameterAnnotations:
0:
1:
com.oracle.truffle.api.library.CachedLibrary(value = "this.scope")
MethodParameters:
Name Flags
includeInternal
access
boolean isMemberReadable(java.lang.String, com.oracle.truffle.api.object.DynamicObjectLibrary);
descriptor: (Ljava/lang/String;Lcom/oracle/truffle/api/object/DynamicObjectLibrary;)Z
flags: (0x0000)
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 0
getfield com.oracle.truffle.js.runtime.interop.DynamicScopeWrapper.scope:Lcom/oracle/truffle/api/object/DynamicObject;
aload 1
aconst_null
invokevirtual com.oracle.truffle.api.object.DynamicObjectLibrary.getOrDefault:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
astore 3
start local 3 1: aload 3
ifnull 2
aload 3
invokestatic com.oracle.truffle.js.runtime.objects.Dead.instance:()Lcom/oracle/truffle/js/runtime/objects/Dead;
if_acmpne 3
2: StackMap locals: java.lang.Object
StackMap stack:
iconst_0
ireturn
3: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/runtime/interop/DynamicScopeWrapper;
0 4 1 name Ljava/lang/String;
0 4 2 access Lcom/oracle/truffle/api/object/DynamicObjectLibrary;
1 4 3 value Ljava/lang/Object;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
RuntimeInvisibleParameterAnnotations:
0:
1:
com.oracle.truffle.api.library.CachedLibrary(value = "this.scope")
MethodParameters:
Name Flags
name
access
boolean isMemberModifiable(java.lang.String, com.oracle.truffle.api.object.DynamicObjectLibrary);
descriptor: (Ljava/lang/String;Lcom/oracle/truffle/api/object/DynamicObjectLibrary;)Z
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual com.oracle.truffle.js.runtime.interop.DynamicScopeWrapper.isMemberReadable:(Ljava/lang/String;Lcom/oracle/truffle/api/object/DynamicObjectLibrary;)Z
ifeq 1
aload 0
aload 1
aload 2
invokevirtual com.oracle.truffle.js.runtime.interop.DynamicScopeWrapper.isConst:(Ljava/lang/String;Lcom/oracle/truffle/api/object/DynamicObjectLibrary;)Z
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/runtime/interop/DynamicScopeWrapper;
0 2 1 name Ljava/lang/String;
0 2 2 access Lcom/oracle/truffle/api/object/DynamicObjectLibrary;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
RuntimeInvisibleParameterAnnotations:
0:
1:
com.oracle.truffle.api.library.CachedLibrary(value = "this.scope")
MethodParameters:
Name Flags
name
access
boolean isMemberInsertable(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0000)
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/interop/DynamicScopeWrapper;
0 1 1 name Ljava/lang/String;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
MethodParameters:
Name Flags
name
java.lang.Object readMember(java.lang.String, com.oracle.truffle.api.object.DynamicObjectLibrary, com.oracle.truffle.js.nodes.interop.ExportValueNode);
descriptor: (Ljava/lang/String;Lcom/oracle/truffle/api/object/DynamicObjectLibrary;Lcom/oracle/truffle/js/nodes/interop/ExportValueNode;)Ljava/lang/Object;
flags: (0x0000)
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
aload 0
getfield com.oracle.truffle.js.runtime.interop.DynamicScopeWrapper.scope:Lcom/oracle/truffle/api/object/DynamicObject;
aload 1
aconst_null
invokevirtual com.oracle.truffle.api.object.DynamicObjectLibrary.getOrDefault:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
astore 4
start local 4 1: aload 4
ifnull 2
aload 4
invokestatic com.oracle.truffle.js.runtime.objects.Dead.instance:()Lcom/oracle/truffle/js/runtime/objects/Dead;
if_acmpne 3
2: StackMap locals: java.lang.Object
StackMap stack:
aload 1
invokestatic com.oracle.truffle.api.interop.UnknownIdentifierException.create:(Ljava/lang/String;)Lcom/oracle/truffle/api/interop/UnknownIdentifierException;
athrow
3: StackMap locals:
StackMap stack:
aload 3
aload 4
invokevirtual com.oracle.truffle.js.nodes.interop.ExportValueNode.execute:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/runtime/interop/DynamicScopeWrapper;
0 4 1 name Ljava/lang/String;
0 4 2 access Lcom/oracle/truffle/api/object/DynamicObjectLibrary;
0 4 3 exportValueNode Lcom/oracle/truffle/js/nodes/interop/ExportValueNode;
1 4 4 value Ljava/lang/Object;
Exceptions:
throws com.oracle.truffle.api.interop.UnknownIdentifierException
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
RuntimeInvisibleParameterAnnotations:
0:
1:
com.oracle.truffle.api.library.CachedLibrary(value = "this.scope")
2:
com.oracle.truffle.api.dsl.Cached()
MethodParameters:
Name Flags
name
access
exportValueNode
void writeMember(java.lang.String, java.lang.Object, com.oracle.truffle.api.object.DynamicObjectLibrary);
descriptor: (Ljava/lang/String;Ljava/lang/Object;Lcom/oracle/truffle/api/object/DynamicObjectLibrary;)V
flags: (0x0000)
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
aload 0
getfield com.oracle.truffle.js.runtime.interop.DynamicScopeWrapper.scope:Lcom/oracle/truffle/api/object/DynamicObject;
aload 1
aconst_null
invokevirtual com.oracle.truffle.api.object.DynamicObjectLibrary.getOrDefault:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
astore 4
start local 4 1: aload 4
ifnull 2
aload 4
invokestatic com.oracle.truffle.js.runtime.objects.Dead.instance:()Lcom/oracle/truffle/js/runtime/objects/Dead;
if_acmpne 3
2: StackMap locals: java.lang.Object
StackMap stack:
aload 1
invokestatic com.oracle.truffle.api.interop.UnknownIdentifierException.create:(Ljava/lang/String;)Lcom/oracle/truffle/api/interop/UnknownIdentifierException;
athrow
3: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 3
invokevirtual com.oracle.truffle.js.runtime.interop.DynamicScopeWrapper.isConst:(Ljava/lang/String;Lcom/oracle/truffle/api/object/DynamicObjectLibrary;)Z
ifne 6
4: aload 3
aload 0
getfield com.oracle.truffle.js.runtime.interop.DynamicScopeWrapper.scope:Lcom/oracle/truffle/api/object/DynamicObject;
aload 1
aload 2
invokevirtual com.oracle.truffle.api.object.DynamicObjectLibrary.putIfPresent:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;Ljava/lang/Object;)Z
pop
5: goto 7
6: StackMap locals:
StackMap stack:
invokestatic com.oracle.truffle.api.interop.UnsupportedMessageException.create:()Lcom/oracle/truffle/api/interop/UnsupportedMessageException;
athrow
7: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/oracle/truffle/js/runtime/interop/DynamicScopeWrapper;
0 8 1 name Ljava/lang/String;
0 8 2 value Ljava/lang/Object;
0 8 3 access Lcom/oracle/truffle/api/object/DynamicObjectLibrary;
1 8 4 curValue Ljava/lang/Object;
Exceptions:
throws com.oracle.truffle.api.interop.UnsupportedMessageException, com.oracle.truffle.api.interop.UnknownIdentifierException
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
RuntimeInvisibleParameterAnnotations:
0:
1:
2:
com.oracle.truffle.api.library.CachedLibrary(value = "this.scope")
MethodParameters:
Name Flags
name
value
access
}
SourceFile: "DynamicScopeWrapper.java"
InnerClasses:
public abstract TruffleBoundary = com.oracle.truffle.api.CompilerDirectives$TruffleBoundary of com.oracle.truffle.api.CompilerDirectives
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportLibrary(value = Lcom/oracle/truffle/api/interop/InteropLibrary;)