public class org.graalvm.compiler.core.test.VerifyGetOptionsUsage extends org.graalvm.compiler.phases.VerifyPhase<org.graalvm.compiler.phases.tiers.PhaseContext>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.core.test.VerifyGetOptionsUsage
super_class: org.graalvm.compiler.phases.VerifyPhase
{
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.phases.VerifyPhase.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/VerifyGetOptionsUsage;
static java.lang.reflect.Method lookupMethod(java.lang.Class<?>, java.lang.String);
descriptor: (Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/reflect/Method;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.Class.getDeclaredMethods:()[Ljava/lang/reflect/Method;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 5
StackMap locals: java.lang.Class java.lang.String top int int java.lang.reflect.Method[]
StackMap stack:
1: aload 5
iload 3
aaload
astore 2
start local 2 2: aload 2
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: aload 2
areturn
end local 2 4: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 4
if_icmplt 1
6: new java.lang.InternalError
dup
invokespecial java.lang.InternalError.<init>:()V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 klass Ljava/lang/Class<*>;
0 7 1 name Ljava/lang/String;
2 4 2 m Ljava/lang/reflect/Method;
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;)Ljava/lang/reflect/Method;
MethodParameters:
Name Flags
klass
name
protected boolean verify(org.graalvm.compiler.nodes.StructuredGraph, org.graalvm.compiler.phases.tiers.PhaseContext);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/phases/tiers/PhaseContext;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual org.graalvm.compiler.phases.tiers.PhaseContext.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
astore 3
start local 3 1: aload 3
ldc Lorg/graalvm/compiler/graph/spi/CanonicalizerTool;
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaType:(Ljava/lang/Class;)Ljdk/vm/ci/meta/ResolvedJavaType;
astore 4
start local 4 2: iconst_0
istore 5
start local 5 3: aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.method:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getParameters:()[Ljdk/vm/ci/meta/ResolvedJavaMethod$Parameter;
dup
astore 9
arraylength
istore 8
iconst_0
istore 7
goto 9
StackMap locals: org.graalvm.compiler.core.test.VerifyGetOptionsUsage org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.phases.tiers.PhaseContext jdk.vm.ci.meta.MetaAccessProvider jdk.vm.ci.meta.ResolvedJavaType int top int int jdk.vm.ci.meta.ResolvedJavaMethod$Parameter[]
StackMap stack:
4: aload 9
iload 7
aaload
astore 6
start local 6 5: aload 6
invokevirtual jdk.vm.ci.meta.ResolvedJavaMethod$Parameter.getType:()Ljdk/vm/ci/meta/JavaType;
invokeinterface jdk.vm.ci.meta.JavaType.getName:()Ljava/lang/String;
aload 4
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
6: iconst_1
istore 5
7: goto 12
end local 6 8: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
9: iload 7
iload 8
if_icmplt 4
10: goto 12
StackMap locals: org.graalvm.compiler.core.test.VerifyGetOptionsUsage org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.phases.tiers.PhaseContext jdk.vm.ci.meta.MetaAccessProvider jdk.vm.ci.meta.ResolvedJavaType int
StackMap stack: java.lang.reflect.MalformedParametersException
11: pop
12: StackMap locals:
StackMap stack:
iload 5
ifeq 23
13: aload 3
ldc Lorg/graalvm/compiler/graph/Node;
ldc "getOptions"
invokestatic org.graalvm.compiler.core.test.VerifyGetOptionsUsage.lookupMethod:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/reflect/Method;
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaMethod:(Ljava/lang/reflect/Executable;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
astore 6
start local 6 14: aload 1
getstatic org.graalvm.compiler.nodes.java.MethodCallTargetNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:(Lorg/graalvm/compiler/graph/NodeClass;)Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
astore 8
goto 22
StackMap locals: org.graalvm.compiler.core.test.VerifyGetOptionsUsage org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.phases.tiers.PhaseContext jdk.vm.ci.meta.MetaAccessProvider jdk.vm.ci.meta.ResolvedJavaType int jdk.vm.ci.meta.ResolvedJavaMethod top java.util.Iterator
StackMap stack:
15: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.java.MethodCallTargetNode
astore 7
start local 7 16: aload 7
invokevirtual org.graalvm.compiler.nodes.java.MethodCallTargetNode.targetMethod:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
astore 9
start local 9 17: aload 9
aload 6
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 22
18: iload 5
ifeq 22
19: new org.graalvm.compiler.phases.VerifyPhase$VerificationError
dup
ldc "Must use CanonicalizerTool.getOptions() instead of Node.getOptions() in method '%s' of class '%s'."
iconst_2
anewarray java.lang.Object
dup
iconst_0
20: aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.method:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.method:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getDeclaringClass:()Ljdk/vm/ci/meta/ResolvedJavaType;
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.getName:()Ljava/lang/String;
21: aastore
invokespecial org.graalvm.compiler.phases.VerifyPhase$VerificationError.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 9 end local 7 22: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 15
end local 6 23: StackMap locals: org.graalvm.compiler.core.test.VerifyGetOptionsUsage org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.phases.tiers.PhaseContext jdk.vm.ci.meta.MetaAccessProvider jdk.vm.ci.meta.ResolvedJavaType int
StackMap stack:
iconst_1
ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/graalvm/compiler/core/test/VerifyGetOptionsUsage;
0 24 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 24 2 context Lorg/graalvm/compiler/phases/tiers/PhaseContext;
1 24 3 metaAccess Ljdk/vm/ci/meta/MetaAccessProvider;
2 24 4 canonicalizerToolClass Ljdk/vm/ci/meta/ResolvedJavaType;
3 24 5 hasTool Z
5 8 6 parameter Ljdk/vm/ci/meta/ResolvedJavaMethod$Parameter;
14 23 6 getOptionsMethod Ljdk/vm/ci/meta/ResolvedJavaMethod;
16 22 7 t Lorg/graalvm/compiler/nodes/java/MethodCallTargetNode;
17 22 9 callee Ljdk/vm/ci/meta/ResolvedJavaMethod;
Exception table:
from to target type
3 10 11 Class java.lang.reflect.MalformedParametersException
MethodParameters:
Name Flags
graph
context
protected boolean verify(org.graalvm.compiler.nodes.StructuredGraph, java.lang.Object);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)Z
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
checkcast org.graalvm.compiler.phases.tiers.PhaseContext
invokevirtual org.graalvm.compiler.core.test.VerifyGetOptionsUsage.verify:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/phases/tiers/PhaseContext;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lorg/graalvm/compiler/phases/VerifyPhase<Lorg/graalvm/compiler/phases/tiers/PhaseContext;>;
SourceFile: "VerifyGetOptionsUsage.java"
InnerClasses:
public Parameter = jdk.vm.ci.meta.ResolvedJavaMethod$Parameter of jdk.vm.ci.meta.ResolvedJavaMethod
public VerificationError = org.graalvm.compiler.phases.VerifyPhase$VerificationError of org.graalvm.compiler.phases.VerifyPhase