public class org.graalvm.compiler.core.test.VerifyGetOptionsUsage extends org.graalvm.compiler.phases.VerifyPhase<org.graalvm.compiler.nodes.spi.CoreProviders>
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 void verify(org.graalvm.compiler.nodes.StructuredGraph, org.graalvm.compiler.nodes.spi.CoreProviders);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/spi/CoreProviders;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=12, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokeinterface org.graalvm.compiler.nodes.spi.CoreProviders.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;
astore 6
start local 6 4: aload 6
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getParameters:()[Ljdk/vm/ci/meta/ResolvedJavaMethod$Parameter;
astore 7
start local 7 5: aload 7
ifnull 15
6: aload 7
dup
astore 11
arraylength
istore 10
iconst_0
istore 9
goto 12
StackMap locals: org.graalvm.compiler.core.test.VerifyGetOptionsUsage org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.spi.CoreProviders jdk.vm.ci.meta.MetaAccessProvider jdk.vm.ci.meta.ResolvedJavaType int jdk.vm.ci.meta.ResolvedJavaMethod jdk.vm.ci.meta.ResolvedJavaMethod$Parameter[] top int int jdk.vm.ci.meta.ResolvedJavaMethod$Parameter[]
StackMap stack:
7: aload 11
iload 9
aaload
astore 8
start local 8 8: aload 8
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 11
9: iconst_1
istore 5
10: goto 15
end local 8 11: StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
12: iload 9
iload 10
if_icmplt 7
end local 7 13: goto 15
StackMap locals: org.graalvm.compiler.core.test.VerifyGetOptionsUsage org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.spi.CoreProviders jdk.vm.ci.meta.MetaAccessProvider jdk.vm.ci.meta.ResolvedJavaType int jdk.vm.ci.meta.ResolvedJavaMethod
StackMap stack: java.lang.reflect.MalformedParametersException
14: pop
15: StackMap locals:
StackMap stack:
iload 5
ifeq 26
16: 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 7
start local 7 17: 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 9
goto 25
StackMap locals: org.graalvm.compiler.core.test.VerifyGetOptionsUsage org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.spi.CoreProviders jdk.vm.ci.meta.MetaAccessProvider jdk.vm.ci.meta.ResolvedJavaType int jdk.vm.ci.meta.ResolvedJavaMethod jdk.vm.ci.meta.ResolvedJavaMethod top java.util.Iterator
StackMap stack:
18: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.java.MethodCallTargetNode
astore 8
start local 8 19: aload 8
invokevirtual org.graalvm.compiler.nodes.java.MethodCallTargetNode.targetMethod:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
astore 10
start local 10 20: aload 10
aload 7
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 25
21: iload 5
ifeq 25
22: 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
23: aload 6
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 6
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getDeclaringClass:()Ljdk/vm/ci/meta/ResolvedJavaType;
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.getName:()Ljava/lang/String;
24: aastore
invokespecial org.graalvm.compiler.phases.VerifyPhase$VerificationError.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 10 end local 8 25: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 18
end local 7 26: StackMap locals: org.graalvm.compiler.core.test.VerifyGetOptionsUsage org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.spi.CoreProviders jdk.vm.ci.meta.MetaAccessProvider jdk.vm.ci.meta.ResolvedJavaType int jdk.vm.ci.meta.ResolvedJavaMethod
StackMap stack:
return
end local 6 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 27 0 this Lorg/graalvm/compiler/core/test/VerifyGetOptionsUsage;
0 27 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 27 2 context Lorg/graalvm/compiler/nodes/spi/CoreProviders;
1 27 3 metaAccess Ljdk/vm/ci/meta/MetaAccessProvider;
2 27 4 canonicalizerToolClass Ljdk/vm/ci/meta/ResolvedJavaType;
3 27 5 hasTool Z
4 27 6 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
5 13 7 parameters [Ljdk/vm/ci/meta/ResolvedJavaMethod$Parameter;
8 11 8 parameter Ljdk/vm/ci/meta/ResolvedJavaMethod$Parameter;
17 26 7 getOptionsMethod Ljdk/vm/ci/meta/ResolvedJavaMethod;
19 25 8 t Lorg/graalvm/compiler/nodes/java/MethodCallTargetNode;
20 25 10 callee Ljdk/vm/ci/meta/ResolvedJavaMethod;
Exception table:
from to target type
4 13 14 Class java.lang.reflect.MalformedParametersException
MethodParameters:
Name Flags
graph
context
protected void verify(org.graalvm.compiler.nodes.StructuredGraph, java.lang.Object);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
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.nodes.spi.CoreProviders
invokevirtual org.graalvm.compiler.core.test.VerifyGetOptionsUsage.verify:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/spi/CoreProviders;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lorg/graalvm/compiler/phases/VerifyPhase<Lorg/graalvm/compiler/nodes/spi/CoreProviders;>;
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