public class org.graalvm.compiler.core.test.InvokeHintsTest extends org.graalvm.compiler.core.test.GraalCompilerTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.core.test.InvokeHintsTest
super_class: org.graalvm.compiler.core.test.GraalCompilerTest
{
private static final java.lang.String REFERENCE_SNIPPET;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "referenceSnippet"
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.GraalCompilerTest.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/InvokeHintsTest;
public static int const1();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_1
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static int const7();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: bipush 7
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static int referenceSnippet();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: bipush 7
ireturn
LocalVariableTable:
Start End Slot Name Signature
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/InvokeHintsTest;
RuntimeInvisibleAnnotations:
Test()
public static int test1Snippet();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic org.graalvm.compiler.core.test.InvokeHintsTest.const7:()I
ireturn
LocalVariableTable:
Start End Slot Name Signature
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/InvokeHintsTest;
RuntimeInvisibleAnnotations:
Test()
public static int test2Snippet();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: invokestatic org.graalvm.compiler.core.test.InvokeHintsTest.const1:()I
invokestatic org.graalvm.compiler.core.test.InvokeHintsTest.const1:()I
iadd
invokestatic org.graalvm.compiler.core.test.InvokeHintsTest.const1:()I
iadd
invokestatic org.graalvm.compiler.core.test.InvokeHintsTest.const1:()I
iadd
invokestatic org.graalvm.compiler.core.test.InvokeHintsTest.const1:()I
iadd
invokestatic org.graalvm.compiler.core.test.InvokeHintsTest.const1:()I
iadd
invokestatic org.graalvm.compiler.core.test.InvokeHintsTest.const1:()I
iadd
ireturn
LocalVariableTable:
Start End Slot Name Signature
private void test(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getstatic org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions.NO:Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;
invokevirtual org.graalvm.compiler.core.test.InvokeHintsTest.parseEager:(Ljava/lang/String;Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;)Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 2
start local 2 1: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 3
start local 3 2: aload 2
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getInvokes:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 5
goto 5
StackMap locals: org.graalvm.compiler.core.test.InvokeHintsTest java.lang.String org.graalvm.compiler.nodes.StructuredGraph java.util.Map top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.Invoke
astore 4
start local 4 4: aload 3
aload 4
ldc 1000.0
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 4 5: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: aload 0
invokevirtual org.graalvm.compiler.core.test.InvokeHintsTest.getDefaultHighTierContext:()Lorg/graalvm/compiler/phases/tiers/HighTierContext;
astore 4
start local 4 7: aload 0
aload 3
aload 0
invokevirtual org.graalvm.compiler.core.test.InvokeHintsTest.createCanonicalizerPhase:()Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;
invokevirtual org.graalvm.compiler.core.test.InvokeHintsTest.createInliningPhase:(Ljava/util/Map;Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;)Lorg/graalvm/compiler/phases/BasePhase;
aload 2
aload 4
invokevirtual org.graalvm.compiler.phases.BasePhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
8: aload 0
invokevirtual org.graalvm.compiler.core.test.InvokeHintsTest.createCanonicalizerPhase:()Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;
aload 2
aload 4
invokevirtual org.graalvm.compiler.phases.common.CanonicalizerPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
9: new org.graalvm.compiler.phases.common.DeadCodeEliminationPhase
dup
invokespecial org.graalvm.compiler.phases.common.DeadCodeEliminationPhase.<init>:()V
aload 2
invokevirtual org.graalvm.compiler.phases.common.DeadCodeEliminationPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;)V
10: aload 0
ldc "referenceSnippet"
getstatic org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions.NO:Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;
invokevirtual org.graalvm.compiler.core.test.InvokeHintsTest.parseEager:(Ljava/lang/String;Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;)Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 5
start local 5 11: aload 0
aload 5
aload 2
invokevirtual org.graalvm.compiler.core.test.InvokeHintsTest.assertEquals:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/StructuredGraph;)V
12: return
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 13 0 this Lorg/graalvm/compiler/core/test/InvokeHintsTest;
0 13 1 snippet Ljava/lang/String;
1 13 2 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
2 13 3 hints Ljava/util/Map<Lorg/graalvm/compiler/nodes/Invoke;Ljava/lang/Double;>;
4 5 4 invoke Lorg/graalvm/compiler/nodes/Invoke;
7 13 4 context Lorg/graalvm/compiler/phases/tiers/HighTierContext;
11 13 5 referenceGraph Lorg/graalvm/compiler/nodes/StructuredGraph;
MethodParameters:
Name Flags
snippet
}
SourceFile: "InvokeHintsTest.java"
InnerClasses:
public final AllowAssumptions = org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions of org.graalvm.compiler.nodes.StructuredGraph