public class org.graalvm.compiler.core.test.ConditionalEliminationTest3 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.ConditionalEliminationTest3
super_class: org.graalvm.compiler.core.test.ConditionalEliminationTestBase
{
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/ConditionalEliminationTest3;
public static int referenceSnippet(int, int);
descriptor: (II)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: StackMap locals: int
StackMap stack:
iload 1
bipush 100
if_icmple 1
2: StackMap locals:
StackMap stack:
iinc 2 1
3: iload 2
bipush 100
if_icmpne 5
4: goto 1
5: StackMap locals:
StackMap stack:
iload 2
sipush 1000
if_icmpne 2
iload 1
sipush 1000
if_icmpge 2
6: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 a I
0 7 1 b I
1 7 2 sum I
MethodParameters:
Name Flags
a
b
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/ConditionalEliminationTest3;
RuntimeInvisibleAnnotations:
Test()
public static int test1Snippet(int, int);
descriptor: (II)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: StackMap locals: int
StackMap stack:
iload 1
bipush 100
if_icmple 1
2: StackMap locals:
StackMap stack:
iinc 2 1
3: iload 2
bipush 100
if_icmpne 5
4: goto 1
5: StackMap locals:
StackMap stack:
iload 2
sipush 1000
if_icmpne 2
iload 1
sipush 1000
if_icmpge 2
6: iload 1
sipush 1000
if_icmplt 8
7: iconst_5
ireturn
8: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 a I
0 9 1 b I
1 9 2 sum I
MethodParameters:
Name Flags
a
b
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/ConditionalEliminationTest3;
RuntimeInvisibleAnnotations:
Test()
public static int test2Snippet(int, int);
descriptor: (II)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: StackMap locals: int
StackMap stack:
iload 1
bipush 100
if_icmple 1
2: StackMap locals:
StackMap stack:
iinc 2 1
3: iload 2
bipush 100
if_icmpne 5
4: goto 7
5: StackMap locals:
StackMap stack:
iload 2
sipush 1000
if_icmpne 2
iload 1
sipush 1000
if_icmpge 2
6: goto 9
7: StackMap locals:
StackMap stack:
iload 2
bipush 100
if_icmpeq 1
8: bipush 42
ireturn
9: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 a I
0 10 1 b I
1 10 2 sum I
MethodParameters:
Name Flags
a
b
}
SourceFile: "ConditionalEliminationTest3.java"