public class com.oracle.truffle.js.nodes.access.GlobalDeclarationInstantiationNode extends com.oracle.truffle.js.nodes.control.StatementNode
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.truffle.js.nodes.access.GlobalDeclarationInstantiationNode
super_class: com.oracle.truffle.js.nodes.control.StatementNode
{
private final com.oracle.truffle.js.runtime.JSContext context;
descriptor: Lcom/oracle/truffle/js/runtime/JSContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.oracle.truffle.js.nodes.access.DeclareGlobalNode[] globalDeclarations;
descriptor: [Lcom/oracle/truffle/js/nodes/access/DeclareGlobalNode;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Children()
public static final com.oracle.truffle.js.nodes.access.DeclareGlobalNode[] EMPTY_DECLARATION_ARRAY;
descriptor: [Lcom/oracle/truffle/js/nodes/access/DeclareGlobalNode;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, 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/GlobalDeclarationInstantiationNode;
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.GlobalDeclarationInstantiationNode.$assertionsDisabled:Z
3: iconst_0
anewarray com.oracle.truffle.js.nodes.access.DeclareGlobalNode
putstatic com.oracle.truffle.js.nodes.access.GlobalDeclarationInstantiationNode.EMPTY_DECLARATION_ARRAY:[Lcom/oracle/truffle/js/nodes/access/DeclareGlobalNode;
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.js.nodes.access.DeclareGlobalNode[]);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;[Lcom/oracle/truffle/js/nodes/access/DeclareGlobalNode;)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
invokespecial com.oracle.truffle.js.nodes.control.StatementNode.<init>:()V
1: aload 0
aload 1
putfield com.oracle.truffle.js.nodes.access.GlobalDeclarationInstantiationNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
2: aload 0
aload 2
putfield com.oracle.truffle.js.nodes.access.GlobalDeclarationInstantiationNode.globalDeclarations:[Lcom/oracle/truffle/js/nodes/access/DeclareGlobalNode;
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/nodes/access/GlobalDeclarationInstantiationNode;
0 4 1 context Lcom/oracle/truffle/js/runtime/JSContext;
0 4 2 globalDeclarations [Lcom/oracle/truffle/js/nodes/access/DeclareGlobalNode;
MethodParameters:
Name Flags
context
globalDeclarations
public static com.oracle.truffle.js.nodes.JavaScriptNode create(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.js.nodes.access.DeclareGlobalNode[]);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;[Lcom/oracle/truffle/js/nodes/access/DeclareGlobalNode;)Lcom/oracle/truffle/js/nodes/JavaScriptNode;
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.nodes.access.GlobalDeclarationInstantiationNode
dup
aload 0
aload 1
invokespecial com.oracle.truffle.js.nodes.access.GlobalDeclarationInstantiationNode.<init>:(Lcom/oracle/truffle/js/runtime/JSContext;[Lcom/oracle/truffle/js/nodes/access/DeclareGlobalNode;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lcom/oracle/truffle/js/runtime/JSContext;
0 1 1 globalDeclarations [Lcom/oracle/truffle/js/nodes/access/DeclareGlobalNode;
MethodParameters:
Name Flags
context
globalDeclarations
public static com.oracle.truffle.js.nodes.JavaScriptNode create(com.oracle.truffle.js.runtime.JSContext, java.util.List<com.oracle.truffle.js.nodes.access.DeclareGlobalNode>);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Ljava/util/List;)Lcom/oracle/truffle/js/nodes/JavaScriptNode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getstatic com.oracle.truffle.js.nodes.access.GlobalDeclarationInstantiationNode.EMPTY_DECLARATION_ARRAY:[Lcom/oracle/truffle/js/nodes/access/DeclareGlobalNode;
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast com.oracle.truffle.js.nodes.access.DeclareGlobalNode[]
invokestatic com.oracle.truffle.js.nodes.access.GlobalDeclarationInstantiationNode.create:(Lcom/oracle/truffle/js/runtime/JSContext;[Lcom/oracle/truffle/js/nodes/access/DeclareGlobalNode;)Lcom/oracle/truffle/js/nodes/JavaScriptNode;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lcom/oracle/truffle/js/runtime/JSContext;
0 1 1 globalDeclarations Ljava/util/List<Lcom/oracle/truffle/js/nodes/access/DeclareGlobalNode;>;
Signature: (Lcom/oracle/truffle/js/runtime/JSContext;Ljava/util/List<Lcom/oracle/truffle/js/nodes/access/DeclareGlobalNode;>;)Lcom/oracle/truffle/js/nodes/JavaScriptNode;
MethodParameters:
Name Flags
context
globalDeclarations
public java.lang.Object execute(com.oracle.truffle.api.frame.VirtualFrame);
descriptor: (Lcom/oracle/truffle/api/frame/VirtualFrame;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.nodes.access.GlobalDeclarationInstantiationNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
invokevirtual com.oracle.truffle.js.runtime.JSContext.getRealm:()Lcom/oracle/truffle/js/runtime/JSRealm;
astore 2
start local 2 1: aload 0
aload 2
invokevirtual com.oracle.truffle.js.nodes.access.GlobalDeclarationInstantiationNode.verifyDeclarations:(Lcom/oracle/truffle/js/runtime/JSRealm;)V
2: aload 0
aload 1
aload 2
invokevirtual com.oracle.truffle.js.nodes.access.GlobalDeclarationInstantiationNode.instantiateDeclarations:(Lcom/oracle/truffle/api/frame/VirtualFrame;Lcom/oracle/truffle/js/runtime/JSRealm;)V
3: getstatic com.oracle.truffle.js.nodes.access.GlobalDeclarationInstantiationNode.EMPTY:Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/nodes/access/GlobalDeclarationInstantiationNode;
0 4 1 frame Lcom/oracle/truffle/api/frame/VirtualFrame;
1 4 2 realm Lcom/oracle/truffle/js/runtime/JSRealm;
MethodParameters:
Name Flags
frame
private void verifyDeclarations(com.oracle.truffle.js.runtime.JSRealm);
descriptor: (Lcom/oracle/truffle/js/runtime/JSRealm;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.nodes.access.GlobalDeclarationInstantiationNode.globalDeclarations:[Lcom/oracle/truffle/js/nodes/access/DeclareGlobalNode;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 4
StackMap locals: com.oracle.truffle.js.nodes.access.GlobalDeclarationInstantiationNode com.oracle.truffle.js.runtime.JSRealm top int int com.oracle.truffle.js.nodes.access.DeclareGlobalNode[]
StackMap stack:
1: aload 5
iload 3
aaload
astore 2
start local 2 2: aload 2
aload 0
getfield com.oracle.truffle.js.nodes.access.GlobalDeclarationInstantiationNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
aload 1
invokevirtual com.oracle.truffle.js.nodes.access.DeclareGlobalNode.verify:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/runtime/JSRealm;)V
end local 2 3: iinc 3 1
StackMap locals:
StackMap stack:
4: iload 3
iload 4
if_icmplt 1
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/truffle/js/nodes/access/GlobalDeclarationInstantiationNode;
0 6 1 realm Lcom/oracle/truffle/js/runtime/JSRealm;
2 3 2 declaration Lcom/oracle/truffle/js/nodes/access/DeclareGlobalNode;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.ExplodeLoop()
MethodParameters:
Name Flags
realm
private void instantiateDeclarations(com.oracle.truffle.api.frame.VirtualFrame, com.oracle.truffle.js.runtime.JSRealm);
descriptor: (Lcom/oracle/truffle/api/frame/VirtualFrame;Lcom/oracle/truffle/js/runtime/JSRealm;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.oracle.truffle.js.nodes.access.GlobalDeclarationInstantiationNode.globalDeclarations:[Lcom/oracle/truffle/js/nodes/access/DeclareGlobalNode;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 4
StackMap locals: com.oracle.truffle.js.nodes.access.GlobalDeclarationInstantiationNode com.oracle.truffle.api.frame.VirtualFrame com.oracle.truffle.js.runtime.JSRealm top int int com.oracle.truffle.js.nodes.access.DeclareGlobalNode[]
StackMap stack:
1: aload 6
iload 4
aaload
astore 3
start local 3 2: aload 3
aload 1
aload 0
getfield com.oracle.truffle.js.nodes.access.GlobalDeclarationInstantiationNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
aload 2
invokevirtual com.oracle.truffle.js.nodes.access.DeclareGlobalNode.executeVoid:(Lcom/oracle/truffle/api/frame/VirtualFrame;Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/runtime/JSRealm;)V
end local 3 3: iinc 4 1
StackMap locals:
StackMap stack:
4: iload 4
iload 5
if_icmplt 1
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/truffle/js/nodes/access/GlobalDeclarationInstantiationNode;
0 6 1 frame Lcom/oracle/truffle/api/frame/VirtualFrame;
0 6 2 realm Lcom/oracle/truffle/js/runtime/JSRealm;
2 3 3 declaration Lcom/oracle/truffle/js/nodes/access/DeclareGlobalNode;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.ExplodeLoop()
MethodParameters:
Name Flags
frame
realm
private static boolean hasLexicalDeclaration(com.oracle.truffle.api.object.DynamicObject, java.lang.String);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic com.oracle.truffle.js.runtime.objects.JSObject.getOwnProperty:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;)Lcom/oracle/truffle/js/runtime/objects/PropertyDescriptor;
astore 2
start local 2 1: aload 2
ifnull 2
iconst_1
ireturn
StackMap locals: com.oracle.truffle.js.runtime.objects.PropertyDescriptor
StackMap stack:
2: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 globalScope Lcom/oracle/truffle/api/object/DynamicObject;
0 3 1 varName Ljava/lang/String;
1 3 2 desc Lcom/oracle/truffle/js/runtime/objects/PropertyDescriptor;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
globalScope
varName
private static boolean hasRestrictedGlobalProperty(com.oracle.truffle.api.object.DynamicObject, java.lang.String);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic com.oracle.truffle.js.runtime.objects.JSObject.getOwnProperty:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;)Lcom/oracle/truffle/js/runtime/objects/PropertyDescriptor;
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
invokevirtual com.oracle.truffle.js.runtime.objects.PropertyDescriptor.getConfigurable:()Z
ifne 2
iconst_1
ireturn
StackMap locals: com.oracle.truffle.js.runtime.objects.PropertyDescriptor
StackMap stack:
2: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 globalObject Lcom/oracle/truffle/api/object/DynamicObject;
0 3 1 varName Ljava/lang/String;
1 3 2 desc Lcom/oracle/truffle/js/runtime/objects/PropertyDescriptor;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
globalObject
varName
private static boolean canDeclareGlobalFunction(com.oracle.truffle.api.object.DynamicObject, java.lang.String);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic com.oracle.truffle.js.runtime.objects.JSObject.getOwnProperty:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;)Lcom/oracle/truffle/js/runtime/objects/PropertyDescriptor;
astore 2
start local 2 1: aload 2
ifnull 3
aload 2
invokevirtual com.oracle.truffle.js.runtime.objects.PropertyDescriptor.getConfigurable:()Z
ifne 3
aload 2
invokevirtual com.oracle.truffle.js.runtime.objects.PropertyDescriptor.isDataDescriptor:()Z
ifeq 2
aload 2
invokevirtual com.oracle.truffle.js.runtime.objects.PropertyDescriptor.getWritable:()Z
ifeq 2
aload 2
invokevirtual com.oracle.truffle.js.runtime.objects.PropertyDescriptor.getEnumerable:()Z
ifne 3
StackMap locals: com.oracle.truffle.js.runtime.objects.PropertyDescriptor
StackMap stack:
2: iconst_0
ireturn
StackMap locals:
StackMap stack:
3: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 globalObject Lcom/oracle/truffle/api/object/DynamicObject;
0 4 1 varName Ljava/lang/String;
1 4 2 desc Lcom/oracle/truffle/js/runtime/objects/PropertyDescriptor;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
globalObject
varName
protected com.oracle.truffle.js.nodes.JavaScriptNode copyUninitialized(java.util.Set<java.lang.Class<? extends com.oracle.truffle.api.instrumentation.Tag>>);
descriptor: (Ljava/util/Set;)Lcom/oracle/truffle/js/nodes/JavaScriptNode;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new com.oracle.truffle.js.nodes.access.GlobalDeclarationInstantiationNode
dup
aload 0
getfield com.oracle.truffle.js.nodes.access.GlobalDeclarationInstantiationNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
aload 0
getfield com.oracle.truffle.js.nodes.access.GlobalDeclarationInstantiationNode.globalDeclarations:[Lcom/oracle/truffle/js/nodes/access/DeclareGlobalNode;
aload 1
invokestatic com.oracle.truffle.js.nodes.access.GlobalDeclarationInstantiationNode.cloneUninitialized:([Lcom/oracle/truffle/js/nodes/access/DeclareGlobalNode;Ljava/util/Set;)[Lcom/oracle/truffle/js/nodes/access/DeclareGlobalNode;
invokespecial com.oracle.truffle.js.nodes.access.GlobalDeclarationInstantiationNode.<init>:(Lcom/oracle/truffle/js/runtime/JSContext;[Lcom/oracle/truffle/js/nodes/access/DeclareGlobalNode;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/access/GlobalDeclarationInstantiationNode;
0 1 1 materializedTags Ljava/util/Set<Ljava/lang/Class<+Lcom/oracle/truffle/api/instrumentation/Tag;>;>;
Signature: (Ljava/util/Set<Ljava/lang/Class<+Lcom/oracle/truffle/api/instrumentation/Tag;>;>;)Lcom/oracle/truffle/js/nodes/JavaScriptNode;
MethodParameters:
Name Flags
materializedTags
private static com.oracle.truffle.js.nodes.access.DeclareGlobalNode[] cloneUninitialized(com.oracle.truffle.js.nodes.access.DeclareGlobalNode[], java.util.Set<java.lang.Class<? extends com.oracle.truffle.api.instrumentation.Tag>>);
descriptor: ([Lcom/oracle/truffle/js/nodes/access/DeclareGlobalNode;Ljava/util/Set;)[Lcom/oracle/truffle/js/nodes/access/DeclareGlobalNode;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.oracle.truffle.js.nodes.access.DeclareGlobalNode[].clone:()Ljava/lang/Object;
checkcast com.oracle.truffle.js.nodes.access.DeclareGlobalNode[]
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 5
3: StackMap locals: com.oracle.truffle.js.nodes.access.DeclareGlobalNode[] int
StackMap stack:
aload 2
iload 3
aload 2
iload 3
aaload
aload 1
invokevirtual com.oracle.truffle.js.nodes.access.DeclareGlobalNode.copyUninitialized:(Ljava/util/Set;)Lcom/oracle/truffle/js/nodes/access/DeclareGlobalNode;
aastore
4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
aload 2
arraylength
if_icmplt 3
end local 3 6: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 members [Lcom/oracle/truffle/js/nodes/access/DeclareGlobalNode;
0 7 1 materializedTags Ljava/util/Set<Ljava/lang/Class<+Lcom/oracle/truffle/api/instrumentation/Tag;>;>;
1 7 2 copy [Lcom/oracle/truffle/js/nodes/access/DeclareGlobalNode;
2 6 3 i I
Signature: ([Lcom/oracle/truffle/js/nodes/access/DeclareGlobalNode;Ljava/util/Set<Ljava/lang/Class<+Lcom/oracle/truffle/api/instrumentation/Tag;>;>;)[Lcom/oracle/truffle/js/nodes/access/DeclareGlobalNode;
MethodParameters:
Name Flags
members
materializedTags
public boolean isResultAlwaysOfType(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.oracle.truffle.js.nodes.access.GlobalDeclarationInstantiationNode.$assertionsDisabled:Z
ifne 1
getstatic com.oracle.truffle.js.nodes.access.GlobalDeclarationInstantiationNode.EMPTY:Ljava/lang/Object;
getstatic com.oracle.truffle.js.runtime.objects.Undefined.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
if_acmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 1
ldc Lcom/oracle/truffle/js/runtime/objects/Undefined;
if_acmpne 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/nodes/access/GlobalDeclarationInstantiationNode;
0 3 1 clazz Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
clazz
}
SourceFile: "GlobalDeclarationInstantiationNode.java"
InnerClasses:
public abstract TruffleBoundary = com.oracle.truffle.api.CompilerDirectives$TruffleBoundary of com.oracle.truffle.api.CompilerDirectives
public abstract Children = com.oracle.truffle.api.nodes.Node$Children of com.oracle.truffle.api.nodes.Node