abstract class com.oracle.truffle.js.builtins.PolyglotBuiltins$PolyglotGetSizeNode 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$PolyglotGetSizeNode
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.PolyglotBuiltins$PolyglotGetSizeNode this
start local 1 // com.oracle.truffle.js.runtime.JSContext context
start local 2 // com.oracle.truffle.js.nodes.function.JSBuiltin builtin
0: .line 706
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 707
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.PolyglotBuiltins$PolyglotGetSizeNode this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/builtins/PolyglotBuiltins$PolyglotGetSizeNode;
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 getSize(com.oracle.truffle.api.interop.TruffleObject, com.oracle.truffle.api.interop.InteropLibrary);
descriptor: (Lcom/oracle/truffle/api/interop/TruffleObject;Lcom/oracle/truffle/api/interop/InteropLibrary;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 // com.oracle.truffle.js.builtins.PolyglotBuiltins$PolyglotGetSizeNode this
start local 1 // com.oracle.truffle.api.interop.TruffleObject obj
start local 2 // com.oracle.truffle.api.interop.InteropLibrary interop
0: .line 713
aload 2 /* interop */
aload 1 /* obj */
invokevirtual com.oracle.truffle.api.interop.InteropLibrary.getArraySize:(Ljava/lang/Object;)J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
1: areturn
2: .line 714
StackMap locals:
StackMap stack: com.oracle.truffle.api.interop.UnsupportedMessageException
pop
3: .line 715
getstatic com.oracle.truffle.js.runtime.objects.Null.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
areturn
end local 2 // com.oracle.truffle.api.interop.InteropLibrary interop
end local 1 // com.oracle.truffle.api.interop.TruffleObject obj
end local 0 // com.oracle.truffle.js.builtins.PolyglotBuiltins$PolyglotGetSizeNode this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/builtins/PolyglotBuiltins$PolyglotGetSizeNode;
0 4 1 obj Lcom/oracle/truffle/api/interop/TruffleObject;
0 4 2 interop Lcom/oracle/truffle/api/interop/InteropLibrary;
Exception table:
from to target type
0 1 2 Class com.oracle.truffle.api.interop.UnsupportedMessageException
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization()
RuntimeInvisibleParameterAnnotations:
0:
1:
com.oracle.truffle.api.library.CachedLibrary(limit = "InteropLibraryLimit")
MethodParameters:
Name Flags
obj
interop
protected boolean unsupported(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 // com.oracle.truffle.js.builtins.PolyglotBuiltins$PolyglotGetSizeNode this
start local 1 // java.lang.Object obj
0: .line 722
ldc "getSize"
invokestatic com.oracle.truffle.js.runtime.Errors.createTypeErrorNotATruffleObject:(Ljava/lang/String;)Lcom/oracle/truffle/js/runtime/JSException;
athrow
end local 1 // java.lang.Object obj
end local 0 // com.oracle.truffle.js.builtins.PolyglotBuiltins$PolyglotGetSizeNode this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/builtins/PolyglotBuiltins$PolyglotGetSizeNode;
0 1 1 obj Ljava/lang/Object;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"!isTruffleObject(obj)"})
MethodParameters:
Name Flags
obj
}
SourceFile: "PolyglotBuiltins.java"
NestHost: com.oracle.truffle.js.builtins.PolyglotBuiltins
InnerClasses:
abstract PolyglotGetSizeNode = com.oracle.truffle.js.builtins.PolyglotBuiltins$PolyglotGetSizeNode of com.oracle.truffle.js.builtins.PolyglotBuiltins
RuntimeInvisibleAnnotations:
com.oracle.truffle.api.dsl.ImportStatic(value = {Lcom/oracle/truffle/js/runtime/JSConfig;})