abstract class com.oracle.truffle.js.builtins.PolyglotBuiltins$PolyglotWriteNode 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$PolyglotWriteNode
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 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: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/builtins/PolyglotBuiltins$PolyglotWriteNode;
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
protected java.lang.Object member(com.oracle.truffle.api.interop.TruffleObject, java.lang.String, java.lang.Object, com.oracle.truffle.js.nodes.interop.ExportValueNode, com.oracle.truffle.api.interop.InteropLibrary);
descriptor: (Lcom/oracle/truffle/api/interop/TruffleObject;Ljava/lang/String;Ljava/lang/Object;Lcom/oracle/truffle/js/nodes/interop/ExportValueNode;Lcom/oracle/truffle/api/interop/InteropLibrary;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=8, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 4
aload 3
invokevirtual com.oracle.truffle.js.nodes.interop.ExportValueNode.execute:(Ljava/lang/Object;)Ljava/lang/Object;
astore 6
start local 6 1: aload 5
aload 1
aload 2
aload 6
invokevirtual com.oracle.truffle.api.interop.InteropLibrary.writeMember:(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)V
2: aload 6
3: areturn
4: StackMap locals: com.oracle.truffle.js.builtins.PolyglotBuiltins$PolyglotWriteNode com.oracle.truffle.api.interop.TruffleObject java.lang.String java.lang.Object com.oracle.truffle.js.nodes.interop.ExportValueNode com.oracle.truffle.api.interop.InteropLibrary java.lang.Object
StackMap stack: com.oracle.truffle.api.interop.UnknownIdentifierException
pop
5: getstatic com.oracle.truffle.js.runtime.objects.Null.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
areturn
6: StackMap locals:
StackMap stack: com.oracle.truffle.api.interop.InteropException
astore 7
start local 7 7: aload 1
aload 7
ldc "writeMember"
aload 2
aload 0
invokestatic com.oracle.truffle.js.runtime.Errors.createTypeErrorInteropException:(Ljava/lang/Object;Lcom/oracle/truffle/api/interop/InteropException;Ljava/lang/String;Ljava/lang/Object;Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/js/runtime/JSException;
athrow
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/oracle/truffle/js/builtins/PolyglotBuiltins$PolyglotWriteNode;
0 8 1 obj Lcom/oracle/truffle/api/interop/TruffleObject;
0 8 2 name Ljava/lang/String;
0 8 3 value Ljava/lang/Object;
0 8 4 exportValue Lcom/oracle/truffle/js/nodes/interop/ExportValueNode;
0 8 5 interop Lcom/oracle/truffle/api/interop/InteropLibrary;
1 8 6 convertedValue Ljava/lang/Object;
7 8 7 e Lcom/oracle/truffle/api/interop/InteropException;
Exception table:
from to target type
1 3 4 Class com.oracle.truffle.api.interop.UnknownIdentifierException
1 3 6 Class com.oracle.truffle.api.interop.UnsupportedMessageException
1 3 6 Class com.oracle.truffle.api.interop.UnsupportedTypeException
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization()
RuntimeInvisibleParameterAnnotations:
0:
1:
2:
3:
com.oracle.truffle.api.dsl.Cached$Shared(value = "exportValue")
com.oracle.truffle.api.dsl.Cached()
4:
com.oracle.truffle.api.dsl.Cached$Shared(value = "interop")
com.oracle.truffle.api.library.CachedLibrary(limit = "InteropLibraryLimit")
MethodParameters:
Name Flags
obj
name
value
exportValue
interop
protected java.lang.Object arrayElementInt(com.oracle.truffle.api.interop.TruffleObject, int, java.lang.Object, com.oracle.truffle.js.nodes.interop.ExportValueNode, com.oracle.truffle.api.interop.InteropLibrary);
descriptor: (Lcom/oracle/truffle/api/interop/TruffleObject;ILjava/lang/Object;Lcom/oracle/truffle/js/nodes/interop/ExportValueNode;Lcom/oracle/truffle/api/interop/InteropLibrary;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=8, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 4
aload 3
invokevirtual com.oracle.truffle.js.nodes.interop.ExportValueNode.execute:(Ljava/lang/Object;)Ljava/lang/Object;
astore 6
start local 6 1: aload 5
aload 1
iload 2
i2l
aload 6
invokevirtual com.oracle.truffle.api.interop.InteropLibrary.writeArrayElement:(Ljava/lang/Object;JLjava/lang/Object;)V
2: aload 6
3: areturn
4: StackMap locals: com.oracle.truffle.js.builtins.PolyglotBuiltins$PolyglotWriteNode com.oracle.truffle.api.interop.TruffleObject int java.lang.Object com.oracle.truffle.js.nodes.interop.ExportValueNode com.oracle.truffle.api.interop.InteropLibrary java.lang.Object
StackMap stack: com.oracle.truffle.api.interop.InvalidArrayIndexException
pop
5: getstatic com.oracle.truffle.js.runtime.objects.Null.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
areturn
6: StackMap locals:
StackMap stack: com.oracle.truffle.api.interop.InteropException
astore 7
start local 7 7: aload 1
aload 7
ldc "writeArrayElement"
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 0
invokestatic com.oracle.truffle.js.runtime.Errors.createTypeErrorInteropException:(Ljava/lang/Object;Lcom/oracle/truffle/api/interop/InteropException;Ljava/lang/String;Ljava/lang/Object;Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/js/runtime/JSException;
athrow
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/oracle/truffle/js/builtins/PolyglotBuiltins$PolyglotWriteNode;
0 8 1 obj Lcom/oracle/truffle/api/interop/TruffleObject;
0 8 2 index I
0 8 3 value Ljava/lang/Object;
0 8 4 exportValue Lcom/oracle/truffle/js/nodes/interop/ExportValueNode;
0 8 5 interop Lcom/oracle/truffle/api/interop/InteropLibrary;
1 8 6 convertedValue Ljava/lang/Object;
7 8 7 e Lcom/oracle/truffle/api/interop/InteropException;
Exception table:
from to target type
1 3 4 Class com.oracle.truffle.api.interop.InvalidArrayIndexException
1 3 6 Class com.oracle.truffle.api.interop.UnsupportedMessageException
1 3 6 Class com.oracle.truffle.api.interop.UnsupportedTypeException
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization()
RuntimeInvisibleParameterAnnotations:
0:
1:
2:
3:
com.oracle.truffle.api.dsl.Cached$Shared(value = "exportValue")
com.oracle.truffle.api.dsl.Cached()
4:
com.oracle.truffle.api.dsl.Cached$Shared(value = "interop")
com.oracle.truffle.api.library.CachedLibrary(limit = "InteropLibraryLimit")
MethodParameters:
Name Flags
obj
index
value
exportValue
interop
protected java.lang.Object arrayElement(com.oracle.truffle.api.interop.TruffleObject, java.lang.Number, java.lang.Object, com.oracle.truffle.js.nodes.interop.ExportValueNode, com.oracle.truffle.api.interop.InteropLibrary);
descriptor: (Lcom/oracle/truffle/api/interop/TruffleObject;Ljava/lang/Number;Ljava/lang/Object;Lcom/oracle/truffle/js/nodes/interop/ExportValueNode;Lcom/oracle/truffle/api/interop/InteropLibrary;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=8, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 4
aload 3
invokevirtual com.oracle.truffle.js.nodes.interop.ExportValueNode.execute:(Ljava/lang/Object;)Ljava/lang/Object;
astore 6
start local 6 1: aload 5
aload 1
aload 2
invokestatic com.oracle.truffle.js.runtime.JSRuntime.longValue:(Ljava/lang/Number;)J
aload 6
invokevirtual com.oracle.truffle.api.interop.InteropLibrary.writeArrayElement:(Ljava/lang/Object;JLjava/lang/Object;)V
2: aload 6
3: areturn
4: StackMap locals: com.oracle.truffle.js.builtins.PolyglotBuiltins$PolyglotWriteNode com.oracle.truffle.api.interop.TruffleObject java.lang.Number java.lang.Object com.oracle.truffle.js.nodes.interop.ExportValueNode com.oracle.truffle.api.interop.InteropLibrary java.lang.Object
StackMap stack: com.oracle.truffle.api.interop.InvalidArrayIndexException
pop
5: getstatic com.oracle.truffle.js.runtime.objects.Null.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
areturn
6: StackMap locals:
StackMap stack: com.oracle.truffle.api.interop.InteropException
astore 7
start local 7 7: aload 1
aload 7
ldc "writeArrayElement"
aload 2
aload 0
invokestatic com.oracle.truffle.js.runtime.Errors.createTypeErrorInteropException:(Ljava/lang/Object;Lcom/oracle/truffle/api/interop/InteropException;Ljava/lang/String;Ljava/lang/Object;Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/js/runtime/JSException;
athrow
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/oracle/truffle/js/builtins/PolyglotBuiltins$PolyglotWriteNode;
0 8 1 obj Lcom/oracle/truffle/api/interop/TruffleObject;
0 8 2 index Ljava/lang/Number;
0 8 3 value Ljava/lang/Object;
0 8 4 exportValue Lcom/oracle/truffle/js/nodes/interop/ExportValueNode;
0 8 5 interop Lcom/oracle/truffle/api/interop/InteropLibrary;
1 8 6 convertedValue Ljava/lang/Object;
7 8 7 e Lcom/oracle/truffle/api/interop/InteropException;
Exception table:
from to target type
1 3 4 Class com.oracle.truffle.api.interop.InvalidArrayIndexException
1 3 6 Class com.oracle.truffle.api.interop.UnsupportedMessageException
1 3 6 Class com.oracle.truffle.api.interop.UnsupportedTypeException
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"isNumber(index)"}, replaces = {"arrayElementInt"})
RuntimeInvisibleParameterAnnotations:
0:
1:
2:
3:
com.oracle.truffle.api.dsl.Cached$Shared(value = "exportValue")
com.oracle.truffle.api.dsl.Cached()
4:
com.oracle.truffle.api.dsl.Cached$Shared(value = "interop")
com.oracle.truffle.api.library.CachedLibrary(limit = "InteropLibraryLimit")
MethodParameters:
Name Flags
obj
index
value
exportValue
interop
protected java.lang.Object unsupportedKey(com.oracle.truffle.api.interop.TruffleObject, java.lang.Object, java.lang.Object, com.oracle.truffle.js.nodes.interop.ExportValueNode, com.oracle.truffle.api.interop.InteropLibrary, com.oracle.truffle.api.interop.InteropLibrary);
descriptor: (Lcom/oracle/truffle/api/interop/TruffleObject;Ljava/lang/Object;Ljava/lang/Object;Lcom/oracle/truffle/js/nodes/interop/ExportValueNode;Lcom/oracle/truffle/api/interop/InteropLibrary;Lcom/oracle/truffle/api/interop/InteropLibrary;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=8, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 6
aload 2
invokevirtual com.oracle.truffle.api.interop.InteropLibrary.isString:(Ljava/lang/Object;)Z
ifeq 3
1: aload 0
aload 1
aload 6
aload 2
invokevirtual com.oracle.truffle.api.interop.InteropLibrary.asString:(Ljava/lang/Object;)Ljava/lang/String;
aload 3
aload 4
aload 5
invokevirtual com.oracle.truffle.js.builtins.PolyglotBuiltins$PolyglotWriteNode.member:(Lcom/oracle/truffle/api/interop/TruffleObject;Ljava/lang/String;Ljava/lang/Object;Lcom/oracle/truffle/js/nodes/interop/ExportValueNode;Lcom/oracle/truffle/api/interop/InteropLibrary;)Ljava/lang/Object;
2: areturn
3: StackMap locals:
StackMap stack:
aload 6
aload 2
invokevirtual com.oracle.truffle.api.interop.InteropLibrary.fitsInInt:(Ljava/lang/Object;)Z
ifeq 8
4: aload 0
aload 1
aload 6
aload 2
invokevirtual com.oracle.truffle.api.interop.InteropLibrary.asInt:(Ljava/lang/Object;)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 3
aload 4
aload 5
invokevirtual com.oracle.truffle.js.builtins.PolyglotBuiltins$PolyglotWriteNode.arrayElement:(Lcom/oracle/truffle/api/interop/TruffleObject;Ljava/lang/Number;Ljava/lang/Object;Lcom/oracle/truffle/js/nodes/interop/ExportValueNode;Lcom/oracle/truffle/api/interop/InteropLibrary;)Ljava/lang/Object;
5: areturn
6: StackMap locals:
StackMap stack: com.oracle.truffle.api.interop.UnsupportedMessageException
astore 7
start local 7 7: aload 1
aload 7
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 7 8: StackMap locals:
StackMap stack:
getstatic com.oracle.truffle.js.runtime.objects.Null.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/oracle/truffle/js/builtins/PolyglotBuiltins$PolyglotWriteNode;
0 9 1 obj Lcom/oracle/truffle/api/interop/TruffleObject;
0 9 2 key Ljava/lang/Object;
0 9 3 value Ljava/lang/Object;
0 9 4 exportValue Lcom/oracle/truffle/js/nodes/interop/ExportValueNode;
0 9 5 interop Lcom/oracle/truffle/api/interop/InteropLibrary;
0 9 6 keyInterop Lcom/oracle/truffle/api/interop/InteropLibrary;
7 8 7 e Lcom/oracle/truffle/api/interop/UnsupportedMessageException;
Exception table:
from to target type
0 2 6 Class com.oracle.truffle.api.interop.UnsupportedMessageException
3 5 6 Class com.oracle.truffle.api.interop.UnsupportedMessageException
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"!isString(key)", "!isNumber(key)"})
RuntimeInvisibleParameterAnnotations:
0:
1:
2:
3:
com.oracle.truffle.api.dsl.Cached$Shared(value = "exportValue")
com.oracle.truffle.api.dsl.Cached()
4:
com.oracle.truffle.api.dsl.Cached$Shared(value = "interop")
com.oracle.truffle.api.library.CachedLibrary(limit = "InteropLibraryLimit")
5:
com.oracle.truffle.api.library.CachedLibrary(limit = "InteropLibraryLimit")
MethodParameters:
Name Flags
obj
key
value
exportValue
interop
keyInterop
protected boolean unsupported(java.lang.Object, java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: ldc "write"
invokestatic com.oracle.truffle.js.runtime.Errors.createTypeErrorNotATruffleObject:(Ljava/lang/String;)Lcom/oracle/truffle/js/runtime/JSException;
athrow
end local 3 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$PolyglotWriteNode;
0 1 1 obj Ljava/lang/Object;
0 1 2 name Ljava/lang/Object;
0 1 3 value Ljava/lang/Object;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"!isTruffleObject(obj)"})
MethodParameters:
Name Flags
obj
name
value
}
SourceFile: "PolyglotBuiltins.java"
NestHost: com.oracle.truffle.js.builtins.PolyglotBuiltins
InnerClasses:
public abstract Shared = com.oracle.truffle.api.dsl.Cached$Shared of com.oracle.truffle.api.dsl.Cached
abstract PolyglotWriteNode = com.oracle.truffle.js.builtins.PolyglotBuiltins$PolyglotWriteNode of com.oracle.truffle.js.builtins.PolyglotBuiltins
RuntimeInvisibleAnnotations:
com.oracle.truffle.api.dsl.ImportStatic(value = {Lcom/oracle/truffle/js/runtime/JSConfig;})