abstract class com.oracle.truffle.js.builtins.GlobalBuiltins$JSGlobalImportScriptEngineGlobalBindingsNode extends com.oracle.truffle.js.nodes.function.JSBuiltinNode
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: com.oracle.truffle.js.builtins.GlobalBuiltins$JSGlobalImportScriptEngineGlobalBindingsNode
super_class: com.oracle.truffle.js.nodes.function.JSBuiltinNode
{
void <init>(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.js.nodes.function.JSBuiltin);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/function/JSBuiltin;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 // com.oracle.truffle.js.builtins.GlobalBuiltins$JSGlobalImportScriptEngineGlobalBindingsNode this
start local 1 // com.oracle.truffle.js.runtime.JSContext context
start local 2 // com.oracle.truffle.js.nodes.function.JSBuiltin builtin
0: .line 1640
aload 0 /* this */
aload 1 /* context */
aload 2 /* builtin */
invokespecial com.oracle.truffle.js.nodes.function.JSBuiltinNode.<init>:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/function/JSBuiltin;)V
1: .line 1641
return
end local 2 // com.oracle.truffle.js.nodes.function.JSBuiltin builtin
end local 1 // com.oracle.truffle.js.runtime.JSContext context
end local 0 // com.oracle.truffle.js.builtins.GlobalBuiltins$JSGlobalImportScriptEngineGlobalBindingsNode this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/builtins/GlobalBuiltins$JSGlobalImportScriptEngineGlobalBindingsNode;
0 2 1 context Lcom/oracle/truffle/js/runtime/JSContext;
0 2 2 builtin Lcom/oracle/truffle/js/nodes/function/JSBuiltin;
MethodParameters:
Name Flags
context
builtin
final java.lang.Object importGlobalContext(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 // com.oracle.truffle.js.builtins.GlobalBuiltins$JSGlobalImportScriptEngineGlobalBindingsNode this
start local 1 // java.lang.Object globalContextBindings
0: .line 1645
aload 0 /* this */
aload 1 /* globalContextBindings */
invokevirtual com.oracle.truffle.js.builtins.GlobalBuiltins$JSGlobalImportScriptEngineGlobalBindingsNode.doImport:(Ljava/lang/Object;)V
1: .line 1646
getstatic com.oracle.truffle.js.runtime.objects.Undefined.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
areturn
end local 1 // java.lang.Object globalContextBindings
end local 0 // com.oracle.truffle.js.builtins.GlobalBuiltins$JSGlobalImportScriptEngineGlobalBindingsNode this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/builtins/GlobalBuiltins$JSGlobalImportScriptEngineGlobalBindingsNode;
0 2 1 globalContextBindings Ljava/lang/Object;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization()
MethodParameters:
Name Flags
globalContextBindings
private void doImport(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=7, args_size=2
start local 0 // com.oracle.truffle.js.builtins.GlobalBuiltins$JSGlobalImportScriptEngineGlobalBindingsNode this
start local 1 // java.lang.Object globalContextBindings
0: .line 1651
aload 0 /* this */
invokevirtual com.oracle.truffle.js.builtins.GlobalBuiltins$JSGlobalImportScriptEngineGlobalBindingsNode.getContext:()Lcom/oracle/truffle/js/runtime/JSContext;
invokevirtual com.oracle.truffle.js.runtime.JSContext.getRealm:()Lcom/oracle/truffle/js/runtime/JSRealm;
invokevirtual com.oracle.truffle.js.runtime.JSRealm.getGlobalObject:()Lcom/oracle/truffle/api/object/DynamicObject;
astore 2 /* globalObject */
start local 2 // com.oracle.truffle.api.object.DynamicObject globalObject
1: .line 1652
aload 0 /* this */
invokevirtual com.oracle.truffle.js.builtins.GlobalBuiltins$JSGlobalImportScriptEngineGlobalBindingsNode.getContext:()Lcom/oracle/truffle/js/runtime/JSContext;
invokevirtual com.oracle.truffle.js.runtime.JSContext.getRealm:()Lcom/oracle/truffle/js/runtime/JSRealm;
invokevirtual com.oracle.truffle.js.runtime.JSRealm.getEnv:()Lcom/oracle/truffle/api/TruffleLanguage$Env;
aload 1 /* globalContextBindings */
invokevirtual com.oracle.truffle.api.TruffleLanguage$Env.asHostObject:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.script.Bindings
astore 3 /* bindings */
start local 3 // javax.script.Bindings bindings
2: .line 1653
aload 3 /* bindings */
invokeinterface javax.script.Bindings.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 7
StackMap locals: com.oracle.truffle.js.builtins.GlobalBuiltins$JSGlobalImportScriptEngineGlobalBindingsNode java.lang.Object com.oracle.truffle.api.object.DynamicObject javax.script.Bindings top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 4 /* entry */
start local 4 // java.util.Map$Entry entry
4: .line 1654
aload 4 /* entry */
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
astore 6 /* key */
start local 6 // java.lang.String key
5: .line 1655
aload 2 /* globalObject */
invokevirtual com.oracle.truffle.api.object.DynamicObject.getShape:()Lcom/oracle/truffle/api/object/Shape;
aload 6 /* key */
invokevirtual com.oracle.truffle.api.object.Shape.hasProperty:(Ljava/lang/Object;)Z
ifne 7
aload 2 /* globalObject */
invokestatic com.oracle.truffle.js.runtime.objects.JSObject.getPrototype:(Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/DynamicObject;
invokevirtual com.oracle.truffle.api.object.DynamicObject.getShape:()Lcom/oracle/truffle/api/object/Shape;
aload 6 /* key */
invokevirtual com.oracle.truffle.api.object.Shape.hasProperty:(Ljava/lang/Object;)Z
ifne 7
6: .line 1656
aload 2 /* globalObject */
aload 6 /* key */
new com.oracle.truffle.js.builtins.GlobalBuiltins$JSGlobalImportScriptEngineGlobalBindingsNode$ScriptEngineGlobalScopeBindingsPropertyProxy
dup
aload 0 /* this */
invokevirtual com.oracle.truffle.js.builtins.GlobalBuiltins$JSGlobalImportScriptEngineGlobalBindingsNode.getContext:()Lcom/oracle/truffle/js/runtime/JSContext;
aload 3 /* bindings */
aload 6 /* key */
invokespecial com.oracle.truffle.js.builtins.GlobalBuiltins$JSGlobalImportScriptEngineGlobalBindingsNode$ScriptEngineGlobalScopeBindingsPropertyProxy.<init>:(Lcom/oracle/truffle/js/runtime/JSContext;Ljavax/script/Bindings;Ljava/lang/String;)V
invokestatic com.oracle.truffle.js.runtime.objects.JSAttributes.getDefault:()I
invokestatic com.oracle.truffle.js.runtime.objects.JSObjectUtil.defineProxyProperty:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;Lcom/oracle/truffle/js/runtime/objects/PropertyProxy;I)V
end local 6 // java.lang.String key
end local 4 // java.util.Map$Entry entry
7: .line 1653
StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
8: .line 1659
return
end local 3 // javax.script.Bindings bindings
end local 2 // com.oracle.truffle.api.object.DynamicObject globalObject
end local 1 // java.lang.Object globalContextBindings
end local 0 // com.oracle.truffle.js.builtins.GlobalBuiltins$JSGlobalImportScriptEngineGlobalBindingsNode this
LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/oracle/truffle/js/builtins/GlobalBuiltins$JSGlobalImportScriptEngineGlobalBindingsNode;
0 9 1 globalContextBindings Ljava/lang/Object;
1 9 2 globalObject Lcom/oracle/truffle/api/object/DynamicObject;
2 9 3 bindings Ljavax/script/Bindings;
4 7 4 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/Object;>;
5 7 6 key Ljava/lang/String;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
globalContextBindings
}
SourceFile: "GlobalBuiltins.java"
NestHost: com.oracle.truffle.js.builtins.GlobalBuiltins
InnerClasses:
public abstract TruffleBoundary = com.oracle.truffle.api.CompilerDirectives$TruffleBoundary of com.oracle.truffle.api.CompilerDirectives
public final Env = com.oracle.truffle.api.TruffleLanguage$Env of com.oracle.truffle.api.TruffleLanguage
abstract JSGlobalImportScriptEngineGlobalBindingsNode = com.oracle.truffle.js.builtins.GlobalBuiltins$JSGlobalImportScriptEngineGlobalBindingsNode of com.oracle.truffle.js.builtins.GlobalBuiltins
private ScriptEngineGlobalScopeBindingsPropertyProxy = com.oracle.truffle.js.builtins.GlobalBuiltins$JSGlobalImportScriptEngineGlobalBindingsNode$ScriptEngineGlobalScopeBindingsPropertyProxy of com.oracle.truffle.js.builtins.GlobalBuiltins$JSGlobalImportScriptEngineGlobalBindingsNode
public abstract Entry = java.util.Map$Entry of java.util.Map