public class org.graalvm.compiler.replacements.test.SubstitutionsTest 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.SubstitutionsTest
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/SubstitutionsTest;
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_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;
MethodParameters:
Name Flags
invocationPlugins
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 void checkHighTierGraph(org.graalvm.compiler.nodes.StructuredGraph);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
ldc Lorg/graalvm/compiler/nodes/ReturnNode;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.filter:(Ljava/lang/Class;)Lorg/graalvm/compiler/graph/iterators/NodeIterable;
astore 2
start local 2 1: ldc "expected exactly one ReturnNode"
aload 2
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.count:()I
iconst_1
if_icmpne 2
iconst_1
goto 3
StackMap locals: org.graalvm.compiler.replacements.test.SubstitutionsTest org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.graph.iterators.NodeIterable
StackMap stack: java.lang.String
2: iconst_0
StackMap locals: org.graalvm.compiler.replacements.test.SubstitutionsTest org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.graph.iterators.NodeIterable
StackMap stack: java.lang.String int
3: invokestatic org.junit.Assert.assertTrue:(Ljava/lang/String;Z)V
4: aload 2
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.first:()Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.ReturnNode
astore 3
start local 3 5: aload 3
invokevirtual org.graalvm.compiler.nodes.ReturnNode.result:()Lorg/graalvm/compiler/nodes/ValueNode;
ldc Lorg/graalvm/compiler/replacements/test/SubstitutionsTest$TestValue;
invokestatic org.hamcrest.CoreMatchers.instanceOf:(Ljava/lang/Class;)Lorg/hamcrest/Matcher;
invokestatic org.junit.Assert.assertThat:(Ljava/lang/Object;Lorg/hamcrest/Matcher;)V
6: aload 3
invokevirtual org.graalvm.compiler.nodes.ReturnNode.result:()Lorg/graalvm/compiler/nodes/ValueNode;
checkcast org.graalvm.compiler.replacements.test.SubstitutionsTest$TestValue
astore 4
start local 4 7: aload 4
getfield org.graalvm.compiler.replacements.test.SubstitutionsTest$TestValue.guard:Lorg/graalvm/compiler/nodes/extended/GuardingNode;
ldc Lorg/graalvm/compiler/replacements/test/SubstitutionsTest$TestGuard;
invokestatic org.hamcrest.CoreMatchers.instanceOf:(Ljava/lang/Class;)Lorg/hamcrest/Matcher;
invokestatic org.junit.Assert.assertThat:(Ljava/lang/Object;Lorg/hamcrest/Matcher;)V
8: aload 4
getfield org.graalvm.compiler.replacements.test.SubstitutionsTest$TestValue.guard:Lorg/graalvm/compiler/nodes/extended/GuardingNode;
checkcast org.graalvm.compiler.replacements.test.SubstitutionsTest$TestGuard
astore 5
start local 5 9: aload 5
getfield org.graalvm.compiler.replacements.test.SubstitutionsTest$TestGuard.memory:Lorg/graalvm/compiler/nodes/memory/MemoryKill;
ldc Lorg/graalvm/compiler/replacements/test/SubstitutionsTest$TestMemory;
invokestatic org.hamcrest.CoreMatchers.instanceOf:(Ljava/lang/Class;)Lorg/hamcrest/Matcher;
invokestatic org.junit.Assert.assertThat:(Ljava/lang/Object;Lorg/hamcrest/Matcher;)V
10: aload 5
getfield org.graalvm.compiler.replacements.test.SubstitutionsTest$TestGuard.memory:Lorg/graalvm/compiler/nodes/memory/MemoryKill;
checkcast org.graalvm.compiler.replacements.test.SubstitutionsTest$TestMemory
astore 6
start local 6 11: aload 3
aload 4
aload 1
bipush 42
invokestatic org.graalvm.compiler.nodes.ConstantNode.forInt:(I)Lorg/graalvm/compiler/nodes/ConstantNode;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.unique:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
invokevirtual org.graalvm.compiler.nodes.ReturnNode.replaceFirstInput:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/graph/Node;)V
12: aload 4
invokevirtual org.graalvm.compiler.replacements.test.SubstitutionsTest$TestValue.safeDelete:()V
13: aload 5
invokevirtual org.graalvm.compiler.replacements.test.SubstitutionsTest$TestGuard.safeDelete:()V
14: aload 1
aload 6
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.removeFixed:(Lorg/graalvm/compiler/nodes/FixedWithNextNode;)V
15: 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 16 0 this Lorg/graalvm/compiler/replacements/test/SubstitutionsTest;
0 16 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
1 16 2 retNodes Lorg/graalvm/compiler/graph/iterators/NodeIterable<Lorg/graalvm/compiler/nodes/ReturnNode;>;
5 16 3 ret Lorg/graalvm/compiler/nodes/ReturnNode;
7 16 4 value Lorg/graalvm/compiler/replacements/test/SubstitutionsTest$TestValue;
9 16 5 guard Lorg/graalvm/compiler/replacements/test/SubstitutionsTest$TestGuard;
11 16 6 memory Lorg/graalvm/compiler/replacements/test/SubstitutionsTest$TestMemory;
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: aload 0
ldc "callTest"
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.compiler.replacements.test.SubstitutionsTest.test:(Ljava/lang/String;[Ljava/lang/Object;)Lorg/graalvm/compiler/core/test/GraalCompilerTest$Result;
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/replacements/test/SubstitutionsTest;
RuntimeVisibleAnnotations:
org.junit.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 Result = org.graalvm.compiler.core.test.GraalCompilerTest$Result of org.graalvm.compiler.core.test.GraalCompilerTest
public abstract ValueNumberable = org.graalvm.compiler.graph.Node$ValueNumberable of org.graalvm.compiler.graph.Node
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