public class org.graalvm.compiler.replacements.test.FoldTest 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.FoldTest
super_class: org.graalvm.compiler.replacements.test.ReplacementsTest
{
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/replacements/test/FoldTest;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.graalvm.compiler.replacements.test.FoldTest.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
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/FoldTest;
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_FoldTest 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/FoldTest;
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.FoldTest$TestMethod.test:()I
ireturn
LocalVariableTable:
Start End Slot Name Signature
protected boolean checkHighTierGraph(org.graalvm.compiler.nodes.StructuredGraph);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.start:()Lorg/graalvm/compiler/nodes/StartNode;
astore 2
start local 2 1: getstatic org.graalvm.compiler.replacements.test.FoldTest.$assertionsDisabled:Z
ifne 2
aload 2
invokevirtual org.graalvm.compiler.nodes.StartNode.next:()Lorg/graalvm/compiler/nodes/FixedNode;
instanceof org.graalvm.compiler.nodes.ReturnNode
ifne 2
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "expected ReturnNode, got "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual org.graalvm.compiler.nodes.StartNode.next:()Lorg/graalvm/compiler/nodes/FixedNode;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals: org.graalvm.compiler.nodes.StartNode
StackMap stack:
aload 2
invokevirtual org.graalvm.compiler.nodes.StartNode.next:()Lorg/graalvm/compiler/nodes/FixedNode;
checkcast org.graalvm.compiler.nodes.ReturnNode
astore 3
start local 3 3: getstatic org.graalvm.compiler.replacements.test.FoldTest.$assertionsDisabled:Z
ifne 4
aload 3
invokevirtual org.graalvm.compiler.nodes.ReturnNode.result:()Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
ifne 4
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "expected ConstantNode, got "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual org.graalvm.compiler.nodes.ReturnNode.result:()Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
4: StackMap locals: org.graalvm.compiler.nodes.ReturnNode
StackMap stack:
iconst_1
ireturn
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/FoldTest;
0 5 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
1 5 2 start Lorg/graalvm/compiler/nodes/StartNode;
3 5 3 ret Lorg/graalvm/compiler/nodes/ReturnNode;
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/FoldTest;
RuntimeInvisibleAnnotations:
Test()
}
SourceFile: "FoldTest.java"
NestMembers:
org.graalvm.compiler.replacements.test.FoldTest$FoldUtils org.graalvm.compiler.replacements.test.FoldTest$TestMethod org.graalvm.compiler.replacements.test.FoldTest$TestMethodSubstitution
InnerClasses:
FoldUtils = org.graalvm.compiler.replacements.test.FoldTest$FoldUtils of org.graalvm.compiler.replacements.test.FoldTest
private TestMethod = org.graalvm.compiler.replacements.test.FoldTest$TestMethod of org.graalvm.compiler.replacements.test.FoldTest
private TestMethodSubstitution = org.graalvm.compiler.replacements.test.FoldTest$TestMethodSubstitution of org.graalvm.compiler.replacements.test.FoldTest