public class org.graalvm.compiler.core.test.ConditionalEliminationTest1 extends org.graalvm.compiler.core.test.ConditionalEliminationTestBase
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.core.test.ConditionalEliminationTest1
super_class: org.graalvm.compiler.core.test.ConditionalEliminationTestBase
{
protected static int sink3;
descriptor: I
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
private static final java.lang.String REFERENCE_SNIPPET;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "referenceSnippet"
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.ConditionalEliminationTestBase.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/ConditionalEliminationTest1;
public static void referenceSnippet(int);
descriptor: (I)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
ifne 2
1: iconst_1
putstatic org.graalvm.compiler.core.test.ConditionalEliminationTest1.sink1:I
2: StackMap locals:
StackMap stack:
iconst_0
putstatic org.graalvm.compiler.core.test.ConditionalEliminationTest1.sink0:I
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 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/ConditionalEliminationTest1;
RuntimeInvisibleAnnotations:
Test()
public static void test1Snippet(int);
descriptor: (I)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
ifne 8
1: iload 0
iconst_5
if_icmpne 3
2: bipush 100
putstatic org.graalvm.compiler.core.test.ConditionalEliminationTest1.sink2:I
3: StackMap locals:
StackMap stack:
iload 0
bipush 100
if_icmple 6
4: iload 0
ifne 6
5: sipush 200
putstatic org.graalvm.compiler.core.test.ConditionalEliminationTest1.sink3:I
6: StackMap locals:
StackMap stack:
iload 0
iconst_2
if_icmpeq 8
7: iconst_1
putstatic org.graalvm.compiler.core.test.ConditionalEliminationTest1.sink1:I
8: StackMap locals:
StackMap stack:
iconst_0
putstatic org.graalvm.compiler.core.test.ConditionalEliminationTest1.sink0:I
9: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 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/ConditionalEliminationTest1;
RuntimeInvisibleAnnotations:
Test()
public static void test2Snippet(int);
descriptor: (I)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
ifne 6
1: iload 0
bipush 100
if_icmple 4
2: iload 0
ifne 4
3: sipush 200
putstatic org.graalvm.compiler.core.test.ConditionalEliminationTest1.sink3:I
4: StackMap locals:
StackMap stack:
iload 0
iconst_2
if_icmpeq 6
5: iconst_1
putstatic org.graalvm.compiler.core.test.ConditionalEliminationTest1.sink1:I
6: StackMap locals:
StackMap stack:
iconst_0
putstatic org.graalvm.compiler.core.test.ConditionalEliminationTest1.sink0:I
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 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/ConditionalEliminationTest1;
RuntimeInvisibleAnnotations:
Test()
public static void test3Snippet(int);
descriptor: (I)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
ifne 11
1: iload 0
iconst_1
if_icmpge 11
2: iload 0
iconst_2
if_icmpge 11
3: iload 0
iconst_3
if_icmpge 11
4: iload 0
iconst_m1
if_icmple 11
5: iload 0
bipush -2
if_icmple 11
6: iload 0
bipush -3
if_icmple 11
7: iload 0
iconst_1
if_icmpne 10
8: bipush 42
putstatic org.graalvm.compiler.core.test.ConditionalEliminationTest1.sink2:I
9: goto 11
10: StackMap locals:
StackMap stack:
iconst_1
putstatic org.graalvm.compiler.core.test.ConditionalEliminationTest1.sink1:I
11: StackMap locals:
StackMap stack:
iconst_0
putstatic org.graalvm.compiler.core.test.ConditionalEliminationTest1.sink0:I
12: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 a I
MethodParameters:
Name Flags
a
public static void test4Snippet(int, int);
descriptor: (II)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iconst_1
if_icmpge 4
1: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.controlFlowAnchor:()V
2: iload 1
ifge 4
3: iconst_1
putstatic org.graalvm.compiler.core.test.ConditionalEliminationTest1.sink1:I
4: StackMap locals:
StackMap stack:
iconst_0
putstatic org.graalvm.compiler.core.test.ConditionalEliminationTest1.sink0:I
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 a I
0 6 1 b I
MethodParameters:
Name Flags
a
b
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/ConditionalEliminationTest1;
RuntimeInvisibleAnnotations:
Test()
public static void test5Snippet(int, int);
descriptor: (II)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iconst_3
iand
ifne 6
1: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.controlFlowAnchor:()V
2: iload 1
bipush 7
iand
ifne 10
3: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.controlFlowAnchor:()V
4: iconst_1
putstatic org.graalvm.compiler.core.test.ConditionalEliminationTest1.sink1:I
5: goto 10
6: StackMap locals:
StackMap stack:
invokestatic org.graalvm.compiler.api.directives.GraalDirectives.controlFlowAnchor:()V
7: iload 1
iconst_1
iand
ifne 10
8: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.controlFlowAnchor:()V
9: iconst_2
putstatic org.graalvm.compiler.core.test.ConditionalEliminationTest1.sink2:I
10: StackMap locals:
StackMap stack:
iconst_0
putstatic org.graalvm.compiler.core.test.ConditionalEliminationTest1.sink0:I
11: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 a I
0 12 1 b I
MethodParameters:
Name Flags
a
b
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/ConditionalEliminationTest1;
RuntimeInvisibleAnnotations:
Test()
}
SourceFile: "ConditionalEliminationTest1.java"