public class org.graalvm.compiler.core.test.ConditionalEliminationPiTest 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.ConditionalEliminationPiTest
super_class: org.graalvm.compiler.core.test.ConditionalEliminationTestBase
{
static int SideEffect;
descriptor: I
flags: (0x0008) ACC_STATIC
static double oracleValue1;
descriptor: D
flags: (0x0008) ACC_STATIC
static double oracleValue2;
descriptor: D
flags: (0x0008) ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc -0.0
putstatic org.graalvm.compiler.core.test.ConditionalEliminationPiTest.oracleValue1:D
1: return
LocalVariableTable:
Start End Slot Name Signature
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/ConditionalEliminationPiTest;
public static double testSnippet1(int);
descriptor: (I)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: iload 0
ifle 8
1: getstatic org.graalvm.compiler.core.test.ConditionalEliminationPiTest.oracleValue1:D
dstore 3
start local 3 2: dload 3
dconst_0
dcmpl
ifne 5
3: iconst_1
putstatic org.graalvm.compiler.core.test.ConditionalEliminationPiTest.SideEffect:I
4: goto 6
5: StackMap locals: int top top double
StackMap stack:
ldc 123.0
dreturn
6: StackMap locals:
StackMap stack:
dload 3
dstore 1
end local 3 start local 1 7: goto 14
end local 1 8: StackMap locals: int
StackMap stack:
getstatic org.graalvm.compiler.core.test.ConditionalEliminationPiTest.oracleValue2:D
dstore 3
start local 3 9: dload 3
dconst_0
dcmpl
ifne 13
10: iconst_1
putstatic org.graalvm.compiler.core.test.ConditionalEliminationPiTest.SideEffect:I
11: dload 3
dstore 1
start local 1 12: goto 14
end local 1 13: StackMap locals: int top top double
StackMap stack:
dconst_0
dreturn
end local 3 start local 1 14: StackMap locals: int double
StackMap stack:
dload 1
invokestatic java.lang.Double.doubleToRawLongBits:(D)J
ldc -0.0
invokestatic java.lang.Double.doubleToRawLongBits:(D)J
lcmp
ifne 16
15: ldc 12.0
dreturn
16: StackMap locals:
StackMap stack:
ldc 2.0
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 a I
7 8 1 phi D
12 13 1 phi D
14 17 1 phi D
2 7 3 oracle D
9 14 3 oracle D
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/ConditionalEliminationPiTest;
RuntimeInvisibleAnnotations:
Test()
}
SourceFile: "ConditionalEliminationPiTest.java"