public class org.graalvm.compiler.replacements.test.SubstitutionNodeSourcePositionTest extends org.graalvm.compiler.replacements.test.ReplacementsTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.replacements.test.SubstitutionNodeSourcePositionTest
super_class: org.graalvm.compiler.replacements.test.ReplacementsTest
{
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.replacements.test.ReplacementsTest.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/test/SubstitutionNodeSourcePositionTest;
protected void registerInvocationPlugins(org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins);
descriptor: (Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugins;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tPluginFactory_SubstitutionNodeSourcePositionTest 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/replacements/test/SubstitutionNodeSourcePositionTest;
MethodParameters:
Name Flags
invocationPlugins
public int methodSubstitution();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: bipush 42
invokestatic org.graalvm.compiler.replacements.test.SubstitutionNodeSourcePositionTest$TestMethod.test:(I)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/test/SubstitutionNodeSourcePositionTest;
public void testMethodSubstitution();
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 problems: \n\tTest cannot be resolved to a type\n\tAssume cannot be resolved\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/replacements/test/SubstitutionNodeSourcePositionTest;
RuntimeInvisibleAnnotations:
Test()
public void snippetLowering(java.lang.String[], java.lang.String);
descriptor: ([Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
iconst_0
aload 2
aastore
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/replacements/test/SubstitutionNodeSourcePositionTest;
0 2 1 array [Ljava/lang/String;
0 2 2 value Ljava/lang/String;
MethodParameters:
Name Flags
array
value
public void testSnippetLowering();
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 problems: \n\tTest cannot be resolved to a type\n\tAssume cannot be resolved\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/replacements/test/SubstitutionNodeSourcePositionTest;
RuntimeInvisibleAnnotations:
Test()
public int methodPlugin(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iload 1
invokestatic org.graalvm.compiler.api.directives.GraalDirectives.blackhole:(I)V
1: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/replacements/test/SubstitutionNodeSourcePositionTest;
0 2 1 i I
MethodParameters:
Name Flags
i
public void testMethodPlugin();
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/replacements/test/SubstitutionNodeSourcePositionTest;
RuntimeInvisibleAnnotations:
Test()
private void checkMappings(java.lang.String, boolean, java.lang.Class<?>, java.lang.String);
descriptor: (Ljava/lang/String;ZLjava/lang/Class;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=5
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tAssert cannot be resolved\n\tAssert cannot be resolved\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/replacements/test/SubstitutionNodeSourcePositionTest;
Signature: (Ljava/lang/String;ZLjava/lang/Class<*>;Ljava/lang/String;)V
MethodParameters:
Name Flags
snippetMethod
hasBytecodes
boundaryClass
boundaryMethod
private java.util.List<org.graalvm.compiler.code.SourceMapping> getSourceMappings(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=12, locals=6, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.graalvm.compiler.replacements.test.SubstitutionNodeSourcePositionTest.getResolvedJavaMethod:(Ljava/lang/String;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
astore 2
start local 2 1: new org.graalvm.compiler.options.OptionValues
dup
invokestatic org.graalvm.compiler.replacements.test.SubstitutionNodeSourcePositionTest.getInitialOptions:()Lorg/graalvm/compiler/options/OptionValues;
getstatic org.graalvm.compiler.core.common.GraalOptions.TrackNodeSourcePosition:Lorg/graalvm/compiler/options/OptionKey;
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
iconst_0
anewarray java.lang.Object
invokespecial org.graalvm.compiler.options.OptionValues.<init>:(Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/options/OptionKey;Ljava/lang/Object;[Ljava/lang/Object;)V
astore 3
start local 3 2: aload 0
aload 2
getstatic org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions.YES:Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;
aload 3
invokevirtual org.graalvm.compiler.replacements.test.SubstitutionNodeSourcePositionTest.parseEager:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;Lorg/graalvm/compiler/options/OptionValues;)Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 4
start local 4 3: aload 4
aload 4
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.method:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
aload 0
invokevirtual org.graalvm.compiler.replacements.test.SubstitutionNodeSourcePositionTest.getProviders:()Lorg/graalvm/compiler/phases/util/Providers;
aload 0
invokevirtual org.graalvm.compiler.replacements.test.SubstitutionNodeSourcePositionTest.getBackend:()Lorg/graalvm/compiler/core/target/Backend;
aload 0
invokevirtual org.graalvm.compiler.replacements.test.SubstitutionNodeSourcePositionTest.getDefaultGraphBuilderSuite:()Lorg/graalvm/compiler/phases/PhaseSuite;
getstatic org.graalvm.compiler.phases.OptimisticOptimizations.ALL:Lorg/graalvm/compiler/phases/OptimisticOptimizations;
aload 4
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getProfilingInfo:()Ljdk/vm/ci/meta/ProfilingInfo;
4: aload 0
aload 4
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
invokevirtual org.graalvm.compiler.replacements.test.SubstitutionNodeSourcePositionTest.createSuites:(Lorg/graalvm/compiler/options/OptionValues;)Lorg/graalvm/compiler/phases/tiers/Suites;
aload 0
aload 4
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
invokevirtual org.graalvm.compiler.replacements.test.SubstitutionNodeSourcePositionTest.createLIRSuites:(Lorg/graalvm/compiler/options/OptionValues;)Lorg/graalvm/compiler/lir/phases/LIRSuites;
new org.graalvm.compiler.code.CompilationResult
dup
aload 4
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.compilationId:()Lorg/graalvm/compiler/core/common/CompilationIdentifier;
invokespecial org.graalvm.compiler.code.CompilationResult.<init>:(Lorg/graalvm/compiler/core/common/CompilationIdentifier;)V
getstatic org.graalvm.compiler.lir.asm.CompilationResultBuilderFactory.Default:Lorg/graalvm/compiler/lir/asm/CompilationResultBuilderFactory;
iconst_1
5: invokestatic org.graalvm.compiler.core.GraalCompiler.compileGraph:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/phases/util/Providers;Lorg/graalvm/compiler/core/target/Backend;Lorg/graalvm/compiler/phases/PhaseSuite;Lorg/graalvm/compiler/phases/OptimisticOptimizations;Ljdk/vm/ci/meta/ProfilingInfo;Lorg/graalvm/compiler/phases/tiers/Suites;Lorg/graalvm/compiler/lir/phases/LIRSuites;Lorg/graalvm/compiler/code/CompilationResult;Lorg/graalvm/compiler/lir/asm/CompilationResultBuilderFactory;Z)Lorg/graalvm/compiler/code/CompilationResult;
astore 5
start local 5 6: aload 5
invokevirtual org.graalvm.compiler.code.CompilationResult.getSourceMappings:()Ljava/util/List;
areturn
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 7 0 this Lorg/graalvm/compiler/replacements/test/SubstitutionNodeSourcePositionTest;
0 7 1 name Ljava/lang/String;
1 7 2 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
2 7 3 options Lorg/graalvm/compiler/options/OptionValues;
3 7 4 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
6 7 5 cr Lorg/graalvm/compiler/code/CompilationResult;
Signature: (Ljava/lang/String;)Ljava/util/List<Lorg/graalvm/compiler/code/SourceMapping;>;
MethodParameters:
Name Flags
name
}
SourceFile: "SubstitutionNodeSourcePositionTest.java"
NestMembers:
org.graalvm.compiler.replacements.test.SubstitutionNodeSourcePositionTest$TestMethod org.graalvm.compiler.replacements.test.SubstitutionNodeSourcePositionTest$TestMethodSubstitution
InnerClasses:
public final AllowAssumptions = org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions of org.graalvm.compiler.nodes.StructuredGraph
private TestMethod = org.graalvm.compiler.replacements.test.SubstitutionNodeSourcePositionTest$TestMethod of org.graalvm.compiler.replacements.test.SubstitutionNodeSourcePositionTest
public TestMethodSubstitution = org.graalvm.compiler.replacements.test.SubstitutionNodeSourcePositionTest$TestMethodSubstitution of org.graalvm.compiler.replacements.test.SubstitutionNodeSourcePositionTest