public class org.graalvm.compiler.core.test.ConditionalEliminationTest16 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.ConditionalEliminationTest16
super_class: org.graalvm.compiler.core.test.ConditionalEliminationTestBase
{
java.lang.Class<?> parameterType;
descriptor: Ljava/lang/Class;
flags: (0x0000)
Signature: Ljava/lang/Class<*>;
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/ConditionalEliminationTest16;
public void resetType();
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\tBefore 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/ConditionalEliminationTest16;
RuntimeInvisibleAnnotations:
Before()
public static int testCastExactInstance(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
ldc Ljava/lang/Integer;
if_acmpne 2
1: aload 0
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
ireturn
2: StackMap locals:
StackMap stack:
invokestatic org.graalvm.compiler.api.directives.GraalDirectives.deoptimizeAndInvalidate:()V
3: iconst_m1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 object Ljava/lang/Object;
MethodParameters:
Name Flags
object
protected void checkHighTierGraph(org.graalvm.compiler.nodes.StructuredGraph);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.core.test.ConditionalEliminationTest16.parameterType:Ljava/lang/Class;
ifnull 11
1: aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
ldc Lorg/graalvm/compiler/nodes/ParameterNode;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.filter:(Ljava/lang/Class;)Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
astore 3
goto 9
StackMap locals: org.graalvm.compiler.core.test.ConditionalEliminationTest16 org.graalvm.compiler.nodes.StructuredGraph top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.ParameterNode
astore 2
start local 2 3: aload 2
invokevirtual org.graalvm.compiler.nodes.ParameterNode.index:()I
ifne 9
4: new org.graalvm.compiler.nodes.ParameterNode
dup
iconst_0
aload 0
invokevirtual org.graalvm.compiler.core.test.ConditionalEliminationTest16.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 0
getfield org.graalvm.compiler.core.test.ConditionalEliminationTest16.parameterType:Ljava/lang/Class;
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaType:(Ljava/lang/Class;)Ljdk/vm/ci/meta/ResolvedJavaType;
invokestatic org.graalvm.compiler.core.common.type.TypeReference.createExactTrusted:(Ljdk/vm/ci/meta/ResolvedJavaType;)Lorg/graalvm/compiler/core/common/type/TypeReference;
invokestatic org.graalvm.compiler.core.common.type.StampFactory.object:(Lorg/graalvm/compiler/core/common/type/TypeReference;)Lorg/graalvm/compiler/core/common/type/ObjectStamp;
invokestatic org.graalvm.compiler.core.common.type.StampPair.createSingle:(Lorg/graalvm/compiler/core/common/type/Stamp;)Lorg/graalvm/compiler/core/common/type/StampPair;
invokespecial org.graalvm.compiler.nodes.ParameterNode.<init>:(ILorg/graalvm/compiler/core/common/type/StampPair;)V
astore 4
start local 4 5: aload 1
aload 4
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.addWithoutUnique:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
pop
6: aload 2
aload 4
invokevirtual org.graalvm.compiler.nodes.ParameterNode.replaceAtUsages:(Lorg/graalvm/compiler/graph/Node;)V
7: aload 2
invokevirtual org.graalvm.compiler.nodes.ParameterNode.safeDelete:()V
8: goto 10
end local 4 end local 2 9: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
10: StackMap locals: org.graalvm.compiler.core.test.ConditionalEliminationTest16 org.graalvm.compiler.nodes.StructuredGraph
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.core.test.ConditionalEliminationTest16.createCanonicalizerPhase:()Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;
aload 1
aload 0
invokevirtual org.graalvm.compiler.core.test.ConditionalEliminationTest16.getDefaultHighTierContext:()Lorg/graalvm/compiler/phases/tiers/HighTierContext;
invokevirtual org.graalvm.compiler.phases.common.CanonicalizerPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
11: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial org.graalvm.compiler.core.test.ConditionalEliminationTestBase.checkHighTierGraph:(Lorg/graalvm/compiler/nodes/StructuredGraph;)V
12: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/graalvm/compiler/core/test/ConditionalEliminationTest16;
0 13 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
3 9 2 param Lorg/graalvm/compiler/nodes/ParameterNode;
5 9 4 newParam Lorg/graalvm/compiler/nodes/ParameterNode;
MethodParameters:
Name Flags
graph
protected void checkMidTierGraph(org.graalvm.compiler.nodes.StructuredGraph);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
ldc Lorg/graalvm/compiler/nodes/PiNode;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.filter:(Ljava/lang/Class;)Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
astore 4
goto 7
StackMap locals: org.graalvm.compiler.core.test.ConditionalEliminationTest16 org.graalvm.compiler.nodes.StructuredGraph int top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.PiNode
astore 3
start local 3 3: aload 3
invokevirtual org.graalvm.compiler.nodes.PiNode.getGuard:()Lorg/graalvm/compiler/nodes/extended/GuardingNode;
ifnull 4
iconst_1
goto 5
StackMap locals: org.graalvm.compiler.core.test.ConditionalEliminationTest16 org.graalvm.compiler.nodes.StructuredGraph int org.graalvm.compiler.nodes.PiNode java.util.Iterator
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: ldc "must have guarding node"
iconst_0
anewarray java.lang.Object
invokestatic org.graalvm.compiler.core.test.ConditionalEliminationTest16.assertTrue:(ZLjava/lang/String;[Ljava/lang/Object;)V
6: iinc 2 1
end local 3 7: StackMap locals: org.graalvm.compiler.core.test.ConditionalEliminationTest16 org.graalvm.compiler.nodes.StructuredGraph int top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
8: iload 2
ifle 9
iconst_1
goto 10
StackMap locals: org.graalvm.compiler.core.test.ConditionalEliminationTest16 org.graalvm.compiler.nodes.StructuredGraph int
StackMap stack:
9: iconst_0
StackMap locals:
StackMap stack: int
10: ldc "expected at least one Pi"
iconst_0
anewarray java.lang.Object
invokestatic org.graalvm.compiler.core.test.ConditionalEliminationTest16.assertTrue:(ZLjava/lang/String;[Ljava/lang/Object;)V
11: aload 0
aload 1
invokespecial org.graalvm.compiler.core.test.ConditionalEliminationTestBase.checkMidTierGraph:(Lorg/graalvm/compiler/nodes/StructuredGraph;)V
12: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/graalvm/compiler/core/test/ConditionalEliminationTest16;
0 13 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
1 13 2 count I
3 7 3 node Lorg/graalvm/compiler/nodes/PiNode;
MethodParameters:
Name Flags
graph
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/ConditionalEliminationTest16;
RuntimeInvisibleAnnotations:
Test()
public static int testCastExactTwiceInstance(org.graalvm.compiler.core.test.ConditionalEliminationTest16$Base, boolean);
descriptor: (Lorg/graalvm/compiler/core/test/ConditionalEliminationTest16$Base;Z)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
instanceof org.graalvm.compiler.core.test.ConditionalEliminationTest16$Box
ifne 3
1: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.deoptimizeAndInvalidate:()V
2: iconst_m1
ireturn
3: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 4: aload 0
instanceof org.graalvm.compiler.core.test.ConditionalEliminationTest16$Box
ifeq 10
5: aload 0
checkcast org.graalvm.compiler.core.test.ConditionalEliminationTest16$Box
astore 3
start local 3 6: iload 2
aload 3
getfield org.graalvm.compiler.core.test.ConditionalEliminationTest16$Box.value1:I
iadd
istore 2
7: iload 1
ifeq 9
8: iload 2
aload 0
invokestatic java.lang.System.identityHashCode:(Ljava/lang/Object;)I
iadd
istore 2
9: StackMap locals: int org.graalvm.compiler.core.test.ConditionalEliminationTest16$Box
StackMap stack:
iload 2
aload 0
checkcast org.graalvm.compiler.core.test.ConditionalEliminationTest16$BiggerBox
invokevirtual org.graalvm.compiler.core.test.ConditionalEliminationTest16$BiggerBox.getValue2:()I
iadd
istore 2
end local 3 10: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 base Lorg/graalvm/compiler/core/test/ConditionalEliminationTest16$Base;
0 11 1 b Z
4 11 2 total I
6 10 3 box Lorg/graalvm/compiler/core/test/ConditionalEliminationTest16$Box;
MethodParameters:
Name Flags
base
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/ConditionalEliminationTest16;
RuntimeInvisibleAnnotations:
Test()
}
SourceFile: "ConditionalEliminationTest16.java"
NestMembers:
org.graalvm.compiler.core.test.ConditionalEliminationTest16$Base org.graalvm.compiler.core.test.ConditionalEliminationTest16$BiggerBox org.graalvm.compiler.core.test.ConditionalEliminationTest16$Box
InnerClasses:
Base = org.graalvm.compiler.core.test.ConditionalEliminationTest16$Base of org.graalvm.compiler.core.test.ConditionalEliminationTest16
BiggerBox = org.graalvm.compiler.core.test.ConditionalEliminationTest16$BiggerBox of org.graalvm.compiler.core.test.ConditionalEliminationTest16
Box = org.graalvm.compiler.core.test.ConditionalEliminationTest16$Box of org.graalvm.compiler.core.test.ConditionalEliminationTest16