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
{
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 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 boolean checkHighTierGraph(org.graalvm.compiler.nodes.StructuredGraph);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: 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 8
StackMap locals: org.graalvm.compiler.core.test.ConditionalEliminationTest16 org.graalvm.compiler.nodes.StructuredGraph top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.ParameterNode
astore 2
start local 2 2: aload 2
invokevirtual org.graalvm.compiler.nodes.ParameterNode.index:()I
ifne 8
3: new org.graalvm.compiler.nodes.ParameterNode
dup
iconst_0
aload 0
invokevirtual org.graalvm.compiler.core.test.ConditionalEliminationTest16.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
ldc Ljava/lang/Integer;
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 4: aload 1
aload 4
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.addWithoutUnique:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
pop
5: aload 2
aload 4
invokevirtual org.graalvm.compiler.nodes.ParameterNode.replaceAtUsages:(Lorg/graalvm/compiler/graph/Node;)V
6: aload 2
invokevirtual org.graalvm.compiler.nodes.ParameterNode.safeDelete:()V
7: goto 9
end local 4 end local 2 8: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
9: StackMap locals: org.graalvm.compiler.core.test.ConditionalEliminationTest16 org.graalvm.compiler.nodes.StructuredGraph
StackMap stack:
new org.graalvm.compiler.phases.common.CanonicalizerPhase
dup
invokespecial org.graalvm.compiler.phases.common.CanonicalizerPhase.<init>:()V
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
10: aload 0
aload 1
invokespecial org.graalvm.compiler.core.test.ConditionalEliminationTestBase.checkHighTierGraph:(Lorg/graalvm/compiler/nodes/StructuredGraph;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/graalvm/compiler/core/test/ConditionalEliminationTest16;
0 11 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
2 8 2 param Lorg/graalvm/compiler/nodes/ParameterNode;
4 8 4 newParam Lorg/graalvm/compiler/nodes/ParameterNode;
MethodParameters:
Name Flags
graph
protected boolean checkMidTierGraph(org.graalvm.compiler.nodes.StructuredGraph);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;)Z
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;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/graalvm/compiler/core/test/ConditionalEliminationTest16;
0 12 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
1 12 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()
}
SourceFile: "ConditionalEliminationTest16.java"