final class com.oracle.truffle.js.runtime.interop.ScopeMembers implements com.oracle.truffle.api.interop.TruffleObject
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.js.runtime.interop.ScopeMembers
super_class: java.lang.Object
{
private final com.oracle.truffle.api.frame.Frame frame;
descriptor: Lcom/oracle/truffle/api/frame/Frame;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.oracle.truffle.api.nodes.Node blockOrRoot;
descriptor: Lcom/oracle/truffle/api/nodes/Node;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.lang.Object[] members;
descriptor: [Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
void <init>(com.oracle.truffle.api.frame.Frame, com.oracle.truffle.api.nodes.Node);
descriptor: (Lcom/oracle/truffle/api/frame/Frame;Lcom/oracle/truffle/api/nodes/Node;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.oracle.truffle.js.runtime.interop.ScopeMembers.frame:Lcom/oracle/truffle/api/frame/Frame;
2: aload 0
aload 2
putfield com.oracle.truffle.js.runtime.interop.ScopeMembers.blockOrRoot:Lcom/oracle/truffle/api/nodes/Node;
3: return
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/ScopeMembers;
0 4 1 frame Lcom/oracle/truffle/api/frame/Frame;
0 4 2 blockOrRoot Lcom/oracle/truffle/api/nodes/Node;
MethodParameters:
Name Flags
frame
blockOrRoot
boolean hasArrayElements();
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/ScopeMembers;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
java.lang.Object readArrayElement(long);
descriptor: (J)Ljava/lang/Object;
flags: (0x0000)
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.oracle.truffle.js.runtime.interop.ScopeMembers.getAllMembers:()[Ljava/lang/Object;
astore 3
start local 3 1: lconst_0
lload 1
lcmp
ifgt 3
lload 1
aload 3
arraylength
i2l
lcmp
ifge 3
2: aload 3
lload 1
l2i
aaload
areturn
3: StackMap locals: java.lang.Object[]
StackMap stack:
lload 1
invokestatic com.oracle.truffle.api.interop.InvalidArrayIndexException.create:(J)Lcom/oracle/truffle/api/interop/InvalidArrayIndexException;
athrow
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/runtime/interop/ScopeMembers;
0 4 1 index J
1 4 3 allMembers [Ljava/lang/Object;
Exceptions:
throws com.oracle.truffle.api.interop.InvalidArrayIndexException
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
MethodParameters:
Name Flags
index
long getArraySize();
descriptor: ()J
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.oracle.truffle.js.runtime.interop.ScopeMembers.getAllMembers:()[Ljava/lang/Object;
arraylength
i2l
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/interop/ScopeMembers;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
boolean isArrayElementReadable(long);
descriptor: (J)Z
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: lconst_0
lload 1
lcmp
ifgt 1
lload 1
aload 0
invokevirtual com.oracle.truffle.js.runtime.interop.ScopeMembers.getAllMembers:()[Ljava/lang/Object;
arraylength
i2l
lcmp
ifge 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/runtime/interop/ScopeMembers;
0 2 1 index J
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
MethodParameters:
Name Flags
index
private java.lang.Object[] getAllMembers();
descriptor: ()[Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: ldc 1.0E-4
aload 0
getfield com.oracle.truffle.js.runtime.interop.ScopeMembers.members:[Ljava/lang/Object;
ifnonnull 1
iconst_1
goto 2
StackMap locals:
StackMap stack: double
1: iconst_0
StackMap locals: com.oracle.truffle.js.runtime.interop.ScopeMembers
StackMap stack: double int
2: invokestatic com.oracle.truffle.api.CompilerDirectives.injectBranchProbability:(DZ)Z
ifeq 4
3: aload 0
aload 0
invokevirtual com.oracle.truffle.js.runtime.interop.ScopeMembers.collectAllMembers:()[Ljava/lang/Object;
putfield com.oracle.truffle.js.runtime.interop.ScopeMembers.members:[Ljava/lang/Object;
4: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.runtime.interop.ScopeMembers.members:[Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/truffle/js/runtime/interop/ScopeMembers;
private java.lang.Object[] collectAllMembers();
descriptor: ()[Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=7, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 0
getfield com.oracle.truffle.js.runtime.interop.ScopeMembers.frame:Lcom/oracle/truffle/api/frame/Frame;
ifnonnull 16
2: aload 0
getfield com.oracle.truffle.js.runtime.interop.ScopeMembers.blockOrRoot:Lcom/oracle/truffle/api/nodes/Node;
astore 2
start local 2 3: goto 14
4: StackMap locals: java.util.List com.oracle.truffle.api.nodes.Node
StackMap stack:
aload 2
instanceof com.oracle.truffle.js.nodes.FrameDescriptorProvider
ifne 6
5: goto 37
6: StackMap locals:
StackMap stack:
aload 2
checkcast com.oracle.truffle.js.nodes.FrameDescriptorProvider
invokeinterface com.oracle.truffle.js.nodes.FrameDescriptorProvider.getFrameDescriptor:()Lcom/oracle/truffle/api/frame/FrameDescriptor;
astore 3
start local 3 7: aload 3
invokevirtual com.oracle.truffle.api.frame.FrameDescriptor.getSlots:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 12
StackMap locals: com.oracle.truffle.js.runtime.interop.ScopeMembers java.util.List com.oracle.truffle.api.nodes.Node com.oracle.truffle.api.frame.FrameDescriptor top java.util.Iterator
StackMap stack:
8: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.oracle.truffle.api.frame.FrameSlot
astore 4
start local 4 9: aload 4
invokestatic com.oracle.truffle.js.runtime.JSFrameUtil.isInternal:(Lcom/oracle/truffle/api/frame/FrameSlot;)Z
ifeq 11
10: goto 12
11: StackMap locals: com.oracle.truffle.js.runtime.interop.ScopeMembers java.util.List com.oracle.truffle.api.nodes.Node com.oracle.truffle.api.frame.FrameDescriptor com.oracle.truffle.api.frame.FrameSlot java.util.Iterator
StackMap stack:
aload 1
new com.oracle.truffle.js.runtime.interop.ScopeMembers$Key
dup
aload 4
invokevirtual com.oracle.truffle.api.frame.FrameSlot.getIdentifier:()Ljava/lang/Object;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aload 2
aload 4
invokespecial com.oracle.truffle.js.runtime.interop.ScopeMembers$Key.<init>:(Ljava/lang/String;Lcom/oracle/truffle/api/nodes/Node;Lcom/oracle/truffle/api/frame/FrameSlot;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 12: StackMap locals: com.oracle.truffle.js.runtime.interop.ScopeMembers java.util.List com.oracle.truffle.api.nodes.Node com.oracle.truffle.api.frame.FrameDescriptor top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
13: aload 2
invokevirtual com.oracle.truffle.api.nodes.Node.getParent:()Lcom/oracle/truffle/api/nodes/Node;
invokestatic com.oracle.truffle.js.nodes.JavaScriptNode.findBlockScopeNode:(Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/api/nodes/Node;
astore 2
end local 3 14: StackMap locals: com.oracle.truffle.js.runtime.interop.ScopeMembers java.util.List com.oracle.truffle.api.nodes.Node
StackMap stack:
aload 2
ifnonnull 4
end local 2 15: goto 37
16: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.runtime.interop.ScopeMembers.blockOrRoot:Lcom/oracle/truffle/api/nodes/Node;
astore 2
start local 2 17: aload 0
getfield com.oracle.truffle.js.runtime.interop.ScopeMembers.frame:Lcom/oracle/truffle/api/frame/Frame;
astore 3
start local 3 18: StackMap locals: com.oracle.truffle.api.nodes.Node com.oracle.truffle.api.frame.Frame
StackMap stack:
aload 3
astore 4
start local 4 19: StackMap locals: com.oracle.truffle.api.frame.Frame
StackMap stack:
aload 4
invokeinterface com.oracle.truffle.api.frame.Frame.getFrameDescriptor:()Lcom/oracle/truffle/api/frame/FrameDescriptor;
invokevirtual com.oracle.truffle.api.frame.FrameDescriptor.getSlots:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 26
StackMap locals: com.oracle.truffle.js.runtime.interop.ScopeMembers java.util.List com.oracle.truffle.api.nodes.Node com.oracle.truffle.api.frame.Frame com.oracle.truffle.api.frame.Frame top java.util.Iterator
StackMap stack:
20: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.oracle.truffle.api.frame.FrameSlot
astore 5
start local 5 21: aload 5
invokestatic com.oracle.truffle.js.runtime.JSFrameUtil.isInternal:(Lcom/oracle/truffle/api/frame/FrameSlot;)Z
ifeq 23
22: goto 26
23: StackMap locals: com.oracle.truffle.js.runtime.interop.ScopeMembers java.util.List com.oracle.truffle.api.nodes.Node com.oracle.truffle.api.frame.Frame com.oracle.truffle.api.frame.Frame com.oracle.truffle.api.frame.FrameSlot java.util.Iterator
StackMap stack:
aload 4
aload 5
invokestatic com.oracle.truffle.js.runtime.interop.ScopeMembers.isUnsetFrameSlot:(Lcom/oracle/truffle/api/frame/Frame;Lcom/oracle/truffle/api/frame/FrameSlot;)Z
ifeq 25
24: goto 26
25: StackMap locals:
StackMap stack:
aload 1
new com.oracle.truffle.js.runtime.interop.ScopeMembers$Key
dup
aload 5
invokevirtual com.oracle.truffle.api.frame.FrameSlot.getIdentifier:()Ljava/lang/Object;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aload 2
aload 5
invokespecial com.oracle.truffle.js.runtime.interop.ScopeMembers$Key.<init>:(Ljava/lang/String;Lcom/oracle/truffle/api/nodes/Node;Lcom/oracle/truffle/api/frame/FrameSlot;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 26: StackMap locals: com.oracle.truffle.js.runtime.interop.ScopeMembers java.util.List com.oracle.truffle.api.nodes.Node com.oracle.truffle.api.frame.Frame com.oracle.truffle.api.frame.Frame top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 20
27: aload 4
invokeinterface com.oracle.truffle.api.frame.Frame.getFrameDescriptor:()Lcom/oracle/truffle/api/frame/FrameDescriptor;
getstatic com.oracle.truffle.js.nodes.access.ScopeFrameNode.PARENT_SCOPE_IDENTIFIER:Ljava/lang/Object;
invokevirtual com.oracle.truffle.api.frame.FrameDescriptor.findFrameSlot:(Ljava/lang/Object;)Lcom/oracle/truffle/api/frame/FrameSlot;
astore 5
start local 5 28: aload 5
ifnonnull 31
29: aload 1
new com.oracle.truffle.js.runtime.interop.ScopeMembers$Key
dup
ldc "this"
aload 2
aconst_null
invokespecial com.oracle.truffle.js.runtime.interop.ScopeMembers$Key.<init>:(Ljava/lang/String;Lcom/oracle/truffle/api/nodes/Node;Lcom/oracle/truffle/api/frame/FrameSlot;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
30: goto 35
31: StackMap locals: com.oracle.truffle.js.runtime.interop.ScopeMembers java.util.List com.oracle.truffle.api.nodes.Node com.oracle.truffle.api.frame.Frame com.oracle.truffle.api.frame.Frame com.oracle.truffle.api.frame.FrameSlot
StackMap stack:
aload 4
aload 5
invokestatic com.oracle.truffle.api.frame.FrameUtil.getObjectSafe:(Lcom/oracle/truffle/api/frame/Frame;Lcom/oracle/truffle/api/frame/FrameSlot;)Ljava/lang/Object;
checkcast com.oracle.truffle.api.frame.Frame
astore 4
32: aload 2
ifnull 19
33: aload 2
invokevirtual com.oracle.truffle.api.nodes.Node.getParent:()Lcom/oracle/truffle/api/nodes/Node;
invokestatic com.oracle.truffle.js.nodes.JavaScriptNode.findBlockScopeNode:(Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/api/nodes/Node;
astore 2
end local 5 34: goto 19
35: StackMap locals:
StackMap stack:
aload 3
invokeinterface com.oracle.truffle.api.frame.Frame.getArguments:()[Ljava/lang/Object;
invokestatic com.oracle.truffle.js.runtime.JSArguments.getEnclosingFrame:([Ljava/lang/Object;)Lcom/oracle/truffle/api/frame/MaterializedFrame;
astore 3
36: aload 3
getstatic com.oracle.truffle.js.runtime.JSFrameUtil.NULL_MATERIALIZED_FRAME:Lcom/oracle/truffle/api/frame/MaterializedFrame;
if_acmpne 18
end local 4 end local 3 end local 2 37: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.List.toArray:()[Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 38 0 this Lcom/oracle/truffle/js/runtime/interop/ScopeMembers;
1 38 1 membersList Ljava/util/List<Ljava/lang/Object;>;
3 15 2 descNode Lcom/oracle/truffle/api/nodes/Node;
7 14 3 desc Lcom/oracle/truffle/api/frame/FrameDescriptor;
9 12 4 slot Lcom/oracle/truffle/api/frame/FrameSlot;
17 37 2 descNode Lcom/oracle/truffle/api/nodes/Node;
18 37 3 outerFrame Lcom/oracle/truffle/api/frame/Frame;
19 37 4 outerScope Lcom/oracle/truffle/api/frame/Frame;
21 26 5 slot Lcom/oracle/truffle/api/frame/FrameSlot;
28 34 5 parentSlot Lcom/oracle/truffle/api/frame/FrameSlot;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
static boolean isUnsetFrameSlot(com.oracle.truffle.api.frame.Frame, com.oracle.truffle.api.frame.FrameSlot);
descriptor: (Lcom/oracle/truffle/api/frame/Frame;Lcom/oracle/truffle/api/frame/FrameSlot;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
ifnull 4
aload 0
aload 1
invokeinterface com.oracle.truffle.api.frame.Frame.isObject:(Lcom/oracle/truffle/api/frame/FrameSlot;)Z
ifeq 4
1: aload 0
aload 1
invokestatic com.oracle.truffle.api.frame.FrameUtil.getObjectSafe:(Lcom/oracle/truffle/api/frame/Frame;Lcom/oracle/truffle/api/frame/FrameSlot;)Ljava/lang/Object;
astore 2
start local 2 2: aload 2
ifnull 3
aload 2
invokestatic com.oracle.truffle.js.runtime.objects.Dead.instance:()Lcom/oracle/truffle/js/runtime/objects/Dead;
if_acmpeq 3
aload 2
instanceof com.oracle.truffle.api.frame.Frame
ifeq 4
3: StackMap locals: java.lang.Object
StackMap stack:
iconst_1
ireturn
end local 2 4: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 frame Lcom/oracle/truffle/api/frame/Frame;
0 5 1 slot Lcom/oracle/truffle/api/frame/FrameSlot;
2 4 2 value Ljava/lang/Object;
MethodParameters:
Name Flags
frame
slot
}
SourceFile: "ScopeMembers.java"
NestMembers:
com.oracle.truffle.js.runtime.interop.ScopeMembers$Key com.oracle.truffle.js.runtime.interop.ScopeMembers$Key$1DeclarationFinder
InnerClasses:
public abstract TruffleBoundary = com.oracle.truffle.api.CompilerDirectives$TruffleBoundary of com.oracle.truffle.api.CompilerDirectives
final Key = com.oracle.truffle.js.runtime.interop.ScopeMembers$Key of com.oracle.truffle.js.runtime.interop.ScopeMembers
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportLibrary(value = Lcom/oracle/truffle/api/interop/InteropLibrary;)