abstract class com.oracle.truffle.js.builtins.PolyglotBuiltins$PolyglotExportNode 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.PolyglotBuiltins$PolyglotExportNode
super_class: com.oracle.truffle.js.nodes.function.JSBuiltinNode
{
private com.oracle.truffle.js.nodes.interop.ExportValueNode exportValue;
descriptor: Lcom/oracle/truffle/js/nodes/interop/ExportValueNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
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 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial com.oracle.truffle.js.nodes.function.JSBuiltinNode.<init>:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/function/JSBuiltin;)V
1: aload 0
invokestatic com.oracle.truffle.js.nodes.interop.ExportValueNode.create:()Lcom/oracle/truffle/js/nodes/interop/ExportValueNode;
putfield com.oracle.truffle.js.builtins.PolyglotBuiltins$PolyglotExportNode.exportValue:Lcom/oracle/truffle/js/nodes/interop/ExportValueNode;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/builtins/PolyglotBuiltins$PolyglotExportNode;
0 3 1 context Lcom/oracle/truffle/js/runtime/JSContext;
0 3 2 builtin Lcom/oracle/truffle/js/nodes/function/JSBuiltin;
MethodParameters:
Name Flags
context
builtin
protected java.lang.Object doString(java.lang.String, java.lang.Object, com.oracle.truffle.api.interop.InteropLibrary);
descriptor: (Ljava/lang/String;Ljava/lang/Object;Lcom/oracle/truffle/api/interop/InteropLibrary;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual com.oracle.truffle.js.builtins.PolyglotBuiltins$PolyglotExportNode.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;
invokevirtual com.oracle.truffle.api.TruffleLanguage$Env.getPolyglotBindings:()Ljava/lang/Object;
astore 4
start local 4 1: goto 4
end local 4 StackMap locals:
StackMap stack: java.lang.SecurityException
2: astore 5
start local 5 3: aload 5
invokestatic com.oracle.truffle.js.runtime.Errors.createErrorFromException:(Ljava/lang/Throwable;)Lcom/oracle/truffle/js/runtime/JSException;
athrow
end local 5 start local 4 4: StackMap locals: java.lang.Object
StackMap stack:
aload 4
aload 1
aload 2
aload 3
aload 0
getfield com.oracle.truffle.js.builtins.PolyglotBuiltins$PolyglotExportNode.exportValue:Lcom/oracle/truffle/js/nodes/interop/ExportValueNode;
aload 0
invokestatic com.oracle.truffle.js.runtime.interop.JSInteropUtil.writeMember:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Lcom/oracle/truffle/api/interop/InteropLibrary;Lcom/oracle/truffle/js/nodes/interop/ExportValueNode;Lcom/oracle/truffle/api/nodes/Node;)V
5: aload 2
areturn
end local 4 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/builtins/PolyglotBuiltins$PolyglotExportNode;
0 6 1 identifier Ljava/lang/String;
0 6 2 value Ljava/lang/Object;
0 6 3 interop Lcom/oracle/truffle/api/interop/InteropLibrary;
1 2 4 polyglotBindings Ljava/lang/Object;
4 6 4 polyglotBindings Ljava/lang/Object;
3 4 5 e Ljava/lang/SecurityException;
Exception table:
from to target type
0 1 2 Class java.lang.SecurityException
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization()
RuntimeInvisibleParameterAnnotations:
0:
1:
2:
com.oracle.truffle.api.dsl.Cached$Shared(value = "interop")
com.oracle.truffle.api.library.CachedLibrary(limit = "InteropLibraryLimit")
MethodParameters:
Name Flags
identifier
value
interop
protected java.lang.Object doMaybeUnbox(com.oracle.truffle.api.interop.TruffleObject, java.lang.Object, com.oracle.truffle.api.interop.InteropLibrary);
descriptor: (Lcom/oracle/truffle/api/interop/TruffleObject;Ljava/lang/Object;Lcom/oracle/truffle/api/interop/InteropLibrary;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
aload 1
invokevirtual com.oracle.truffle.api.interop.InteropLibrary.isString:(Ljava/lang/Object;)Z
ifeq 6
1: aload 3
aload 1
invokevirtual com.oracle.truffle.api.interop.InteropLibrary.asString:(Ljava/lang/Object;)Ljava/lang/String;
astore 4
start local 4 2: goto 5
end local 4 StackMap locals:
StackMap stack: com.oracle.truffle.api.interop.UnsupportedMessageException
3: astore 5
start local 5 4: aload 1
aload 5
aload 0
invokestatic com.oracle.truffle.js.runtime.Errors.createTypeErrorUnboxException:(Ljava/lang/Object;Lcom/oracle/truffle/api/interop/InteropException;Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/js/runtime/JSException;
athrow
end local 5 start local 4 5: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 4
aload 2
aload 3
invokevirtual com.oracle.truffle.js.builtins.PolyglotBuiltins$PolyglotExportNode.doString:(Ljava/lang/String;Ljava/lang/Object;Lcom/oracle/truffle/api/interop/InteropLibrary;)Ljava/lang/Object;
areturn
end local 4 6: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual com.oracle.truffle.js.builtins.PolyglotBuiltins$PolyglotExportNode.doInvalid:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/oracle/truffle/js/builtins/PolyglotBuiltins$PolyglotExportNode;
0 7 1 identifier Lcom/oracle/truffle/api/interop/TruffleObject;
0 7 2 value Ljava/lang/Object;
0 7 3 interop Lcom/oracle/truffle/api/interop/InteropLibrary;
2 3 4 unboxed Ljava/lang/String;
5 6 4 unboxed Ljava/lang/String;
4 5 5 e Lcom/oracle/truffle/api/interop/UnsupportedMessageException;
Exception table:
from to target type
1 2 3 Class com.oracle.truffle.api.interop.UnsupportedMessageException
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"!isString(identifier)"})
RuntimeInvisibleParameterAnnotations:
0:
1:
2:
com.oracle.truffle.api.dsl.Cached$Shared(value = "interop")
com.oracle.truffle.api.library.CachedLibrary(limit = "InteropLibraryLimit")
MethodParameters:
Name Flags
identifier
value
interop
protected java.lang.Object doInvalid(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic com.oracle.truffle.js.runtime.Errors.createTypeErrorInvalidIdentifier:(Ljava/lang/Object;)Lcom/oracle/truffle/js/runtime/JSException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/builtins/PolyglotBuiltins$PolyglotExportNode;
0 1 1 identifier Ljava/lang/Object;
0 1 2 value Ljava/lang/Object;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"!isString(identifier)"})
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
identifier
value
}
SourceFile: "PolyglotBuiltins.java"
NestHost: com.oracle.truffle.js.builtins.PolyglotBuiltins
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
public abstract Shared = com.oracle.truffle.api.dsl.Cached$Shared of com.oracle.truffle.api.dsl.Cached
public abstract Child = com.oracle.truffle.api.nodes.Node$Child of com.oracle.truffle.api.nodes.Node
abstract PolyglotExportNode = com.oracle.truffle.js.builtins.PolyglotBuiltins$PolyglotExportNode of com.oracle.truffle.js.builtins.PolyglotBuiltins
RuntimeInvisibleAnnotations:
com.oracle.truffle.api.dsl.ImportStatic(value = {Lcom/oracle/truffle/js/runtime/JSConfig;})