final class com.oracle.truffle.js.runtime.array.dyn.ArrayCopy
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.js.runtime.array.dyn.ArrayCopy
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/runtime/array/dyn/ArrayCopy;
static byte[] byteToByte(byte[]);
descriptor: ([B)[B
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
arraylength
invokestatic java.util.Arrays.copyOf:([BI)[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 array [B
MethodParameters:
Name Flags
array
static int[] byteToInt(byte[]);
descriptor: ([B)[I
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
arraylength
newarray 10
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: int[] int
StackMap stack:
aload 1
iload 2
aload 0
iload 2
baload
iastore
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
arraylength
if_icmplt 3
end local 2 6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 array [B
1 7 1 copyArray [I
2 6 2 i I
MethodParameters:
Name Flags
array
static double[] byteToDouble(byte[]);
descriptor: ([B)[D
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
arraylength
newarray 7
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: double[] int
StackMap stack:
aload 1
iload 2
aload 0
iload 2
baload
i2d
dastore
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
arraylength
if_icmplt 3
end local 2 6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 array [B
1 7 1 copyArray [D
2 6 2 i I
MethodParameters:
Name Flags
array
static java.lang.Object[] byteToObject(byte[]);
descriptor: ([B)[Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
arraylength
anewarray java.lang.Object
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: java.lang.Object[] int
StackMap stack:
aload 1
iload 2
aload 0
iload 2
baload
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
arraylength
if_icmplt 3
end local 2 6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 array [B
1 7 1 copyArray [Ljava/lang/Object;
2 6 2 i I
MethodParameters:
Name Flags
array
static int[] intToInt(int[]);
descriptor: ([I)[I
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
arraylength
invokestatic java.util.Arrays.copyOf:([II)[I
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 array [I
MethodParameters:
Name Flags
array
static double[] intToDouble(int[]);
descriptor: ([I)[D
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
aload 0
arraylength
invokestatic com.oracle.truffle.js.runtime.array.dyn.ArrayCopy.intToDouble:([III)[D
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 array [I
MethodParameters:
Name Flags
array
static double[] intToDouble(int[], int, int);
descriptor: ([III)[D
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
arraylength
newarray 7
astore 3
start local 3 1: iload 1
istore 4
start local 4 2: goto 5
3: StackMap locals: double[] int
StackMap stack:
aload 3
iload 4
aload 0
iload 4
iaload
i2d
dastore
4: iinc 4 1
StackMap locals:
StackMap stack:
5: iload 4
iload 1
iload 2
iadd
if_icmplt 3
end local 4 6: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 array [I
0 7 1 arrayOffset I
0 7 2 usedLength I
1 7 3 copyArray [D
2 6 4 i I
MethodParameters:
Name Flags
array
arrayOffset
usedLength
static double[] intToDoubleHoles(int[], int, int);
descriptor: ([III)[D
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
arraylength
newarray 7
astore 3
start local 3 1: iload 1
istore 4
start local 4 2: goto 9
3: StackMap locals: double[] int
StackMap stack:
aload 0
iload 4
iaload
istore 5
start local 5 4: iload 5
invokestatic com.oracle.truffle.js.runtime.array.dyn.HolesIntArray.isHoleValue:(I)Z
ifeq 7
5: aload 3
iload 4
getstatic com.oracle.truffle.js.runtime.array.dyn.HolesDoubleArray.HOLE_VALUE_DOUBLE:D
dastore
6: goto 8
7: StackMap locals: int
StackMap stack:
aload 3
iload 4
iload 5
i2d
dastore
end local 5 8: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
9: iload 4
iload 1
iload 2
iadd
if_icmplt 3
end local 4 10: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 array [I
0 11 1 arrayOffset I
0 11 2 usedLength I
1 11 3 copyArray [D
2 10 4 i I
4 8 5 intValue I
MethodParameters:
Name Flags
array
arrayOffset
usedLength
static java.lang.Object[] intToObject(int[]);
descriptor: ([I)[Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
aload 0
arraylength
invokestatic com.oracle.truffle.js.runtime.array.dyn.ArrayCopy.intToObject:([III)[Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 array [I
MethodParameters:
Name Flags
array
static java.lang.Object[] intToObject(int[], int, int);
descriptor: ([III)[Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
arraylength
anewarray java.lang.Object
astore 3
start local 3 1: iload 1
istore 4
start local 4 2: goto 5
3: StackMap locals: java.lang.Object[] int
StackMap stack:
aload 3
iload 4
aload 0
iload 4
iaload
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
4: iinc 4 1
StackMap locals:
StackMap stack:
5: iload 4
iload 1
iload 2
iadd
if_icmplt 3
end local 4 6: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 array [I
0 7 1 arrayOffset I
0 7 2 usedLength I
1 7 3 copyArray [Ljava/lang/Object;
2 6 4 i I
MethodParameters:
Name Flags
array
arrayOffset
usedLength
static java.lang.Object[] intToObject(int[], int, int, int);
descriptor: ([IIII)[Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
anewarray java.lang.Object
astore 4
start local 4 1: iload 1
istore 5
start local 5 2: goto 5
3: StackMap locals: java.lang.Object[] int
StackMap stack:
aload 4
iload 5
aload 0
iload 5
iaload
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
4: iinc 5 1
StackMap locals:
StackMap stack:
5: iload 5
iload 1
iload 2
iadd
if_icmplt 3
end local 5 6: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 array [I
0 7 1 arrayOffset I
0 7 2 usedLength I
0 7 3 newLength I
1 7 4 copyArray [Ljava/lang/Object;
2 6 5 i I
MethodParameters:
Name Flags
array
arrayOffset
usedLength
newLength
static java.lang.Object[] intToObjectHoles(int[], int, int);
descriptor: ([III)[Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
arraylength
anewarray java.lang.Object
astore 3
start local 3 1: iload 1
istore 4
start local 4 2: goto 9
3: StackMap locals: java.lang.Object[] int
StackMap stack:
aload 0
iload 4
iaload
istore 5
start local 5 4: iload 5
ldc -2147483648
if_icmpne 7
5: aload 3
iload 4
aconst_null
aastore
6: goto 8
7: StackMap locals: int
StackMap stack:
aload 3
iload 4
iload 5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
end local 5 8: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
9: iload 4
iload 1
iload 2
iadd
if_icmplt 3
end local 4 10: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 array [I
0 11 1 arrayOffset I
0 11 2 usedLength I
1 11 3 copyArray [Ljava/lang/Object;
2 10 4 i I
4 8 5 intValue I
MethodParameters:
Name Flags
array
arrayOffset
usedLength
static double[] doubleToDouble(double[]);
descriptor: ([D)[D
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
arraylength
invokestatic java.util.Arrays.copyOf:([DI)[D
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 array [D
MethodParameters:
Name Flags
array
static java.lang.Object[] doubleToObject(double[]);
descriptor: ([D)[Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
aload 0
arraylength
invokestatic com.oracle.truffle.js.runtime.array.dyn.ArrayCopy.doubleToObject:([DII)[Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 array [D
MethodParameters:
Name Flags
array
static java.lang.Object[] doubleToObject(double[], int, int);
descriptor: ([DII)[Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
arraylength
anewarray java.lang.Object
astore 3
start local 3 1: iload 1
istore 4
start local 4 2: goto 5
3: StackMap locals: java.lang.Object[] int
StackMap stack:
aload 3
iload 4
aload 0
iload 4
daload
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
4: iinc 4 1
StackMap locals:
StackMap stack:
5: iload 4
iload 1
iload 2
iadd
if_icmplt 3
end local 4 6: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 array [D
0 7 1 arrayOffset I
0 7 2 usedLength I
1 7 3 copyArray [Ljava/lang/Object;
2 6 4 i I
MethodParameters:
Name Flags
array
arrayOffset
usedLength
static java.lang.Object[] doubleToObjectHoles(double[], int, int);
descriptor: ([DII)[Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
arraylength
anewarray java.lang.Object
astore 3
start local 3 1: iload 1
istore 4
start local 4 2: goto 9
3: StackMap locals: java.lang.Object[] int
StackMap stack:
aload 0
iload 4
daload
dstore 5
start local 5 4: dload 5
invokestatic com.oracle.truffle.js.runtime.array.dyn.HolesDoubleArray.isHoleValue:(D)Z
ifeq 7
5: aload 3
iload 4
aconst_null
aastore
6: goto 8
7: StackMap locals: double
StackMap stack:
aload 3
iload 4
dload 5
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
end local 5 8: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
9: iload 4
iload 1
iload 2
iadd
if_icmplt 3
end local 4 10: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 array [D
0 11 1 arrayOffset I
0 11 2 usedLength I
1 11 3 copyArray [Ljava/lang/Object;
2 10 4 i I
4 8 5 value D
MethodParameters:
Name Flags
array
arrayOffset
usedLength
static java.lang.Object[] objectToObject(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)[Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
arraylength
invokestatic com.oracle.truffle.js.runtime.array.dyn.ArrayCopy.objectToObject:([Ljava/lang/Object;I)[Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 array [Ljava/lang/Object;
MethodParameters:
Name Flags
array
static java.lang.Object[] objectToObject(java.lang.Object[], int);
descriptor: ([Ljava/lang/Object;I)[Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: iload 1
anewarray java.lang.Object
astore 2
start local 2 1: aload 0
iconst_0
aload 2
iconst_0
iload 1
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 array [Ljava/lang/Object;
0 3 1 usedLength I
1 3 2 newArray [Ljava/lang/Object;
MethodParameters:
Name Flags
array
usedLength
static com.oracle.truffle.js.runtime.objects.JSDynamicObject[] jsobjectToJSObject(com.oracle.truffle.js.runtime.objects.JSDynamicObject[]);
descriptor: ([Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;)[Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
arraylength
invokestatic com.oracle.truffle.js.runtime.array.dyn.ArrayCopy.jsobjectToJSObject:([Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;I)[Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 array [Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
MethodParameters:
Name Flags
array
static com.oracle.truffle.js.runtime.objects.JSDynamicObject[] jsobjectToJSObject(com.oracle.truffle.js.runtime.objects.JSDynamicObject[], int);
descriptor: ([Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;I)[Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: iload 1
anewarray com.oracle.truffle.js.runtime.objects.JSDynamicObject
astore 2
start local 2 1: aload 0
iconst_0
aload 2
iconst_0
iload 1
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 array [Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
0 3 1 usedLength I
1 3 2 newArray [Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
MethodParameters:
Name Flags
array
usedLength
static java.lang.Object[] jsobjectToObjectHoles(com.oracle.truffle.js.runtime.objects.JSDynamicObject[], int, int);
descriptor: ([Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;II)[Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iload 2
invokestatic com.oracle.truffle.js.runtime.array.dyn.ArrayCopy.jsobjectToObject:([Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;II)[Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 array [Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
0 1 1 arrayOffset I
0 1 2 usedLength I
MethodParameters:
Name Flags
array
arrayOffset
usedLength
static java.lang.Object[] jsobjectToObject(com.oracle.truffle.js.runtime.objects.JSDynamicObject[], int, int);
descriptor: ([Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;II)[Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
arraylength
anewarray java.lang.Object
astore 3
start local 3 1: aload 0
iload 1
aload 3
iload 1
iload 2
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 array [Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
0 3 1 arrayOffset I
0 3 2 usedLength I
1 3 3 newArray [Ljava/lang/Object;
MethodParameters:
Name Flags
array
arrayOffset
usedLength
}
SourceFile: "ArrayCopy.java"