public class org.graalvm.compiler.replacements.test.SubstitutionsTest 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.replacements.test.SubstitutionsTest
super_class: org.graalvm.compiler.core.test.GraalCompilerTest
{
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/replacements/test/SubstitutionsTest;
protected org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration editGraphBuilderConfiguration(org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration);
descriptor: (Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;)Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;
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.graphbuilderconf.GraphBuilderConfiguration.getPlugins:()Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration$Plugins;
invokevirtual org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration$Plugins.getInvocationPlugins:()Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugins;
astore 2
start local 2 1: aload 0
invokevirtual org.graalvm.compiler.replacements.test.SubstitutionsTest.getReplacements:()Lorg/graalvm/compiler/nodes/spi/Replacements;
invokeinterface org.graalvm.compiler.nodes.spi.Replacements.getReplacementBytecodeProvider:()Lorg/graalvm/compiler/bytecode/BytecodeProvider;
astore 3
start local 3 2: new org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins$Registration
dup
aload 2
ldc Lorg/graalvm/compiler/replacements/test/SubstitutionsTest$TestMethod;
aload 3
invokespecial org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins$Registration.<init>:(Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugins;Ljava/lang/reflect/Type;Lorg/graalvm/compiler/bytecode/BytecodeProvider;)V
astore 4
start local 4 3: aload 4
ldc Lorg/graalvm/compiler/replacements/test/SubstitutionsTest$TestMethodSubstitution;
ldc "test"
iconst_0
anewarray java.lang.reflect.Type
invokevirtual org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins$Registration.registerMethodSubstitution:(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/reflect/Type;)V
4: aload 0
aload 1
invokespecial org.graalvm.compiler.core.test.GraalCompilerTest.editGraphBuilderConfiguration:(Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;)Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/replacements/test/SubstitutionsTest;
0 5 1 conf Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;
1 5 2 invocationPlugins Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugins;
2 5 3 replacementBytecodeProvider Lorg/graalvm/compiler/bytecode/BytecodeProvider;
3 5 4 r Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugins$Registration;
MethodParameters:
Name Flags
conf
public static int callTest();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic org.graalvm.compiler.replacements.test.SubstitutionsTest$TestMethod.test:()I
ireturn
LocalVariableTable:
Start End Slot Name Signature
protected org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration$Plugins getDefaultGraphBuilderPlugins();
descriptor: ()Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration$Plugins;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tPluginFactory_SubstitutionsTest 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/SubstitutionsTest;
protected boolean checkHighTierGraph(org.graalvm.compiler.nodes.StructuredGraph);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tAssert cannot be resolved\n\tAssert cannot be resolved\n\tThe method instanceOf(Class<SubstitutionsTest.TestValue>) is undefined for the type SubstitutionsTest\n\tAssert cannot be resolved\n\tThe method instanceOf(Class<SubstitutionsTest.TestGuard>) is undefined for the type SubstitutionsTest\n\tAssert cannot be resolved\n\tThe method instanceOf(Class<SubstitutionsTest.TestMemory>) is undefined for the type SubstitutionsTest\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/SubstitutionsTest;
MethodParameters:
Name Flags
graph
public void snippetTest();
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/SubstitutionsTest;
RuntimeInvisibleAnnotations:
Test()
}
SourceFile: "SubstitutionsTest.java"
NestMembers:
org.graalvm.compiler.replacements.test.SubstitutionsTest$TestGuard org.graalvm.compiler.replacements.test.SubstitutionsTest$TestMemory org.graalvm.compiler.replacements.test.SubstitutionsTest$TestMethod org.graalvm.compiler.replacements.test.SubstitutionsTest$TestMethodSubstitution org.graalvm.compiler.replacements.test.SubstitutionsTest$TestValue
InnerClasses:
public Plugins = org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration$Plugins of org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration
public Registration = org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins$Registration of org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins
TestGuard = org.graalvm.compiler.replacements.test.SubstitutionsTest$TestGuard of org.graalvm.compiler.replacements.test.SubstitutionsTest
TestMemory = org.graalvm.compiler.replacements.test.SubstitutionsTest$TestMemory of org.graalvm.compiler.replacements.test.SubstitutionsTest
private TestMethod = org.graalvm.compiler.replacements.test.SubstitutionsTest$TestMethod of org.graalvm.compiler.replacements.test.SubstitutionsTest
private TestMethodSubstitution = org.graalvm.compiler.replacements.test.SubstitutionsTest$TestMethodSubstitution of org.graalvm.compiler.replacements.test.SubstitutionsTest
TestValue = org.graalvm.compiler.replacements.test.SubstitutionsTest$TestValue of org.graalvm.compiler.replacements.test.SubstitutionsTest