public class org.graalvm.compiler.core.test.SwitchFoldingTest extends org.graalvm.compiler.core.test.GraalCompilerTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.core.test.SwitchFoldingTest
super_class: org.graalvm.compiler.core.test.GraalCompilerTest
{
private static final java.lang.String REFERENCE_SNIPPET;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "referenceSnippet"
private static final java.lang.String REFERENCE_SNIPPET_2;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "reference2Snippet"
private static final java.lang.String REFERENCE_SNIPPET_3;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "reference3Snippet"
private static final java.lang.String REFERENCE_SNIPPET_4;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "reference4Snippet"
private static final java.lang.String REFERENCE_SNIPPET_5;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "reference5Snippet"
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.graalvm.compiler.core.test.GraalCompilerTest.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/SwitchFoldingTest;
public static int referenceSnippet(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
tableswitch { // 0 - 8
0: 1
1: 2
2: 3
3: 4
4: 5
5: 6
6: 7
7: 8
8: 9
default: 10
}
1: StackMap locals:
StackMap stack:
bipush 10
ireturn
2: StackMap locals:
StackMap stack:
iconst_5
ireturn
3: StackMap locals:
StackMap stack:
iconst_3
ireturn
4: StackMap locals:
StackMap stack:
bipush 11
ireturn
5: StackMap locals:
StackMap stack:
bipush 14
ireturn
6: StackMap locals:
StackMap stack:
iconst_2
ireturn
7: StackMap locals:
StackMap stack:
iconst_1
ireturn
8: StackMap locals:
StackMap stack:
iconst_0
ireturn
9: StackMap locals:
StackMap stack:
bipush 7
ireturn
10: StackMap locals:
StackMap stack:
bipush 6
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 a I
MethodParameters:
Name Flags
a
public static int reference2Snippet(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
tableswitch { // 0 - 3
0: 1
1: 2
2: 2
3: 3
default: 4
}
1: StackMap locals:
StackMap stack:
iconst_4
ireturn
2: StackMap locals:
StackMap stack:
iconst_1
ireturn
3: StackMap locals:
StackMap stack:
bipush 6
ireturn
4: StackMap locals:
StackMap stack:
bipush 7
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 a I
MethodParameters:
Name Flags
a
public static int reference3Snippet(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
tableswitch { // 0 - 7
0: 1
1: 2
2: 2
3: 3
4: 2
5: 3
6: 3
7: 3
default: 3
}
1: StackMap locals:
StackMap stack:
iconst_4
ireturn
2: StackMap locals:
StackMap stack:
bipush 6
ireturn
3: StackMap locals:
StackMap stack:
bipush 7
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 a I
MethodParameters:
Name Flags
a
public static int test1Snippet(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
ifne 2
1: bipush 10
ireturn
2: StackMap locals:
StackMap stack:
iload 0
iconst_1
if_icmpne 4
3: iconst_5
ireturn
4: StackMap locals:
StackMap stack:
iload 0
iconst_2
if_icmpne 6
5: iconst_3
ireturn
6: StackMap locals:
StackMap stack:
iload 0
iconst_3
if_icmpne 8
7: bipush 11
ireturn
8: StackMap locals:
StackMap stack:
iload 0
iconst_4
if_icmpne 10
9: bipush 14
ireturn
10: StackMap locals:
StackMap stack:
iload 0
iconst_5
if_icmpne 12
11: iconst_2
ireturn
12: StackMap locals:
StackMap stack:
iload 0
bipush 6
if_icmpne 14
13: iconst_1
ireturn
14: StackMap locals:
StackMap stack:
iload 0
bipush 7
if_icmpne 16
15: iconst_0
ireturn
16: StackMap locals:
StackMap stack:
iload 0
bipush 8
if_icmpne 18
17: bipush 7
ireturn
18: StackMap locals:
StackMap stack:
bipush 6
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 a I
MethodParameters:
Name Flags
a
public void test1();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/SwitchFoldingTest;
RuntimeInvisibleAnnotations:
Test()
public static int test2Snippet(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
tableswitch { // 0 - 4
0: 1
1: 2
2: 3
3: 4
4: 5
default: 6
}
1: StackMap locals:
StackMap stack:
bipush 10
ireturn
2: StackMap locals:
StackMap stack:
iconst_5
ireturn
3: StackMap locals:
StackMap stack:
iconst_3
ireturn
4: StackMap locals:
StackMap stack:
bipush 11
ireturn
5: StackMap locals:
StackMap stack:
bipush 14
ireturn
6: StackMap locals:
StackMap stack:
iload 0
tableswitch { // 5 - 8
5: 7
6: 8
7: 9
8: 10
default: 11
}
7: StackMap locals:
StackMap stack:
iconst_2
ireturn
8: StackMap locals:
StackMap stack:
iconst_1
ireturn
9: StackMap locals:
StackMap stack:
iconst_0
ireturn
10: StackMap locals:
StackMap stack:
bipush 7
ireturn
11: StackMap locals:
StackMap stack:
bipush 6
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 a I
MethodParameters:
Name Flags
a
public void test2();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/SwitchFoldingTest;
RuntimeInvisibleAnnotations:
Test()
public static int test3Snippet(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
tableswitch { // 0 - 0
0: 1
default: 2
}
1: StackMap locals:
StackMap stack:
bipush 10
ireturn
2: StackMap locals:
StackMap stack:
iload 0
tableswitch { // 1 - 1
1: 3
default: 4
}
3: StackMap locals:
StackMap stack:
iconst_5
ireturn
4: StackMap locals:
StackMap stack:
iload 0
tableswitch { // 2 - 2
2: 5
default: 6
}
5: StackMap locals:
StackMap stack:
iconst_3
ireturn
6: StackMap locals:
StackMap stack:
iload 0
tableswitch { // 3 - 3
3: 7
default: 8
}
7: StackMap locals:
StackMap stack:
bipush 11
ireturn
8: StackMap locals:
StackMap stack:
iload 0
tableswitch { // 4 - 4
4: 9
default: 10
}
9: StackMap locals:
StackMap stack:
bipush 14
ireturn
10: StackMap locals:
StackMap stack:
iload 0
tableswitch { // 5 - 5
5: 11
default: 12
}
11: StackMap locals:
StackMap stack:
iconst_2
ireturn
12: StackMap locals:
StackMap stack:
iload 0
tableswitch { // 6 - 6
6: 13
default: 14
}
13: StackMap locals:
StackMap stack:
iconst_1
ireturn
14: StackMap locals:
StackMap stack:
iload 0
tableswitch { // 7 - 7
7: 15
default: 16
}
15: StackMap locals:
StackMap stack:
iconst_0
ireturn
16: StackMap locals:
StackMap stack:
iload 0
tableswitch { // 8 - 8
8: 17
default: 18
}
17: StackMap locals:
StackMap stack:
bipush 7
ireturn
18: StackMap locals:
StackMap stack:
bipush 6
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 a I
MethodParameters:
Name Flags
a
public void test3();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/SwitchFoldingTest;
RuntimeInvisibleAnnotations:
Test()
public static int test4Snippet(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
tableswitch { // 0 - 6
0: 1
1: 2
2: 3
3: 4
4: 5
5: 6
6: 7
default: 8
}
1: StackMap locals:
StackMap stack:
bipush 10
ireturn
2: StackMap locals:
StackMap stack:
iconst_5
ireturn
3: StackMap locals:
StackMap stack:
iconst_3
ireturn
4: StackMap locals:
StackMap stack:
bipush 11
ireturn
5: StackMap locals:
StackMap stack:
bipush 14
ireturn
6: StackMap locals:
StackMap stack:
iconst_2
ireturn
7: StackMap locals:
StackMap stack:
iconst_1
ireturn
8: StackMap locals:
StackMap stack:
iload 0
bipush 7
if_icmpne 10
9: iconst_0
ireturn
10: StackMap locals:
StackMap stack:
iload 0
bipush 8
if_icmpne 12
11: bipush 7
ireturn
12: StackMap locals:
StackMap stack:
bipush 6
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 a I
MethodParameters:
Name Flags
a
public void test4();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/SwitchFoldingTest;
RuntimeInvisibleAnnotations:
Test()
public static int test5Snippet(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
tableswitch { // 0 - 0
0: 1
default: 2
}
1: StackMap locals:
StackMap stack:
bipush 10
ireturn
2: StackMap locals:
StackMap stack:
iload 0
tableswitch { // 1 - 1
1: 3
default: 4
}
3: StackMap locals:
StackMap stack:
iconst_5
ireturn
4: StackMap locals:
StackMap stack:
iload 0
tableswitch { // 2 - 2
2: 5
default: 6
}
5: StackMap locals:
StackMap stack:
iconst_3
ireturn
6: StackMap locals:
StackMap stack:
iload 0
tableswitch { // 3 - 3
3: 7
default: 8
}
7: StackMap locals:
StackMap stack:
bipush 11
ireturn
8: StackMap locals:
StackMap stack:
iload 0
tableswitch { // 4 - 4
4: 9
default: 10
}
9: StackMap locals:
StackMap stack:
bipush 14
ireturn
10: StackMap locals:
StackMap stack:
iload 0
tableswitch { // 5 - 5
5: 11
default: 12
}
11: StackMap locals:
StackMap stack:
iconst_2
ireturn
12: StackMap locals:
StackMap stack:
iload 0
tableswitch { // 6 - 6
6: 13
default: 14
}
13: StackMap locals:
StackMap stack:
iconst_1
ireturn
14: StackMap locals:
StackMap stack:
iload 0
bipush 7
if_icmpne 16
15: iconst_0
ireturn
16: StackMap locals:
StackMap stack:
iload 0
bipush 8
if_icmpne 18
17: bipush 7
ireturn
18: StackMap locals:
StackMap stack:
bipush 6
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 a I
MethodParameters:
Name Flags
a
public void test5();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/SwitchFoldingTest;
RuntimeInvisibleAnnotations:
Test()
public static int test6Snippet(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
ifne 2
1: bipush 10
ireturn
2: StackMap locals:
StackMap stack:
iload 0
tableswitch { // 1 - 1
1: 3
default: 4
}
3: StackMap locals:
StackMap stack:
iconst_5
ireturn
4: StackMap locals:
StackMap stack:
iload 0
iconst_2
if_icmpne 6
5: iconst_3
ireturn
6: StackMap locals:
StackMap stack:
iload 0
iconst_3
if_icmpne 8
7: bipush 11
ireturn
8: StackMap locals:
StackMap stack:
iload 0
tableswitch { // 4 - 6
4: 9
5: 10
6: 11
default: 12
}
9: StackMap locals:
StackMap stack:
bipush 14
ireturn
10: StackMap locals:
StackMap stack:
iconst_2
ireturn
11: StackMap locals:
StackMap stack:
iconst_1
ireturn
12: StackMap locals:
StackMap stack:
iload 0
bipush 7
if_icmpne 14
13: iconst_0
ireturn
14: StackMap locals:
StackMap stack:
iload 0
bipush 8
if_icmpne 16
15: bipush 7
ireturn
16: StackMap locals:
StackMap stack:
bipush 6
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 a I
MethodParameters:
Name Flags
a
public void test6();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/SwitchFoldingTest;
RuntimeInvisibleAnnotations:
Test()
public static int test7Snippet(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
ifne 2
1: iconst_4
ireturn
2: StackMap locals:
StackMap stack:
iload 0
tableswitch { // 1 - 3
1: 3
2: 3
3: 4
default: 5
}
3: StackMap locals:
StackMap stack:
iconst_1
ireturn
4: StackMap locals:
StackMap stack:
bipush 6
ireturn
5: StackMap locals:
StackMap stack:
bipush 7
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 a I
MethodParameters:
Name Flags
a
public void test7();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/SwitchFoldingTest;
RuntimeInvisibleAnnotations:
Test()
public static int test8Snippet(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
tableswitch { // 0 - 7
0: 1
1: 2
2: 2
3: 2
4: 2
5: 2
6: 2
7: 2
default: 2
}
1: StackMap locals:
StackMap stack:
iconst_4
ireturn
2: StackMap locals:
StackMap stack:
iload 0
tableswitch { // 2 - 6
2: 3
3: 3
4: 3
5: 3
6: 3
default: 3
}
3: StackMap locals:
StackMap stack:
iload 0
tableswitch { // 1 - 4
1: 4
2: 4
3: 5
4: 4
default: 5
}
4: StackMap locals:
StackMap stack:
bipush 6
ireturn
5: StackMap locals:
StackMap stack:
bipush 7
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 a I
MethodParameters:
Name Flags
a
public void test8();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/SwitchFoldingTest;
RuntimeInvisibleAnnotations:
Test()
public static int reference4Snippet(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
tableswitch { // 0 - 7
0: 1
1: 2
2: 2
3: 5
4: 2
5: 5
6: 3
7: 4
default: 5
}
1: StackMap locals:
StackMap stack:
iconst_4
ireturn
2: StackMap locals:
StackMap stack:
bipush 6
ireturn
3: StackMap locals:
StackMap stack:
bipush 7
ireturn
4: StackMap locals:
StackMap stack:
bipush 7
ireturn
5: StackMap locals:
StackMap stack:
bipush 7
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 a I
MethodParameters:
Name Flags
a
public static int test9Snippet(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
tableswitch { // 0 - 7
0: 1
1: 2
2: 2
3: 3
4: 2
5: 3
6: 3
7: 3
default: 3
}
1: StackMap locals:
StackMap stack:
iconst_4
ireturn
2: StackMap locals:
StackMap stack:
bipush 6
ireturn
3: StackMap locals:
StackMap stack:
iload 0
bipush 6
if_icmpne 5
4: bipush 7
ireturn
5: StackMap locals:
StackMap stack:
iload 0
bipush 7
if_icmpne 7
6: bipush 7
ireturn
7: StackMap locals:
StackMap stack:
bipush 7
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 a I
MethodParameters:
Name Flags
a
public void test9();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/SwitchFoldingTest;
RuntimeInvisibleAnnotations:
Test()
public static int reference5Snippet(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
tableswitch { // 0 - 3
0: 1
1: 2
2: 3
3: 4
default: 5
}
1: StackMap locals:
StackMap stack:
iconst_4
ireturn
2: StackMap locals:
StackMap stack:
iconst_1
ireturn
3: StackMap locals:
StackMap stack:
iconst_1
ireturn
4: StackMap locals:
StackMap stack:
bipush 6
ireturn
5: StackMap locals:
StackMap stack:
bipush 7
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 a I
MethodParameters:
Name Flags
a
public static int test10Snippet(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
ifne 2
1: iconst_4
ireturn
2: StackMap locals:
StackMap stack:
iload 0
iconst_1
if_icmpeq 3
iload 0
iconst_2
if_icmpne 4
3: StackMap locals:
StackMap stack:
iconst_1
ireturn
4: StackMap locals:
StackMap stack:
iload 0
tableswitch { // 3 - 3
3: 5
default: 6
}
5: StackMap locals:
StackMap stack:
bipush 6
ireturn
6: StackMap locals:
StackMap stack:
bipush 7
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 a I
MethodParameters:
Name Flags
a
public void test10();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/SwitchFoldingTest;
RuntimeInvisibleAnnotations:
Test()
private void test1(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc "referenceSnippet"
invokevirtual org.graalvm.compiler.core.test.SwitchFoldingTest.test:(Ljava/lang/String;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/core/test/SwitchFoldingTest;
0 2 1 snippet Ljava/lang/String;
MethodParameters:
Name Flags
snippet
private void test2(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc "reference2Snippet"
invokevirtual org.graalvm.compiler.core.test.SwitchFoldingTest.test:(Ljava/lang/String;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/core/test/SwitchFoldingTest;
0 2 1 snippet Ljava/lang/String;
MethodParameters:
Name Flags
snippet
private void test3(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc "reference3Snippet"
invokevirtual org.graalvm.compiler.core.test.SwitchFoldingTest.test:(Ljava/lang/String;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/core/test/SwitchFoldingTest;
0 2 1 snippet Ljava/lang/String;
MethodParameters:
Name Flags
snippet
private void test4(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc "reference4Snippet"
invokevirtual org.graalvm.compiler.core.test.SwitchFoldingTest.test:(Ljava/lang/String;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/core/test/SwitchFoldingTest;
0 2 1 snippet Ljava/lang/String;
MethodParameters:
Name Flags
snippet
private void test5(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc "reference5Snippet"
invokevirtual org.graalvm.compiler.core.test.SwitchFoldingTest.test:(Ljava/lang/String;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/core/test/SwitchFoldingTest;
0 2 1 snippet Ljava/lang/String;
MethodParameters:
Name Flags
snippet
private void test(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
getstatic org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions.YES:Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;
invokevirtual org.graalvm.compiler.core.test.SwitchFoldingTest.parseEager:(Ljava/lang/String;Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;)Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 3
start local 3 1: aload 3
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
astore 4
start local 4 2: aload 4
iconst_1
aload 3
ldc "Graph"
invokevirtual org.graalvm.compiler.debug.DebugContext.dump:(ILjava/lang/Object;Ljava/lang/String;)V
3: aload 0
invokevirtual org.graalvm.compiler.core.test.SwitchFoldingTest.createCanonicalizerPhase:()Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;
aload 3
aload 0
invokevirtual org.graalvm.compiler.core.test.SwitchFoldingTest.getProviders:()Lorg/graalvm/compiler/phases/util/Providers;
invokevirtual org.graalvm.compiler.phases.common.CanonicalizerPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
4: aload 0
aload 2
getstatic org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions.YES:Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;
invokevirtual org.graalvm.compiler.core.test.SwitchFoldingTest.parseEager:(Ljava/lang/String;Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;)Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 5
start local 5 5: aload 0
aload 5
aload 3
invokevirtual org.graalvm.compiler.core.test.SwitchFoldingTest.assertEquals:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/StructuredGraph;)V
6: return
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 7 0 this Lorg/graalvm/compiler/core/test/SwitchFoldingTest;
0 7 1 snippet Ljava/lang/String;
0 7 2 ref Ljava/lang/String;
1 7 3 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
2 7 4 debug Lorg/graalvm/compiler/debug/DebugContext;
5 7 5 referenceGraph Lorg/graalvm/compiler/nodes/StructuredGraph;
MethodParameters:
Name Flags
snippet
ref
}
SourceFile: "SwitchFoldingTest.java"
InnerClasses:
public final AllowAssumptions = org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions of org.graalvm.compiler.nodes.StructuredGraph