public final class com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray extends com.oracle.truffle.js.runtime.array.dyn.AbstractIntArray
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray
super_class: com.oracle.truffle.js.runtime.array.dyn.AbstractIntArray
{
private static final com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray ZERO_BASED_INT_ARRAY;
descriptor: Lcom/oracle/truffle/js/runtime/array/dyn/ZeroBasedIntArray;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray
dup
iconst_0
invokestatic com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.createCache:()Lcom/oracle/truffle/js/runtime/array/DynamicArray$DynamicArrayCache;
invokespecial com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.<init>:(ILcom/oracle/truffle/js/runtime/array/DynamicArray$DynamicArrayCache;)V
putstatic com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.ZERO_BASED_INT_ARRAY:Lcom/oracle/truffle/js/runtime/array/dyn/ZeroBasedIntArray;
return
LocalVariableTable:
Start End Slot Name Signature
public static com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray makeZeroBasedIntArray(com.oracle.truffle.api.object.DynamicObject, int, int, int[], int);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;II[II)Lcom/oracle/truffle/js/runtime/array/dyn/ZeroBasedIntArray;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: invokestatic com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.createZeroBasedIntArray:()Lcom/oracle/truffle/js/runtime/array/dyn/ZeroBasedIntArray;
iload 4
invokevirtual com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.setIntegrityLevel:(I)Lcom/oracle/truffle/js/runtime/array/ScriptArray;
checkcast com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray
astore 5
start local 5 1: aload 0
iload 1
invokestatic com.oracle.truffle.js.runtime.builtins.JSAbstractArray.arraySetLength:(Lcom/oracle/truffle/api/object/DynamicObject;I)V
2: aload 0
iload 2
invokestatic com.oracle.truffle.js.runtime.builtins.JSAbstractArray.arraySetUsedLength:(Lcom/oracle/truffle/api/object/DynamicObject;I)V
3: aload 0
aload 3
invokestatic com.oracle.truffle.js.runtime.builtins.JSAbstractArray.arraySetArray:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;)V
4: aload 5
areturn
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 5 0 object Lcom/oracle/truffle/api/object/DynamicObject;
0 5 1 length I
0 5 2 usedLength I
0 5 3 array [I
0 5 4 integrityLevel I
1 5 5 arrayType Lcom/oracle/truffle/js/runtime/array/dyn/ZeroBasedIntArray;
MethodParameters:
Name Flags
object
length
usedLength
array
integrityLevel
public static com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray createZeroBasedIntArray();
descriptor: ()Lcom/oracle/truffle/js/runtime/array/dyn/ZeroBasedIntArray;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.ZERO_BASED_INT_ARRAY:Lcom/oracle/truffle/js/runtime/array/dyn/ZeroBasedIntArray;
areturn
LocalVariableTable:
Start End Slot Name Signature
private void <init>(int, com.oracle.truffle.js.runtime.array.DynamicArray$DynamicArrayCache);
descriptor: (ILcom/oracle/truffle/js/runtime/array/DynamicArray$DynamicArrayCache;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
aload 2
invokespecial com.oracle.truffle.js.runtime.array.dyn.AbstractIntArray.<init>:(ILcom/oracle/truffle/js/runtime/array/DynamicArray$DynamicArrayCache;)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/runtime/array/dyn/ZeroBasedIntArray;
0 2 1 integrityLevel I
0 2 2 cache Lcom/oracle/truffle/js/runtime/array/DynamicArray$DynamicArrayCache;
MethodParameters:
Name Flags
integrityLevel
cache
public boolean isSupported(com.oracle.truffle.api.object.DynamicObject, long);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;J)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
lload 2
l2i
invokestatic com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.isSupportedZeroBased:(Lcom/oracle/truffle/api/object/DynamicObject;I)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/array/dyn/ZeroBasedIntArray;
0 1 1 object Lcom/oracle/truffle/api/object/DynamicObject;
0 1 2 index J
MethodParameters:
Name Flags
object
index
public int getInBoundsFastInt(com.oracle.truffle.api.object.DynamicObject, int);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.getArray:(Lcom/oracle/truffle/api/object/DynamicObject;)[I
iload 2
iaload
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/array/dyn/ZeroBasedIntArray;
0 1 1 object Lcom/oracle/truffle/api/object/DynamicObject;
0 1 2 index I
MethodParameters:
Name Flags
object
index
public void setInBoundsFast(com.oracle.truffle.api.object.DynamicObject, int, int);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokestatic com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.getArray:(Lcom/oracle/truffle/api/object/DynamicObject;)[I
iload 2
iload 3
iastore
1: return
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/array/dyn/ZeroBasedIntArray;
0 2 1 object Lcom/oracle/truffle/api/object/DynamicObject;
0 2 2 index I
0 2 3 value I
MethodParameters:
Name Flags
object
index
value
protected int prepareInBoundsFast(com.oracle.truffle.api.object.DynamicObject, long);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;J)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: lload 2
l2i
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/array/dyn/ZeroBasedIntArray;
0 1 1 object Lcom/oracle/truffle/api/object/DynamicObject;
0 1 2 index J
MethodParameters:
Name Flags
object
index
protected int prepareInBounds(com.oracle.truffle.api.object.DynamicObject, int, com.oracle.truffle.js.runtime.array.ScriptArray$ProfileHolder);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;ILcom/oracle/truffle/js/runtime/array/ScriptArray$ProfileHolder;)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
iload 2
aload 3
invokestatic com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.prepareInBoundsZeroBased:(Lcom/oracle/truffle/api/object/DynamicObject;ILcom/oracle/truffle/js/runtime/array/ScriptArray$ProfileHolder;)V
1: iload 2
ireturn
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/array/dyn/ZeroBasedIntArray;
0 2 1 object Lcom/oracle/truffle/api/object/DynamicObject;
0 2 2 index I
0 2 3 profile Lcom/oracle/truffle/js/runtime/array/ScriptArray$ProfileHolder;
MethodParameters:
Name Flags
object
index
profile
protected int prepareSupported(com.oracle.truffle.api.object.DynamicObject, int, com.oracle.truffle.js.runtime.array.ScriptArray$ProfileHolder);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;ILcom/oracle/truffle/js/runtime/array/ScriptArray$ProfileHolder;)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 2
aload 3
invokevirtual com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.prepareSupportedZeroBased:(Lcom/oracle/truffle/api/object/DynamicObject;ILcom/oracle/truffle/js/runtime/array/ScriptArray$ProfileHolder;)V
1: iload 2
ireturn
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/array/dyn/ZeroBasedIntArray;
0 2 1 object Lcom/oracle/truffle/api/object/DynamicObject;
0 2 2 index I
0 2 3 profile Lcom/oracle/truffle/js/runtime/array/ScriptArray$ProfileHolder;
MethodParameters:
Name Flags
object
index
profile
protected void setLengthLess(com.oracle.truffle.api.object.DynamicObject, long, com.oracle.truffle.js.runtime.array.ScriptArray$ProfileHolder);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;JLcom/oracle/truffle/js/runtime/array/ScriptArray$ProfileHolder;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
aload 1
lload 2
aload 4
invokevirtual com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.setLengthLessZeroBased:(Lcom/oracle/truffle/api/object/DynamicObject;JLcom/oracle/truffle/js/runtime/array/ScriptArray$ProfileHolder;)V
1: return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/runtime/array/dyn/ZeroBasedIntArray;
0 2 1 object Lcom/oracle/truffle/api/object/DynamicObject;
0 2 2 length J
0 2 4 profile Lcom/oracle/truffle/js/runtime/array/ScriptArray$ProfileHolder;
MethodParameters:
Name Flags
object
length
profile
public java.lang.Object[] toArray(com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;)[Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.toArrayZeroBased:(Lcom/oracle/truffle/api/object/DynamicObject;)[Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/array/dyn/ZeroBasedIntArray;
0 1 1 object Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
object
public com.oracle.truffle.js.runtime.array.dyn.ZeroBasedDoubleArray toDouble(com.oracle.truffle.api.object.DynamicObject, long, double);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;JD)Lcom/oracle/truffle/js/runtime/array/dyn/ZeroBasedDoubleArray;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=11, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 1
invokestatic com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.getArray:(Lcom/oracle/truffle/api/object/DynamicObject;)[I
astore 6
start local 6 1: aload 0
aload 1
invokevirtual com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.lengthInt:(Lcom/oracle/truffle/api/object/DynamicObject;)I
istore 7
start local 7 2: aload 1
invokestatic com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.getUsedLength:(Lcom/oracle/truffle/api/object/DynamicObject;)I
istore 8
start local 8 3: aload 6
iconst_0
iload 8
invokestatic com.oracle.truffle.js.runtime.array.dyn.ArrayCopy.intToDouble:([III)[D
astore 9
start local 9 4: aload 1
iload 7
iload 8
aload 9
aload 0
getfield com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.integrityLevel:I
invokestatic com.oracle.truffle.js.runtime.array.dyn.ZeroBasedDoubleArray.makeZeroBasedDoubleArray:(Lcom/oracle/truffle/api/object/DynamicObject;II[DI)Lcom/oracle/truffle/js/runtime/array/dyn/ZeroBasedDoubleArray;
astore 10
start local 10 5: getstatic com.oracle.truffle.js.runtime.JSConfig.TraceArrayTransitions:Z
ifeq 7
6: aload 0
aload 10
lload 2
dload 4
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
invokestatic com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.traceArrayTransition:(Lcom/oracle/truffle/js/runtime/array/ScriptArray;Lcom/oracle/truffle/js/runtime/array/ScriptArray;JLjava/lang/Object;)V
7: StackMap locals: com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray com.oracle.truffle.api.object.DynamicObject long double int[] int int double[] com.oracle.truffle.js.runtime.array.dyn.ZeroBasedDoubleArray
StackMap stack:
aload 10
areturn
end local 10 end local 9 end local 8 end local 7 end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/oracle/truffle/js/runtime/array/dyn/ZeroBasedIntArray;
0 8 1 object Lcom/oracle/truffle/api/object/DynamicObject;
0 8 2 index J
0 8 4 value D
1 8 6 array [I
2 8 7 length I
3 8 8 usedLength I
4 8 9 doubleCopy [D
5 8 10 newArray Lcom/oracle/truffle/js/runtime/array/dyn/ZeroBasedDoubleArray;
MethodParameters:
Name Flags
object
index
value
public com.oracle.truffle.js.runtime.array.dyn.ZeroBasedObjectArray toObject(com.oracle.truffle.api.object.DynamicObject, long, java.lang.Object);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;JLjava/lang/Object;)Lcom/oracle/truffle/js/runtime/array/dyn/ZeroBasedObjectArray;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 1
invokestatic com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.getArray:(Lcom/oracle/truffle/api/object/DynamicObject;)[I
astore 5
start local 5 1: aload 0
aload 1
invokevirtual com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.lengthInt:(Lcom/oracle/truffle/api/object/DynamicObject;)I
istore 6
start local 6 2: aload 1
invokestatic com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.getUsedLength:(Lcom/oracle/truffle/api/object/DynamicObject;)I
istore 7
start local 7 3: aload 5
iconst_0
iload 7
invokestatic com.oracle.truffle.js.runtime.array.dyn.ArrayCopy.intToObject:([III)[Ljava/lang/Object;
astore 8
start local 8 4: aload 1
iload 6
iload 7
aload 8
aload 0
getfield com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.integrityLevel:I
invokestatic com.oracle.truffle.js.runtime.array.dyn.ZeroBasedObjectArray.makeZeroBasedObjectArray:(Lcom/oracle/truffle/api/object/DynamicObject;II[Ljava/lang/Object;I)Lcom/oracle/truffle/js/runtime/array/dyn/ZeroBasedObjectArray;
astore 9
start local 9 5: getstatic com.oracle.truffle.js.runtime.JSConfig.TraceArrayTransitions:Z
ifeq 7
6: aload 0
aload 9
lload 2
aload 4
invokestatic com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.traceArrayTransition:(Lcom/oracle/truffle/js/runtime/array/ScriptArray;Lcom/oracle/truffle/js/runtime/array/ScriptArray;JLjava/lang/Object;)V
7: StackMap locals: com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray com.oracle.truffle.api.object.DynamicObject long java.lang.Object int[] int int java.lang.Object[] com.oracle.truffle.js.runtime.array.dyn.ZeroBasedObjectArray
StackMap stack:
aload 9
areturn
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/oracle/truffle/js/runtime/array/dyn/ZeroBasedIntArray;
0 8 1 object Lcom/oracle/truffle/api/object/DynamicObject;
0 8 2 index J
0 8 4 value Ljava/lang/Object;
1 8 5 array [I
2 8 6 length I
3 8 7 usedLength I
4 8 8 doubleCopy [Ljava/lang/Object;
5 8 9 newArray Lcom/oracle/truffle/js/runtime/array/dyn/ZeroBasedObjectArray;
MethodParameters:
Name Flags
object
index
value
public com.oracle.truffle.js.runtime.array.dyn.ContiguousIntArray toContiguous(com.oracle.truffle.api.object.DynamicObject, long, java.lang.Object);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;JLjava/lang/Object;)Lcom/oracle/truffle/js/runtime/array/dyn/ContiguousIntArray;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 1
invokestatic com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.getArray:(Lcom/oracle/truffle/api/object/DynamicObject;)[I
astore 5
start local 5 1: aload 0
aload 1
invokevirtual com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.lengthInt:(Lcom/oracle/truffle/api/object/DynamicObject;)I
istore 6
start local 6 2: aload 1
invokestatic com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.getUsedLength:(Lcom/oracle/truffle/api/object/DynamicObject;)I
istore 7
start local 7 3: aload 1
iload 6
i2l
aload 5
lconst_0
iconst_0
iload 7
aload 0
getfield com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.integrityLevel:I
invokestatic com.oracle.truffle.js.runtime.array.dyn.ContiguousIntArray.makeContiguousIntArray:(Lcom/oracle/truffle/api/object/DynamicObject;J[IJIII)Lcom/oracle/truffle/js/runtime/array/dyn/ContiguousIntArray;
astore 8
start local 8 4: getstatic com.oracle.truffle.js.runtime.JSConfig.TraceArrayTransitions:Z
ifeq 6
5: aload 0
aload 8
lload 2
aload 4
invokestatic com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.traceArrayTransition:(Lcom/oracle/truffle/js/runtime/array/ScriptArray;Lcom/oracle/truffle/js/runtime/array/ScriptArray;JLjava/lang/Object;)V
6: StackMap locals: com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray com.oracle.truffle.api.object.DynamicObject long java.lang.Object int[] int int com.oracle.truffle.js.runtime.array.dyn.ContiguousIntArray
StackMap stack:
aload 8
areturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/oracle/truffle/js/runtime/array/dyn/ZeroBasedIntArray;
0 7 1 object Lcom/oracle/truffle/api/object/DynamicObject;
0 7 2 index J
0 7 4 value Ljava/lang/Object;
1 7 5 array [I
2 7 6 length I
3 7 7 usedLength I
4 7 8 newArray Lcom/oracle/truffle/js/runtime/array/dyn/ContiguousIntArray;
MethodParameters:
Name Flags
object
index
value
public com.oracle.truffle.js.runtime.array.dyn.AbstractWritableArray toHoles(com.oracle.truffle.api.object.DynamicObject, long, java.lang.Object);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;JLjava/lang/Object;)Lcom/oracle/truffle/js/runtime/array/dyn/AbstractWritableArray;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 1
invokestatic com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.getArray:(Lcom/oracle/truffle/api/object/DynamicObject;)[I
astore 5
start local 5 1: aload 0
aload 1
invokevirtual com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.lengthInt:(Lcom/oracle/truffle/api/object/DynamicObject;)I
istore 6
start local 6 2: aload 1
invokestatic com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.getUsedLength:(Lcom/oracle/truffle/api/object/DynamicObject;)I
istore 7
start local 7 3: ldc 1.0E-4
aload 1
invokestatic com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.containsHoleValue:(Lcom/oracle/truffle/api/object/DynamicObject;)Z
invokestatic com.oracle.truffle.api.CompilerDirectives.injectBranchProbability:(DZ)Z
ifeq 6
4: aload 0
aload 1
invokevirtual com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.toObjectHoles:(Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/js/runtime/array/dyn/HolesObjectArray;
astore 8
start local 8 5: goto 7
end local 8 6: StackMap locals: int[] int int
StackMap stack:
aload 1
iload 6
aload 5
lconst_0
iconst_0
iload 7
iconst_0
aload 0
getfield com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.integrityLevel:I
invokestatic com.oracle.truffle.js.runtime.array.dyn.HolesIntArray.makeHolesIntArray:(Lcom/oracle/truffle/api/object/DynamicObject;I[IJIIII)Lcom/oracle/truffle/js/runtime/array/dyn/HolesIntArray;
astore 8
start local 8 7: StackMap locals: com.oracle.truffle.js.runtime.array.dyn.AbstractWritableArray
StackMap stack:
getstatic com.oracle.truffle.js.runtime.JSConfig.TraceArrayTransitions:Z
ifeq 9
8: aload 0
aload 8
lload 2
aload 4
invokestatic com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.traceArrayTransition:(Lcom/oracle/truffle/js/runtime/array/ScriptArray;Lcom/oracle/truffle/js/runtime/array/ScriptArray;JLjava/lang/Object;)V
9: StackMap locals:
StackMap stack:
aload 8
areturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/oracle/truffle/js/runtime/array/dyn/ZeroBasedIntArray;
0 10 1 object Lcom/oracle/truffle/api/object/DynamicObject;
0 10 2 index J
0 10 4 value Ljava/lang/Object;
1 10 5 array [I
2 10 6 length I
3 10 7 usedLength I
5 6 8 newArray Lcom/oracle/truffle/js/runtime/array/dyn/AbstractWritableArray;
7 10 8 newArray Lcom/oracle/truffle/js/runtime/array/dyn/AbstractWritableArray;
MethodParameters:
Name Flags
object
index
value
protected com.oracle.truffle.js.runtime.array.dyn.HolesObjectArray toObjectHoles(com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/js/runtime/array/dyn/HolesObjectArray;
flags: (0x0004) ACC_PROTECTED
Code:
stack=9, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.lengthInt:(Lcom/oracle/truffle/api/object/DynamicObject;)I
istore 2
start local 2 1: aload 1
invokestatic com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.getUsedLength:(Lcom/oracle/truffle/api/object/DynamicObject;)I
istore 3
start local 3 2: aload 1
iload 2
aload 1
invokestatic com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.convertToObject:(Lcom/oracle/truffle/api/object/DynamicObject;)[Ljava/lang/Object;
lconst_0
iconst_0
iload 3
iconst_0
aload 0
getfield com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.integrityLevel:I
invokestatic com.oracle.truffle.js.runtime.array.dyn.HolesObjectArray.makeHolesObjectArray:(Lcom/oracle/truffle/api/object/DynamicObject;I[Ljava/lang/Object;JIIII)Lcom/oracle/truffle/js/runtime/array/dyn/HolesObjectArray;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/runtime/array/dyn/ZeroBasedIntArray;
0 3 1 object Lcom/oracle/truffle/api/object/DynamicObject;
1 3 2 length I
2 3 3 usedLength I
MethodParameters:
Name Flags
object
public long firstElementIndex(com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: lconst_0
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/array/dyn/ZeroBasedIntArray;
0 1 1 object Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
object
public long lastElementIndex(com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.getUsedLength:(Lcom/oracle/truffle/api/object/DynamicObject;)I
iconst_1
isub
i2l
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/array/dyn/ZeroBasedIntArray;
0 1 1 object Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
object
public com.oracle.truffle.js.runtime.array.ScriptArray removeRangeImpl(com.oracle.truffle.api.object.DynamicObject, long, long);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;JJ)Lcom/oracle/truffle/js/runtime/array/ScriptArray;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 1
invokestatic com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.getArray:(Lcom/oracle/truffle/api/object/DynamicObject;)[I
astore 6
start local 6 1: aload 1
invokestatic com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.getUsedLength:(Lcom/oracle/truffle/api/object/DynamicObject;)I
istore 7
start local 7 2: aload 6
lload 4
l2i
aload 6
lload 2
l2i
iconst_0
iload 7
i2l
lload 4
lsub
l2i
invokestatic java.lang.Math.max:(II)I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: aload 0
areturn
end local 7 end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/runtime/array/dyn/ZeroBasedIntArray;
0 4 1 object Lcom/oracle/truffle/api/object/DynamicObject;
0 4 2 start J
0 4 4 end J
1 4 6 array [I
2 4 7 usedLength I
MethodParameters:
Name Flags
object
start
end
public com.oracle.truffle.js.runtime.array.ScriptArray addRangeImpl(com.oracle.truffle.api.object.DynamicObject, long, int);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;JI)Lcom/oracle/truffle/js/runtime/array/ScriptArray;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
aload 1
lload 2
iload 4
invokevirtual com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.addRangeImplZeroBased:(Lcom/oracle/truffle/api/object/DynamicObject;JI)Lcom/oracle/truffle/js/runtime/array/ScriptArray;
areturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/array/dyn/ZeroBasedIntArray;
0 1 1 object Lcom/oracle/truffle/api/object/DynamicObject;
0 1 2 offset J
0 1 4 size I
MethodParameters:
Name Flags
object
offset
size
public boolean hasHoles(com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.lengthInt:(Lcom/oracle/truffle/api/object/DynamicObject;)I
istore 2
start local 2 1: aload 1
invokestatic com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.getUsedLength:(Lcom/oracle/truffle/api/object/DynamicObject;)I
istore 3
start local 3 2: iload 3
iload 2
if_icmpge 3
iconst_1
ireturn
StackMap locals: int int
StackMap stack:
3: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/runtime/array/dyn/ZeroBasedIntArray;
0 4 1 object Lcom/oracle/truffle/api/object/DynamicObject;
1 4 2 length I
2 4 3 usedLength I
MethodParameters:
Name Flags
object
protected com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray withIntegrityLevel(int);
descriptor: (I)Lcom/oracle/truffle/js/runtime/array/dyn/ZeroBasedIntArray;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray
dup
iload 1
aload 0
getfield com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.cache:Lcom/oracle/truffle/js/runtime/array/DynamicArray$DynamicArrayCache;
invokespecial com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.<init>:(ILcom/oracle/truffle/js/runtime/array/DynamicArray$DynamicArrayCache;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/array/dyn/ZeroBasedIntArray;
0 1 1 newIntegrityLevel I
MethodParameters:
Name Flags
newIntegrityLevel
public long nextElementIndex(com.oracle.truffle.api.object.DynamicObject, long);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
lload 2
invokevirtual com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.nextElementIndexZeroBased:(Lcom/oracle/truffle/api/object/DynamicObject;J)J
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/array/dyn/ZeroBasedIntArray;
0 1 1 object Lcom/oracle/truffle/api/object/DynamicObject;
0 1 2 index J
MethodParameters:
Name Flags
object
index
public com.oracle.truffle.js.runtime.array.dyn.AbstractWritableArray toDouble(com.oracle.truffle.api.object.DynamicObject, long, double);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;JD)Lcom/oracle/truffle/js/runtime/array/dyn/AbstractWritableArray;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=6, locals=6, args_size=4
0: aload 0
aload 1
lload 2
dload 4
invokevirtual com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.toDouble:(Lcom/oracle/truffle/api/object/DynamicObject;JD)Lcom/oracle/truffle/js/runtime/array/dyn/ZeroBasedDoubleArray;
areturn
LocalVariableTable:
Start End Slot Name Signature
protected com.oracle.truffle.js.runtime.array.dyn.AbstractIntArray withIntegrityLevel(int);
descriptor: (I)Lcom/oracle/truffle/js/runtime/array/dyn/AbstractIntArray;
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
iload 1
invokevirtual com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.withIntegrityLevel:(I)Lcom/oracle/truffle/js/runtime/array/dyn/ZeroBasedIntArray;
areturn
LocalVariableTable:
Start End Slot Name Signature
protected com.oracle.truffle.js.runtime.array.DynamicArray withIntegrityLevel(int);
descriptor: (I)Lcom/oracle/truffle/js/runtime/array/DynamicArray;
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
iload 1
invokevirtual com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.withIntegrityLevel:(I)Lcom/oracle/truffle/js/runtime/array/dyn/ZeroBasedIntArray;
areturn
LocalVariableTable:
Start End Slot Name Signature
protected com.oracle.truffle.js.runtime.array.dyn.AbstractWritableArray withIntegrityLevel(int);
descriptor: (I)Lcom/oracle/truffle/js/runtime/array/dyn/AbstractWritableArray;
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
iload 1
invokevirtual com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.withIntegrityLevel:(I)Lcom/oracle/truffle/js/runtime/array/dyn/ZeroBasedIntArray;
areturn
LocalVariableTable:
Start End Slot Name Signature
public com.oracle.truffle.js.runtime.array.dyn.AbstractWritableArray toObject(com.oracle.truffle.api.object.DynamicObject, long, java.lang.Object);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;JLjava/lang/Object;)Lcom/oracle/truffle/js/runtime/array/dyn/AbstractWritableArray;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=5, locals=5, args_size=4
0: aload 0
aload 1
lload 2
aload 4
invokevirtual com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.toObject:(Lcom/oracle/truffle/api/object/DynamicObject;JLjava/lang/Object;)Lcom/oracle/truffle/js/runtime/array/dyn/ZeroBasedObjectArray;
areturn
LocalVariableTable:
Start End Slot Name Signature
public com.oracle.truffle.js.runtime.array.dyn.AbstractWritableArray toContiguous(com.oracle.truffle.api.object.DynamicObject, long, java.lang.Object);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;JLjava/lang/Object;)Lcom/oracle/truffle/js/runtime/array/dyn/AbstractWritableArray;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=5, locals=5, args_size=4
0: aload 0
aload 1
lload 2
aload 4
invokevirtual com.oracle.truffle.js.runtime.array.dyn.ZeroBasedIntArray.toContiguous:(Lcom/oracle/truffle/api/object/DynamicObject;JLjava/lang/Object;)Lcom/oracle/truffle/js/runtime/array/dyn/ContiguousIntArray;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "ZeroBasedIntArray.java"
InnerClasses:
protected final DynamicArrayCache = com.oracle.truffle.js.runtime.array.DynamicArray$DynamicArrayCache of com.oracle.truffle.js.runtime.array.DynamicArray
public abstract ProfileHolder = com.oracle.truffle.js.runtime.array.ScriptArray$ProfileHolder of com.oracle.truffle.js.runtime.array.ScriptArray