public class org.graalvm.compiler.replacements.test.ArraysSubstitutionsTestBase extends org.graalvm.compiler.replacements.test.MethodSubstitutionTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.replacements.test.ArraysSubstitutionsTestBase
super_class: org.graalvm.compiler.replacements.test.MethodSubstitutionTest
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // org.graalvm.compiler.replacements.test.ArraysSubstitutionsTestBase this
0: .line 34
aload 0 /* this */
invokespecial org.graalvm.compiler.replacements.test.MethodSubstitutionTest.<init>:()V
return
end local 0 // org.graalvm.compiler.replacements.test.ArraysSubstitutionsTestBase this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/test/ArraysSubstitutionsTestBase;
public static boolean arraysEqualsBoolean(boolean[], boolean[]);
descriptor: ([Z[Z)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 // boolean[] a
start local 1 // boolean[] b
0: .line 38
aload 0 /* a */
aload 1 /* b */
invokestatic java.util.Arrays.equals:([Z[Z)Z
ireturn
end local 1 // boolean[] b
end local 0 // boolean[] a
LocalVariableTable:
Start End Slot Name Signature
0 1 0 a [Z
0 1 1 b [Z
MethodParameters:
Name Flags
a
b
public static boolean arraysEqualsByte(byte[], byte[]);
descriptor: ([B[B)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 // byte[] a
start local 1 // byte[] b
0: .line 43
aload 0 /* a */
aload 1 /* b */
invokestatic java.util.Arrays.equals:([B[B)Z
ireturn
end local 1 // byte[] b
end local 0 // byte[] a
LocalVariableTable:
Start End Slot Name Signature
0 1 0 a [B
0 1 1 b [B
MethodParameters:
Name Flags
a
b
public static boolean arraysEqualsChar(char[], char[]);
descriptor: ([C[C)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 // char[] a
start local 1 // char[] b
0: .line 48
aload 0 /* a */
aload 1 /* b */
invokestatic java.util.Arrays.equals:([C[C)Z
ireturn
end local 1 // char[] b
end local 0 // char[] a
LocalVariableTable:
Start End Slot Name Signature
0 1 0 a [C
0 1 1 b [C
MethodParameters:
Name Flags
a
b
public static boolean arraysEqualsShort(short[], short[]);
descriptor: ([S[S)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 // short[] a
start local 1 // short[] b
0: .line 53
aload 0 /* a */
aload 1 /* b */
invokestatic java.util.Arrays.equals:([S[S)Z
ireturn
end local 1 // short[] b
end local 0 // short[] a
LocalVariableTable:
Start End Slot Name Signature
0 1 0 a [S
0 1 1 b [S
MethodParameters:
Name Flags
a
b
public static boolean arraysEqualsInt(int[], int[]);
descriptor: ([I[I)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 // int[] a
start local 1 // int[] b
0: .line 58
aload 0 /* a */
aload 1 /* b */
invokestatic java.util.Arrays.equals:([I[I)Z
ireturn
end local 1 // int[] b
end local 0 // int[] a
LocalVariableTable:
Start End Slot Name Signature
0 1 0 a [I
0 1 1 b [I
MethodParameters:
Name Flags
a
b
public static boolean arraysEqualsLong(long[], long[]);
descriptor: ([J[J)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 // long[] a
start local 1 // long[] b
0: .line 63
aload 0 /* a */
aload 1 /* b */
invokestatic java.util.Arrays.equals:([J[J)Z
ireturn
end local 1 // long[] b
end local 0 // long[] a
LocalVariableTable:
Start End Slot Name Signature
0 1 0 a [J
0 1 1 b [J
MethodParameters:
Name Flags
a
b
static boolean[] booleanArray(int, int, int);
descriptor: (III)[Z
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=5, args_size=3
start local 0 // int length
start local 1 // int firstValue
start local 2 // int lastValue
0: .line 71
iload 0 /* length */
newarray 4
astore 3 /* arr */
start local 3 // boolean[] arr
1: .line 72
iconst_0
istore 4 /* i */
start local 4 // int i
2: goto 7
3: .line 73
StackMap locals: boolean[] int
StackMap stack:
aload 3 /* arr */
iload 4 /* i */
iload 4 /* i */
iconst_1
iand
ifne 4
iconst_1
goto 5
StackMap locals: int int int boolean[] int
StackMap stack: boolean[] int
4: iconst_0
StackMap locals: int int int boolean[] int
StackMap stack: boolean[] int int
5: bastore
6: .line 72
iinc 4 /* i */ 1
StackMap locals:
StackMap stack:
7: iload 4 /* i */
iload 0 /* length */
if_icmplt 3
end local 4 // int i
8: .line 75
iload 0 /* length */
ifle 12
9: .line 76
aload 3 /* arr */
iconst_0
iload 1 /* firstValue */
iconst_1
iand
ifne 10
iconst_1
goto 11
StackMap locals: int int int boolean[]
StackMap stack: boolean[] int
10: iconst_0
StackMap locals: int int int boolean[]
StackMap stack: boolean[] int int
11: bastore
12: .line 78
StackMap locals:
StackMap stack:
iload 0 /* length */
iconst_1
if_icmple 16
13: .line 79
aload 3 /* arr */
iload 0 /* length */
iconst_1
isub
iload 2 /* lastValue */
iconst_1
iand
ifne 14
iconst_1
goto 15
StackMap locals: int int int boolean[]
StackMap stack: boolean[] int
14: iconst_0
StackMap locals: int int int boolean[]
StackMap stack: boolean[] int int
15: bastore
16: .line 81
StackMap locals:
StackMap stack:
aload 3 /* arr */
areturn
end local 3 // boolean[] arr
end local 2 // int lastValue
end local 1 // int firstValue
end local 0 // int length
LocalVariableTable:
Start End Slot Name Signature
0 17 0 length I
0 17 1 firstValue I
0 17 2 lastValue I
1 17 3 arr [Z
2 8 4 i I
MethodParameters:
Name Flags
length
firstValue
lastValue
static byte[] byteArray(int, int, int);
descriptor: (III)[B
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=5, args_size=3
start local 0 // int length
start local 1 // int firstValue
start local 2 // int lastValue
0: .line 85
iload 0 /* length */
newarray 8
astore 3 /* arr */
start local 3 // byte[] arr
1: .line 86
iconst_0
istore 4 /* i */
start local 4 // int i
2: goto 5
3: .line 87
StackMap locals: byte[] int
StackMap stack:
aload 3 /* arr */
iload 4 /* i */
iload 4 /* i */
i2b
bastore
4: .line 86
iinc 4 /* i */ 1
StackMap locals:
StackMap stack:
5: iload 4 /* i */
iload 0 /* length */
if_icmplt 3
end local 4 // int i
6: .line 89
iload 0 /* length */
ifle 8
7: .line 90
aload 3 /* arr */
iconst_0
iload 1 /* firstValue */
i2b
bastore
8: .line 92
StackMap locals:
StackMap stack:
iload 0 /* length */
iconst_1
if_icmple 10
9: .line 93
aload 3 /* arr */
iload 0 /* length */
iconst_1
isub
iload 2 /* lastValue */
i2b
bastore
10: .line 95
StackMap locals:
StackMap stack:
aload 3 /* arr */
areturn
end local 3 // byte[] arr
end local 2 // int lastValue
end local 1 // int firstValue
end local 0 // int length
LocalVariableTable:
Start End Slot Name Signature
0 11 0 length I
0 11 1 firstValue I
0 11 2 lastValue I
1 11 3 arr [B
2 6 4 i I
MethodParameters:
Name Flags
length
firstValue
lastValue
static char[] charArray(int, int, int);
descriptor: (III)[C
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=5, args_size=3
start local 0 // int length
start local 1 // int firstValue
start local 2 // int lastValue
0: .line 99
iload 0 /* length */
newarray 5
astore 3 /* arr */
start local 3 // char[] arr
1: .line 100
iconst_0
istore 4 /* i */
start local 4 // int i
2: goto 5
3: .line 101
StackMap locals: char[] int
StackMap stack:
aload 3 /* arr */
iload 4 /* i */
iload 4 /* i */
i2c
castore
4: .line 100
iinc 4 /* i */ 1
StackMap locals:
StackMap stack:
5: iload 4 /* i */
iload 0 /* length */
if_icmplt 3
end local 4 // int i
6: .line 103
iload 0 /* length */
ifle 8
7: .line 104
aload 3 /* arr */
iconst_0
iload 1 /* firstValue */
i2c
castore
8: .line 106
StackMap locals:
StackMap stack:
iload 0 /* length */
iconst_1
if_icmple 10
9: .line 107
aload 3 /* arr */
iload 0 /* length */
iconst_1
isub
iload 2 /* lastValue */
i2c
castore
10: .line 109
StackMap locals:
StackMap stack:
aload 3 /* arr */
areturn
end local 3 // char[] arr
end local 2 // int lastValue
end local 1 // int firstValue
end local 0 // int length
LocalVariableTable:
Start End Slot Name Signature
0 11 0 length I
0 11 1 firstValue I
0 11 2 lastValue I
1 11 3 arr [C
2 6 4 i I
MethodParameters:
Name Flags
length
firstValue
lastValue
static short[] shortArray(int, int, int);
descriptor: (III)[S
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=5, args_size=3
start local 0 // int length
start local 1 // int firstValue
start local 2 // int lastValue
0: .line 113
iload 0 /* length */
newarray 9
astore 3 /* arr */
start local 3 // short[] arr
1: .line 114
iconst_0
istore 4 /* i */
start local 4 // int i
2: goto 5
3: .line 115
StackMap locals: short[] int
StackMap stack:
aload 3 /* arr */
iload 4 /* i */
iload 4 /* i */
i2s
sastore
4: .line 114
iinc 4 /* i */ 1
StackMap locals:
StackMap stack:
5: iload 4 /* i */
iload 0 /* length */
if_icmplt 3
end local 4 // int i
6: .line 117
iload 0 /* length */
ifle 8
7: .line 118
aload 3 /* arr */
iconst_0
iload 1 /* firstValue */
i2s
sastore
8: .line 120
StackMap locals:
StackMap stack:
iload 0 /* length */
iconst_1
if_icmple 10
9: .line 121
aload 3 /* arr */
iload 0 /* length */
iconst_1
isub
iload 2 /* lastValue */
i2s
sastore
10: .line 123
StackMap locals:
StackMap stack:
aload 3 /* arr */
areturn
end local 3 // short[] arr
end local 2 // int lastValue
end local 1 // int firstValue
end local 0 // int length
LocalVariableTable:
Start End Slot Name Signature
0 11 0 length I
0 11 1 firstValue I
0 11 2 lastValue I
1 11 3 arr [S
2 6 4 i I
MethodParameters:
Name Flags
length
firstValue
lastValue
static int[] intArray(int, int, int);
descriptor: (III)[I
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=5, args_size=3
start local 0 // int length
start local 1 // int firstValue
start local 2 // int lastValue
0: .line 127
iload 0 /* length */
newarray 10
astore 3 /* arr */
start local 3 // int[] arr
1: .line 128
iconst_0
istore 4 /* i */
start local 4 // int i
2: goto 5
3: .line 129
StackMap locals: int[] int
StackMap stack:
aload 3 /* arr */
iload 4 /* i */
iload 4 /* i */
iastore
4: .line 128
iinc 4 /* i */ 1
StackMap locals:
StackMap stack:
5: iload 4 /* i */
iload 0 /* length */
if_icmplt 3
end local 4 // int i
6: .line 131
iload 0 /* length */
ifle 8
7: .line 132
aload 3 /* arr */
iconst_0
iload 1 /* firstValue */
iastore
8: .line 134
StackMap locals:
StackMap stack:
iload 0 /* length */
iconst_1
if_icmple 10
9: .line 135
aload 3 /* arr */
iload 0 /* length */
iconst_1
isub
iload 2 /* lastValue */
iastore
10: .line 137
StackMap locals:
StackMap stack:
aload 3 /* arr */
areturn
end local 3 // int[] arr
end local 2 // int lastValue
end local 1 // int firstValue
end local 0 // int length
LocalVariableTable:
Start End Slot Name Signature
0 11 0 length I
0 11 1 firstValue I
0 11 2 lastValue I
1 11 3 arr [I
2 6 4 i I
MethodParameters:
Name Flags
length
firstValue
lastValue
static long[] longArray(int, int, int);
descriptor: (III)[J
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=5, args_size=3
start local 0 // int length
start local 1 // int firstValue
start local 2 // int lastValue
0: .line 141
iload 0 /* length */
newarray 11
astore 3 /* arr */
start local 3 // long[] arr
1: .line 142
iconst_0
istore 4 /* i */
start local 4 // int i
2: goto 5
3: .line 143
StackMap locals: long[] int
StackMap stack:
aload 3 /* arr */
iload 4 /* i */
iload 4 /* i */
i2l
lastore
4: .line 142
iinc 4 /* i */ 1
StackMap locals:
StackMap stack:
5: iload 4 /* i */
iload 0 /* length */
if_icmplt 3
end local 4 // int i
6: .line 145
iload 0 /* length */
ifle 8
7: .line 146
aload 3 /* arr */
iconst_0
iload 1 /* firstValue */
i2l
lastore
8: .line 148
StackMap locals:
StackMap stack:
iload 0 /* length */
iconst_1
if_icmple 10
9: .line 149
aload 3 /* arr */
iload 0 /* length */
iconst_1
isub
iload 2 /* lastValue */
i2l
lastore
10: .line 151
StackMap locals:
StackMap stack:
aload 3 /* arr */
areturn
end local 3 // long[] arr
end local 2 // int lastValue
end local 1 // int firstValue
end local 0 // int length
LocalVariableTable:
Start End Slot Name Signature
0 11 0 length I
0 11 1 firstValue I
0 11 2 lastValue I
1 11 3 arr [J
2 6 4 i I
MethodParameters:
Name Flags
length
firstValue
lastValue
}
SourceFile: "ArraysSubstitutionsTestBase.java"
NestMembers:
org.graalvm.compiler.replacements.test.ArraysSubstitutionsTestBase$ArrayBuilder
InnerClasses:
abstract ArrayBuilder = org.graalvm.compiler.replacements.test.ArraysSubstitutionsTestBase$ArrayBuilder of org.graalvm.compiler.replacements.test.ArraysSubstitutionsTestBase