public final class com.oracle.truffle.js.runtime.builtins.JSArrayObject extends com.oracle.truffle.js.runtime.builtins.JSArrayBase implements com.oracle.truffle.js.runtime.objects.JSCopyableObject
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.js.runtime.builtins.JSArrayObject
super_class: com.oracle.truffle.js.runtime.builtins.JSArrayBase
{
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/runtime/builtins/JSArrayObject;
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.runtime.builtins.JSArrayObject.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(com.oracle.truffle.api.object.Shape, com.oracle.truffle.js.runtime.array.ScriptArray, java.lang.Object, com.oracle.truffle.js.runtime.array.ArrayAllocationSite, long, int, int, int, int);
descriptor: (Lcom/oracle/truffle/api/object/Shape;Lcom/oracle/truffle/js/runtime/array/ScriptArray;Ljava/lang/Object;Lcom/oracle/truffle/js/runtime/array/ArrayAllocationSite;JIIII)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=11, locals=11, args_size=10
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 7 start local 8 start local 9 start local 10 0: aload 0
aload 1
aload 2
aload 3
aload 4
lload 5
iload 7
iload 8
iload 9
iload 10
invokespecial com.oracle.truffle.js.runtime.builtins.JSArrayBase.<init>:(Lcom/oracle/truffle/api/object/Shape;Lcom/oracle/truffle/js/runtime/array/ScriptArray;Ljava/lang/Object;Lcom/oracle/truffle/js/runtime/array/ArrayAllocationSite;JIIII)V
1: return
end local 10 end local 9 end local 8 end local 7 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 2 0 this Lcom/oracle/truffle/js/runtime/builtins/JSArrayObject;
0 2 1 shape Lcom/oracle/truffle/api/object/Shape;
0 2 2 arrayType Lcom/oracle/truffle/js/runtime/array/ScriptArray;
0 2 3 array Ljava/lang/Object;
0 2 4 site Lcom/oracle/truffle/js/runtime/array/ArrayAllocationSite;
0 2 5 length J
0 2 7 usedLength I
0 2 8 indexOffset I
0 2 9 arrayOffset I
0 2 10 holeCount I
MethodParameters:
Name Flags
shape
arrayType
array
site
length
usedLength
indexOffset
arrayOffset
holeCount
public static com.oracle.truffle.api.object.DynamicObject create(com.oracle.truffle.api.object.Shape, com.oracle.truffle.js.runtime.array.ScriptArray, java.lang.Object, com.oracle.truffle.js.runtime.array.ArrayAllocationSite, long, int, int, int, int);
descriptor: (Lcom/oracle/truffle/api/object/Shape;Lcom/oracle/truffle/js/runtime/array/ScriptArray;Ljava/lang/Object;Lcom/oracle/truffle/js/runtime/array/ArrayAllocationSite;JIIII)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=12, locals=10, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 6 start local 7 start local 8 start local 9 0: new com.oracle.truffle.js.runtime.builtins.JSArrayObject
dup
aload 0
aload 1
aload 2
aload 3
lload 4
iload 6
iload 7
iload 8
iload 9
invokespecial com.oracle.truffle.js.runtime.builtins.JSArrayObject.<init>:(Lcom/oracle/truffle/api/object/Shape;Lcom/oracle/truffle/js/runtime/array/ScriptArray;Ljava/lang/Object;Lcom/oracle/truffle/js/runtime/array/ArrayAllocationSite;JIIII)V
areturn
end local 9 end local 8 end local 7 end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 shape Lcom/oracle/truffle/api/object/Shape;
0 1 1 arrayType Lcom/oracle/truffle/js/runtime/array/ScriptArray;
0 1 2 array Ljava/lang/Object;
0 1 3 site Lcom/oracle/truffle/js/runtime/array/ArrayAllocationSite;
0 1 4 length J
0 1 6 usedLength I
0 1 7 indexOffset I
0 1 8 arrayOffset I
0 1 9 holeCount I
MethodParameters:
Name Flags
shape
arrayType
array
site
length
usedLength
indexOffset
arrayOffset
holeCount
public static com.oracle.truffle.api.object.DynamicObject createEmpty(com.oracle.truffle.api.object.Shape, com.oracle.truffle.js.runtime.array.ScriptArray);
descriptor: (Lcom/oracle/truffle/api/object/Shape;Lcom/oracle/truffle/js/runtime/array/ScriptArray;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=12, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.oracle.truffle.js.runtime.builtins.JSArrayObject.$assertionsDisabled:Z
ifne 1
aload 1
instanceof com.oracle.truffle.js.runtime.array.dyn.AbstractConstantEmptyArray
ifne 1
aload 1
instanceof com.oracle.truffle.js.runtime.array.dyn.ConstantObjectArray
ifne 1
aload 1
instanceof com.oracle.truffle.js.runtime.array.dyn.AbstractObjectArray
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
new com.oracle.truffle.js.runtime.builtins.JSArrayObject
dup
aload 0
aload 1
getstatic com.oracle.truffle.js.runtime.array.ScriptArray.EMPTY_OBJECT_ARRAY:[Ljava/lang/Object;
aconst_null
lconst_0
iconst_0
iconst_0
iconst_0
iconst_0
invokespecial com.oracle.truffle.js.runtime.builtins.JSArrayObject.<init>:(Lcom/oracle/truffle/api/object/Shape;Lcom/oracle/truffle/js/runtime/array/ScriptArray;Ljava/lang/Object;Lcom/oracle/truffle/js/runtime/array/ArrayAllocationSite;JIIII)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 shape Lcom/oracle/truffle/api/object/Shape;
0 2 1 arrayType Lcom/oracle/truffle/js/runtime/array/ScriptArray;
MethodParameters:
Name Flags
shape
arrayType
public com.oracle.truffle.js.runtime.builtins.JSAbstractArray getJSClass();
descriptor: ()Lcom/oracle/truffle/js/runtime/builtins/JSAbstractArray;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.oracle.truffle.js.runtime.builtins.JSArrayBase.getJSClass:()Lcom/oracle/truffle/js/runtime/builtins/JSClass;
checkcast com.oracle.truffle.js.runtime.builtins.JSAbstractArray
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/builtins/JSArrayObject;
protected com.oracle.truffle.js.runtime.objects.JSObject copyWithoutProperties(com.oracle.truffle.api.object.Shape);
descriptor: (Lcom/oracle/truffle/api/object/Shape;)Lcom/oracle/truffle/js/runtime/objects/JSObject;
flags: (0x0004) ACC_PROTECTED
Code:
stack=12, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.oracle.truffle.js.runtime.builtins.JSArrayObject.getArrayType:()Lcom/oracle/truffle/js/runtime/array/ScriptArray;
checkcast com.oracle.truffle.js.runtime.array.DynamicArray
aload 0
invokevirtual com.oracle.truffle.js.runtime.array.DynamicArray.cloneArray:(Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/lang/Object;
astore 2
start local 2 1: new com.oracle.truffle.js.runtime.builtins.JSArrayObject
dup
aload 1
aload 0
invokevirtual com.oracle.truffle.js.runtime.builtins.JSArrayObject.getArrayType:()Lcom/oracle/truffle/js/runtime/array/ScriptArray;
aload 2
aconst_null
aload 0
getfield com.oracle.truffle.js.runtime.builtins.JSArrayObject.length:I
i2l
aload 0
getfield com.oracle.truffle.js.runtime.builtins.JSArrayObject.usedLength:I
aload 0
getfield com.oracle.truffle.js.runtime.builtins.JSArrayObject.indexOffset:I
aload 0
getfield com.oracle.truffle.js.runtime.builtins.JSArrayObject.arrayOffset:I
aload 0
getfield com.oracle.truffle.js.runtime.builtins.JSArrayObject.holeCount:I
invokespecial com.oracle.truffle.js.runtime.builtins.JSArrayObject.<init>:(Lcom/oracle/truffle/api/object/Shape;Lcom/oracle/truffle/js/runtime/array/ScriptArray;Ljava/lang/Object;Lcom/oracle/truffle/js/runtime/array/ArrayAllocationSite;JIIII)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/runtime/builtins/JSArrayObject;
0 2 1 shape Lcom/oracle/truffle/api/object/Shape;
1 2 2 clonedArray Ljava/lang/Object;
MethodParameters:
Name Flags
shape
public boolean hasArrayElements();
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/runtime/builtins/JSArrayObject;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
public long getArraySize();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.oracle.truffle.js.runtime.builtins.JSArray.arrayGetLength:(Lcom/oracle/truffle/api/object/DynamicObject;)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/builtins/JSArrayObject;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
public readArrayElement(long, com.oracle.truffle.api.TruffleLanguage$LanguageReference<com.oracle.truffle.js.lang.JavaScriptLanguage>, com.oracle.truffle.js.nodes.access.ReadElementNode, com.oracle.truffle.js.nodes.interop.ExportValueNode, com.oracle.truffle.api.interop.InteropLibrary);
descriptor: (JLcom/oracle/truffle/api/TruffleLanguage$LanguageReference;Lcom/oracle/truffle/js/nodes/access/ReadElementNode;Lcom/oracle/truffle/js/nodes/interop/ExportValueNode;Lcom/oracle/truffle/api/interop/InteropLibrary;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=6
start local 0 start local 1 start local 3 start local 4 start local 5 start local 6 0: lload 1
lconst_0
lcmp
iflt 1
lload 1
aload 6
aload 0
invokevirtual com.oracle.truffle.api.interop.InteropLibrary.getArraySize:(Ljava/lang/Object;)J
lcmp
iflt 2
1: StackMap locals:
StackMap stack:
lload 1
invokestatic com.oracle.truffle.api.interop.InvalidArrayIndexException.create:(J)Lcom/oracle/truffle/api/interop/InvalidArrayIndexException;
athrow
2: StackMap locals:
StackMap stack:
aload 4
ifnonnull 5
3: aload 0
lload 1
aload 0
getstatic com.oracle.truffle.js.runtime.objects.Undefined.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
invokestatic com.oracle.truffle.js.runtime.objects.JSObject.getOrDefault:(Lcom/oracle/truffle/api/object/DynamicObject;JLjava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
astore 7
start local 7 4: goto 6
end local 7 5: StackMap locals:
StackMap stack:
aload 4
aload 0
lload 1
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
getstatic com.oracle.truffle.js.runtime.objects.Undefined.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
invokevirtual com.oracle.truffle.js.nodes.access.ReadElementNode.executeWithTargetAndIndexOrDefault:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
astore 7
start local 7 6: StackMap locals: java.lang.Object
StackMap stack:
aload 5
aload 7
invokevirtual com.oracle.truffle.js.nodes.interop.ExportValueNode.execute:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/oracle/truffle/js/runtime/builtins/JSArrayObject;
0 7 1 index J
0 7 3 languageRef Lcom/oracle/truffle/api/TruffleLanguage$LanguageReference<Lcom/oracle/truffle/js/lang/JavaScriptLanguage;>;
0 7 4 readNode Lcom/oracle/truffle/js/nodes/access/ReadElementNode;
0 7 5 exportNode Lcom/oracle/truffle/js/nodes/interop/ExportValueNode;
0 7 6 thisLibrary Lcom/oracle/truffle/api/interop/InteropLibrary;
4 5 7 result Ljava/lang/Object;
6 7 7 result Ljava/lang/Object;
Exceptions:
throws com.oracle.truffle.api.interop.InvalidArrayIndexException, com.oracle.truffle.api.interop.UnsupportedMessageException
Signature: (JLcom/oracle/truffle/api/TruffleLanguage$LanguageReference<Lcom/oracle/truffle/js/lang/JavaScriptLanguage;>;Lcom/oracle/truffle/js/nodes/access/ReadElementNode;Lcom/oracle/truffle/js/nodes/interop/ExportValueNode;Lcom/oracle/truffle/api/interop/InteropLibrary;)Ljava/lang/Object;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
RuntimeInvisibleParameterAnnotations:
0:
1:
com.oracle.truffle.api.dsl.CachedLanguage()
2:
com.oracle.truffle.api.dsl.Cached(value = "create(languageRef.get().getJSContext())", uncached = "getUncachedRead()")
3:
com.oracle.truffle.api.dsl.Cached()
4:
com.oracle.truffle.api.library.CachedLibrary(value = "this")
MethodParameters:
Name Flags
index
languageRef
readNode
exportNode
thisLibrary
public boolean isArrayElementReadable(long, com.oracle.truffle.api.interop.InteropLibrary);
descriptor: (JLcom/oracle/truffle/api/interop/InteropLibrary;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 3 0: lload 1
lconst_0
lcmp
iflt 1
lload 1
aload 3
aload 0
invokevirtual com.oracle.truffle.api.interop.InteropLibrary.getArraySize:(Ljava/lang/Object;)J
lcmp
ifge 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
2: ireturn
3: StackMap locals:
StackMap stack: com.oracle.truffle.api.interop.UnsupportedMessageException
astore 4
start local 4 4: aload 4
invokestatic com.oracle.truffle.js.runtime.Errors.shouldNotReachHere:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/truffle/js/runtime/builtins/JSArrayObject;
0 5 1 index J
0 5 3 thisLibrary Lcom/oracle/truffle/api/interop/InteropLibrary;
4 5 4 e Lcom/oracle/truffle/api/interop/UnsupportedMessageException;
Exception table:
from to target type
0 2 3 Class com.oracle.truffle.api.interop.UnsupportedMessageException
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
RuntimeInvisibleParameterAnnotations:
0:
1:
com.oracle.truffle.api.library.CachedLibrary(value = "this")
MethodParameters:
Name Flags
index
thisLibrary
public void writeArrayElement(long, , com.oracle.truffle.js.nodes.interop.ArrayElementInfoNode, com.oracle.truffle.js.nodes.interop.ImportValueNode, com.oracle.truffle.api.TruffleLanguage$LanguageReference<com.oracle.truffle.js.lang.JavaScriptLanguage>, com.oracle.truffle.js.nodes.access.WriteElementNode);
descriptor: (JLjava/lang/Object;Lcom/oracle/truffle/js/nodes/interop/ArrayElementInfoNode;Lcom/oracle/truffle/js/nodes/interop/ImportValueNode;Lcom/oracle/truffle/api/TruffleLanguage$LanguageReference;Lcom/oracle/truffle/js/nodes/access/WriteElementNode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=9, args_size=7
start local 0 start local 1 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 4
aload 0
lload 1
bipush 6
invokevirtual com.oracle.truffle.js.nodes.interop.ArrayElementInfoNode.executeCheck:(Lcom/oracle/truffle/js/runtime/builtins/JSArrayBase;JI)V
1: aload 5
aload 3
invokevirtual com.oracle.truffle.js.nodes.interop.ImportValueNode.executeWithTarget:(Ljava/lang/Object;)Ljava/lang/Object;
astore 8
start local 8 2: aload 7
ifnonnull 5
3: aload 0
lload 1
aload 8
iconst_1
aconst_null
invokestatic com.oracle.truffle.js.runtime.objects.JSObject.set:(Lcom/oracle/truffle/api/object/DynamicObject;JLjava/lang/Object;ZLcom/oracle/truffle/api/nodes/Node;)Z
pop
4: goto 6
5: StackMap locals: java.lang.Object
StackMap stack:
aload 7
aload 0
lload 1
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aload 8
invokevirtual com.oracle.truffle.js.nodes.access.WriteElementNode.executeWithTargetAndIndexAndValue:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V
6: StackMap locals:
StackMap stack:
return
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/oracle/truffle/js/runtime/builtins/JSArrayObject;
0 7 1 index J
0 7 3 value Ljava/lang/Object;
0 7 4 elements Lcom/oracle/truffle/js/nodes/interop/ArrayElementInfoNode;
0 7 5 castValueNode Lcom/oracle/truffle/js/nodes/interop/ImportValueNode;
0 7 6 languageRef Lcom/oracle/truffle/api/TruffleLanguage$LanguageReference<Lcom/oracle/truffle/js/lang/JavaScriptLanguage;>;
0 7 7 writeNode Lcom/oracle/truffle/js/nodes/access/WriteElementNode;
2 7 8 importedValue Ljava/lang/Object;
Exceptions:
throws com.oracle.truffle.api.interop.InvalidArrayIndexException, com.oracle.truffle.api.interop.UnsupportedMessageException
Signature: (JLjava/lang/Object;Lcom/oracle/truffle/js/nodes/interop/ArrayElementInfoNode;Lcom/oracle/truffle/js/nodes/interop/ImportValueNode;Lcom/oracle/truffle/api/TruffleLanguage$LanguageReference<Lcom/oracle/truffle/js/lang/JavaScriptLanguage;>;Lcom/oracle/truffle/js/nodes/access/WriteElementNode;)V
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
RuntimeInvisibleParameterAnnotations:
0:
1:
2:
com.oracle.truffle.api.dsl.Cached$Shared(value = "elementInfo")
com.oracle.truffle.api.dsl.Cached()
3:
com.oracle.truffle.api.dsl.Cached()
4:
com.oracle.truffle.api.dsl.CachedLanguage()
5:
com.oracle.truffle.api.dsl.Cached(value = "createCachedInterop(languageRef)", uncached = "getUncachedWrite()")
MethodParameters:
Name Flags
index
value
elements
castValueNode
languageRef
writeNode
public boolean isArrayElementModifiable(long, com.oracle.truffle.js.nodes.interop.ArrayElementInfoNode);
descriptor: (JLcom/oracle/truffle/js/nodes/interop/ArrayElementInfoNode;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 3
aload 0
lload 1
iconst_2
invokevirtual com.oracle.truffle.js.nodes.interop.ArrayElementInfoNode.executeBoolean:(Lcom/oracle/truffle/js/runtime/builtins/JSArrayBase;JI)Z
ireturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/builtins/JSArrayObject;
0 1 1 index J
0 1 3 elements Lcom/oracle/truffle/js/nodes/interop/ArrayElementInfoNode;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
RuntimeInvisibleParameterAnnotations:
0:
1:
com.oracle.truffle.api.dsl.Cached$Shared(value = "elementInfo")
com.oracle.truffle.api.dsl.Cached()
MethodParameters:
Name Flags
index
elements
public boolean isArrayElementInsertable(long, com.oracle.truffle.js.nodes.interop.ArrayElementInfoNode);
descriptor: (JLcom/oracle/truffle/js/nodes/interop/ArrayElementInfoNode;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 3
aload 0
lload 1
iconst_4
invokevirtual com.oracle.truffle.js.nodes.interop.ArrayElementInfoNode.executeBoolean:(Lcom/oracle/truffle/js/runtime/builtins/JSArrayBase;JI)Z
ireturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/builtins/JSArrayObject;
0 1 1 index J
0 1 3 elements Lcom/oracle/truffle/js/nodes/interop/ArrayElementInfoNode;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
RuntimeInvisibleParameterAnnotations:
0:
1:
com.oracle.truffle.api.dsl.Cached$Shared(value = "elementInfo")
com.oracle.truffle.api.dsl.Cached()
MethodParameters:
Name Flags
index
elements
public boolean isArrayElementRemovable(long, com.oracle.truffle.js.nodes.interop.ArrayElementInfoNode);
descriptor: (JLcom/oracle/truffle/js/nodes/interop/ArrayElementInfoNode;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 3
aload 0
lload 1
bipush 8
invokevirtual com.oracle.truffle.js.nodes.interop.ArrayElementInfoNode.executeBoolean:(Lcom/oracle/truffle/js/runtime/builtins/JSArrayBase;JI)Z
ireturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/builtins/JSArrayObject;
0 1 1 index J
0 1 3 elements Lcom/oracle/truffle/js/nodes/interop/ArrayElementInfoNode;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
RuntimeInvisibleParameterAnnotations:
0:
1:
com.oracle.truffle.api.dsl.Cached$Shared(value = "elementInfo")
com.oracle.truffle.api.dsl.Cached()
MethodParameters:
Name Flags
index
elements
public void removeArrayElement(long, com.oracle.truffle.js.nodes.interop.ArrayElementInfoNode);
descriptor: (JLcom/oracle/truffle/js/nodes/interop/ArrayElementInfoNode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=7, args_size=3
start local 0 start local 1 start local 3 0: aload 3
aload 0
lload 1
bipush 8
invokevirtual com.oracle.truffle.js.nodes.interop.ArrayElementInfoNode.executeCheck:(Lcom/oracle/truffle/js/runtime/builtins/JSArrayBase;JI)V
1: aload 0
invokevirtual com.oracle.truffle.js.runtime.builtins.JSArrayObject.getArrayType:()Lcom/oracle/truffle/js/runtime/array/ScriptArray;
astore 4
start local 4 2: aload 4
aload 0
invokevirtual com.oracle.truffle.js.runtime.array.ScriptArray.length:(Lcom/oracle/truffle/api/object/DynamicObject;)J
lstore 5
start local 5 3: aload 4
aload 0
lload 1
lload 1
lconst_1
ladd
invokevirtual com.oracle.truffle.js.runtime.array.ScriptArray.removeRange:(Lcom/oracle/truffle/api/object/DynamicObject;JJ)Lcom/oracle/truffle/js/runtime/array/ScriptArray;
astore 4
4: aload 0
aload 4
invokestatic com.oracle.truffle.js.runtime.objects.JSObject.setArray:(Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/js/runtime/array/ScriptArray;)V
5: aload 4
aload 0
lload 5
lconst_1
lsub
iconst_1
invokevirtual com.oracle.truffle.js.runtime.array.ScriptArray.setLength:(Lcom/oracle/truffle/api/object/DynamicObject;JZ)Lcom/oracle/truffle/js/runtime/array/ScriptArray;
astore 4
6: aload 0
aload 4
invokestatic com.oracle.truffle.js.runtime.objects.JSObject.setArray:(Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/js/runtime/array/ScriptArray;)V
7: return
end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/oracle/truffle/js/runtime/builtins/JSArrayObject;
0 8 1 index J
0 8 3 elements Lcom/oracle/truffle/js/nodes/interop/ArrayElementInfoNode;
2 8 4 strategy Lcom/oracle/truffle/js/runtime/array/ScriptArray;
3 8 5 len J
Exceptions:
throws com.oracle.truffle.api.interop.UnsupportedMessageException, com.oracle.truffle.api.interop.InvalidArrayIndexException
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
RuntimeInvisibleParameterAnnotations:
0:
1:
com.oracle.truffle.api.dsl.Cached$Shared(value = "elementInfo")
com.oracle.truffle.api.dsl.Cached()
MethodParameters:
Name Flags
index
elements
public com.oracle.truffle.js.runtime.builtins.JSClass getJSClass();
descriptor: ()Lcom/oracle/truffle/js/runtime/builtins/JSClass;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual com.oracle.truffle.js.runtime.builtins.JSArrayObject.getJSClass:()Lcom/oracle/truffle/js/runtime/builtins/JSAbstractArray;
areturn
LocalVariableTable:
Start End Slot Name Signature
static java.lang.String[] access$1(com.oracle.truffle.api.object.DynamicObject, java.lang.Iterable, com.oracle.truffle.js.runtime.builtins.JSClass);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Iterable;Lcom/oracle/truffle/js/runtime/builtins/JSClass;)[Ljava/lang/String;
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
invokestatic com.oracle.truffle.js.runtime.builtins.JSArrayObject.filterEnumerableNames:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Iterable;Lcom/oracle/truffle/js/runtime/builtins/JSClass;)[Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "JSArrayObject.java"
NestMembers:
com.oracle.truffle.js.runtime.builtins.JSArrayObject$GetMembers
InnerClasses:
public abstract LanguageReference = com.oracle.truffle.api.TruffleLanguage$LanguageReference of com.oracle.truffle.api.TruffleLanguage
public abstract Shared = com.oracle.truffle.api.dsl.Cached$Shared of com.oracle.truffle.api.dsl.Cached
abstract GetMembers = com.oracle.truffle.js.runtime.builtins.JSArrayObject$GetMembers of com.oracle.truffle.js.runtime.builtins.JSArrayObject
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportLibrary(value = Lcom/oracle/truffle/api/interop/InteropLibrary;)