public abstract class com.oracle.truffle.js.nodes.access.DeclareGlobalLexicalVariableNode extends com.oracle.truffle.js.nodes.access.DeclareGlobalNode
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.oracle.truffle.js.nodes.access.DeclareGlobalLexicalVariableNode
super_class: com.oracle.truffle.js.nodes.access.DeclareGlobalNode
{
private final boolean isConst;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private com.oracle.truffle.js.nodes.access.JSGetOwnPropertyNode getOwnPropertyNode;
descriptor: Lcom/oracle/truffle/js/nodes/access/JSGetOwnPropertyNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
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/DeclareGlobalLexicalVariableNode;
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.DeclareGlobalLexicalVariableNode.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)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
aload 1
invokespecial com.oracle.truffle.js.nodes.access.DeclareGlobalNode.<init>:(Ljava/lang/String;)V
1: aload 0
iload 2
putfield com.oracle.truffle.js.nodes.access.DeclareGlobalLexicalVariableNode.isConst:Z
2: aload 0
iconst_0
invokestatic com.oracle.truffle.js.nodes.access.JSGetOwnPropertyNode.create:(Z)Lcom/oracle/truffle/js/nodes/access/JSGetOwnPropertyNode;
putfield com.oracle.truffle.js.nodes.access.DeclareGlobalLexicalVariableNode.getOwnPropertyNode:Lcom/oracle/truffle/js/nodes/access/JSGetOwnPropertyNode;
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/DeclareGlobalLexicalVariableNode;
0 4 1 varName Ljava/lang/String;
0 4 2 isConst Z
MethodParameters:
Name Flags
varName
isConst
public static com.oracle.truffle.js.nodes.access.DeclareGlobalLexicalVariableNode create(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Lcom/oracle/truffle/js/nodes/access/DeclareGlobalLexicalVariableNode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tDeclareGlobalLexicalVariableNodeGen cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
varName
isConst
public void verify(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.js.runtime.JSRealm);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/runtime/JSRealm;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial com.oracle.truffle.js.nodes.access.DeclareGlobalNode.verify:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/runtime/JSRealm;)V
1: aload 0
getfield com.oracle.truffle.js.nodes.access.DeclareGlobalLexicalVariableNode.getOwnPropertyNode:Lcom/oracle/truffle/js/nodes/access/JSGetOwnPropertyNode;
aload 2
invokevirtual com.oracle.truffle.js.runtime.JSRealm.getGlobalObject:()Lcom/oracle/truffle/api/object/DynamicObject;
aload 0
getfield com.oracle.truffle.js.nodes.access.DeclareGlobalLexicalVariableNode.varName:Ljava/lang/String;
invokevirtual com.oracle.truffle.js.nodes.access.JSGetOwnPropertyNode.execute:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;)Lcom/oracle/truffle/js/runtime/objects/PropertyDescriptor;
astore 3
start local 3 2: aload 3
ifnull 5
aload 3
invokevirtual com.oracle.truffle.js.runtime.objects.PropertyDescriptor.getConfigurable:()Z
ifne 5
3: aload 0
getfield com.oracle.truffle.js.nodes.access.DeclareGlobalLexicalVariableNode.errorProfile:Lcom/oracle/truffle/api/profiles/BranchProfile;
invokevirtual com.oracle.truffle.api.profiles.BranchProfile.enter:()V
4: aload 0
getfield com.oracle.truffle.js.nodes.access.DeclareGlobalLexicalVariableNode.varName:Ljava/lang/String;
aload 0
invokestatic com.oracle.truffle.js.runtime.Errors.createSyntaxErrorVariableAlreadyDeclared:(Ljava/lang/String;Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/js/runtime/JSException;
athrow
5: StackMap locals: com.oracle.truffle.js.runtime.objects.PropertyDescriptor
StackMap stack:
return
end local 3 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/DeclareGlobalLexicalVariableNode;
0 6 1 context Lcom/oracle/truffle/js/runtime/JSContext;
0 6 2 realm Lcom/oracle/truffle/js/runtime/JSRealm;
2 6 3 desc Lcom/oracle/truffle/js/runtime/objects/PropertyDescriptor;
MethodParameters:
Name Flags
context
realm
public final void executeVoid(com.oracle.truffle.api.frame.VirtualFrame, com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.js.runtime.JSRealm);
descriptor: (Lcom/oracle/truffle/api/frame/VirtualFrame;Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/runtime/JSRealm;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokevirtual com.oracle.truffle.js.runtime.JSRealm.getGlobalScope:()Lcom/oracle/truffle/api/object/DynamicObject;
astore 4
start local 4 1: getstatic com.oracle.truffle.js.nodes.access.DeclareGlobalLexicalVariableNode.$assertionsDisabled:Z
ifne 2
aload 4
aload 0
getfield com.oracle.truffle.js.nodes.access.DeclareGlobalLexicalVariableNode.varName:Ljava/lang/String;
invokestatic com.oracle.truffle.js.runtime.objects.JSObject.hasOwnProperty:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;)Z
ifeq 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: com.oracle.truffle.api.object.DynamicObject
StackMap stack:
getstatic com.oracle.truffle.js.nodes.access.DeclareGlobalLexicalVariableNode.$assertionsDisabled:Z
ifne 3
aload 4
invokestatic com.oracle.truffle.js.runtime.objects.JSObject.isExtensible:(Lcom/oracle/truffle/api/object/DynamicObject;)Z
ifne 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
aload 4
aload 2
invokevirtual com.oracle.truffle.js.nodes.access.DeclareGlobalLexicalVariableNode.executeVoid:(Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/js/runtime/JSContext;)V
4: return
end local 4 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/DeclareGlobalLexicalVariableNode;
0 5 1 frame Lcom/oracle/truffle/api/frame/VirtualFrame;
0 5 2 context Lcom/oracle/truffle/js/runtime/JSContext;
0 5 3 realm Lcom/oracle/truffle/js/runtime/JSRealm;
1 5 4 globalScope Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
frame
context
realm
private int getAttributeFlags();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.nodes.access.DeclareGlobalLexicalVariableNode.isConst:Z
ifeq 1
invokestatic com.oracle.truffle.js.runtime.objects.JSAttributes.notConfigurableEnumerableWritable:()I
bipush 32
ior
goto 2
StackMap locals:
StackMap stack:
1: invokestatic com.oracle.truffle.js.runtime.objects.JSAttributes.notConfigurableEnumerableWritable:()I
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/nodes/access/DeclareGlobalLexicalVariableNode;
protected abstract void executeVoid(com.oracle.truffle.api.object.DynamicObject, com.oracle.truffle.js.runtime.JSContext);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/js/runtime/JSContext;)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
globalScope
context
protected void doCached(com.oracle.truffle.api.object.DynamicObject, com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.js.nodes.access.PropertySetNode);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/access/PropertySetNode;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
aload 1
invokestatic com.oracle.truffle.js.runtime.objects.Dead.instance:()Lcom/oracle/truffle/js/runtime/objects/Dead;
invokevirtual com.oracle.truffle.js.nodes.access.PropertySetNode.setValue:(Ljava/lang/Object;Ljava/lang/Object;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/nodes/access/DeclareGlobalLexicalVariableNode;
0 2 1 globalScope Lcom/oracle/truffle/api/object/DynamicObject;
0 2 2 context Lcom/oracle/truffle/js/runtime/JSContext;
0 2 3 cache Lcom/oracle/truffle/js/nodes/access/PropertySetNode;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"context.getPropertyCacheLimit() > 0"})
RuntimeInvisibleParameterAnnotations:
0:
1:
2:
com.oracle.truffle.api.dsl.Cached(value = "makeDefineOwnPropertyCache(context)")
MethodParameters:
Name Flags
globalScope
context
cache
protected void doUncached(com.oracle.truffle.api.object.DynamicObject, com.oracle.truffle.js.runtime.JSContext);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/js/runtime/JSContext;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 1
aload 0
getfield com.oracle.truffle.js.nodes.access.DeclareGlobalLexicalVariableNode.varName:Ljava/lang/String;
invokestatic com.oracle.truffle.js.runtime.objects.Dead.instance:()Lcom/oracle/truffle/js/runtime/objects/Dead;
aload 0
invokevirtual com.oracle.truffle.js.nodes.access.DeclareGlobalLexicalVariableNode.getAttributeFlags:()I
invokestatic com.oracle.truffle.js.runtime.objects.JSObjectUtil.putDeclaredDataProperty:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;Ljava/lang/Object;I)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/nodes/access/DeclareGlobalLexicalVariableNode;
0 2 1 globalScope Lcom/oracle/truffle/api/object/DynamicObject;
0 2 2 context Lcom/oracle/truffle/js/runtime/JSContext;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(replaces = {"doCached"})
MethodParameters:
Name Flags
globalScope
context
protected final com.oracle.truffle.js.nodes.access.PropertySetNode makeDefineOwnPropertyCache(com.oracle.truffle.js.runtime.JSContext);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/access/PropertySetNode;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.nodes.access.DeclareGlobalLexicalVariableNode.varName:Ljava/lang/String;
iconst_0
aload 1
iconst_1
iconst_1
aload 0
invokevirtual com.oracle.truffle.js.nodes.access.DeclareGlobalLexicalVariableNode.getAttributeFlags:()I
iconst_1
invokestatic com.oracle.truffle.js.nodes.access.PropertySetNode.createImpl:(Ljava/lang/Object;ZLcom/oracle/truffle/js/runtime/JSContext;ZZIZ)Lcom/oracle/truffle/js/nodes/access/PropertySetNode;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/access/DeclareGlobalLexicalVariableNode;
0 1 1 context Lcom/oracle/truffle/js/runtime/JSContext;
MethodParameters:
Name Flags
context
public boolean isLexicallyDeclared();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
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/nodes/access/DeclareGlobalLexicalVariableNode;
protected com.oracle.truffle.js.nodes.access.DeclareGlobalNode copyUninitialized(java.util.Set<java.lang.Class<? extends com.oracle.truffle.api.instrumentation.Tag>>);
descriptor: (Ljava/util/Set;)Lcom/oracle/truffle/js/nodes/access/DeclareGlobalNode;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.nodes.access.DeclareGlobalLexicalVariableNode.varName:Ljava/lang/String;
aload 0
getfield com.oracle.truffle.js.nodes.access.DeclareGlobalLexicalVariableNode.isConst:Z
invokestatic com.oracle.truffle.js.nodes.access.DeclareGlobalLexicalVariableNode.create:(Ljava/lang/String;Z)Lcom/oracle/truffle/js/nodes/access/DeclareGlobalLexicalVariableNode;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/access/DeclareGlobalLexicalVariableNode;
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/access/DeclareGlobalNode;
MethodParameters:
Name Flags
materializedTags
}
SourceFile: "DeclareGlobalLexicalVariableNode.java"
InnerClasses:
public abstract Child = com.oracle.truffle.api.nodes.Node$Child of com.oracle.truffle.api.nodes.Node