public class org.graalvm.compiler.replacements.test.StringIndexOfCharConstantBindingTest extends org.graalvm.compiler.replacements.test.StringIndexOfCharTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.replacements.test.StringIndexOfCharConstantBindingTest
super_class: org.graalvm.compiler.replacements.test.StringIndexOfCharTest
{
java.lang.Object[] constantArgs;
descriptor: [Ljava/lang/Object;
flags: (0x0000)
public void checkAMD64();
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\tBefore cannot be resolved to a type\n\tThe method assumeTrue(String, boolean) is undefined for the type StringIndexOfCharConstantBindingTest\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/StringIndexOfCharConstantBindingTest;
RuntimeInvisibleAnnotations:
Before()
public void <init>(java.lang.String, int, int);
descriptor: (Ljava/lang/String;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 2
iload 3
invokespecial org.graalvm.compiler.replacements.test.StringIndexOfCharTest.<init>:(Ljava/lang/String;II)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/replacements/test/StringIndexOfCharConstantBindingTest;
0 2 1 sourceString Ljava/lang/String;
0 2 2 constantChar I
0 2 3 fromIndex I
MethodParameters:
Name Flags
sourceString
constantChar
fromIndex
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=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.replacements.test.StringIndexOfCharConstantBindingTest.constantArgs:[Ljava/lang/Object;
ifnull 3
1: new org.graalvm.compiler.replacements.ConstantBindingParameterPlugin
dup
aload 0
getfield org.graalvm.compiler.replacements.test.StringIndexOfCharConstantBindingTest.constantArgs:[Ljava/lang/Object;
aload 0
invokevirtual org.graalvm.compiler.replacements.test.StringIndexOfCharConstantBindingTest.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 0
invokevirtual org.graalvm.compiler.replacements.test.StringIndexOfCharConstantBindingTest.getSnippetReflection:()Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;
invokespecial org.graalvm.compiler.replacements.ConstantBindingParameterPlugin.<init>:([Ljava/lang/Object;Ljdk/vm/ci/meta/MetaAccessProvider;Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;)V
astore 2
start local 2 2: aload 1
invokevirtual org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration.getPlugins:()Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration$Plugins;
aload 2
invokevirtual org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration$Plugins.appendParameterPlugin:(Lorg/graalvm/compiler/nodes/graphbuilderconf/ParameterPlugin;)V
end local 2 3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial org.graalvm.compiler.replacements.test.StringIndexOfCharTest.editGraphBuilderConfiguration:(Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;)Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/replacements/test/StringIndexOfCharConstantBindingTest;
0 4 1 conf Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;
2 3 2 constantBinding Lorg/graalvm/compiler/replacements/ConstantBindingParameterPlugin;
MethodParameters:
Name Flags
conf
protected jdk.vm.ci.code.InstalledCode getCode(jdk.vm.ci.meta.ResolvedJavaMethod, org.graalvm.compiler.nodes.StructuredGraph, boolean, boolean, org.graalvm.compiler.options.OptionValues);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/nodes/StructuredGraph;ZZLorg/graalvm/compiler/options/OptionValues;)Ljdk/vm/ci/code/InstalledCode;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
1: iconst_1
iconst_0
aload 5
2: invokespecial org.graalvm.compiler.replacements.test.StringIndexOfCharTest.getCode:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/nodes/StructuredGraph;ZZLorg/graalvm/compiler/options/OptionValues;)Ljdk/vm/ci/code/InstalledCode;
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 3 0 this Lorg/graalvm/compiler/replacements/test/StringIndexOfCharConstantBindingTest;
0 3 1 installedCodeOwner Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 3 2 graph0 Lorg/graalvm/compiler/nodes/StructuredGraph;
0 3 3 ignoreForceCompile Z
0 3 4 ignoreInstallAsDefault Z
0 3 5 options Lorg/graalvm/compiler/options/OptionValues;
MethodParameters:
Name Flags
installedCodeOwner final
graph0
ignoreForceCompile
ignoreInstallAsDefault
options
protected void checkHighTierGraph(org.graalvm.compiler.nodes.StructuredGraph);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.replacements.test.StringIndexOfCharConstantBindingTest.sourceString:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
getstatic org.graalvm.compiler.core.common.GraalOptions.StringIndexOfLimit:Lorg/graalvm/compiler/options/OptionKey;
aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
if_icmpge 6
aload 0
getfield org.graalvm.compiler.replacements.test.StringIndexOfCharConstantBindingTest.constantChar:I
ldc 65536
if_icmpge 6
1: aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.start:()Lorg/graalvm/compiler/nodes/StartNode;
astore 2
start local 2 2: aload 2
invokevirtual org.graalvm.compiler.nodes.StartNode.next:()Lorg/graalvm/compiler/nodes/FixedNode;
astore 3
start local 3 3: aload 3
instanceof org.graalvm.compiler.nodes.ReturnNode
invokestatic org.graalvm.compiler.replacements.test.StringIndexOfCharConstantBindingTest.assertTrue:(Z)V
4: aload 3
checkcast org.graalvm.compiler.nodes.ReturnNode
astore 4
start local 4 5: aload 4
invokevirtual org.graalvm.compiler.nodes.ReturnNode.result:()Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
invokestatic org.graalvm.compiler.replacements.test.StringIndexOfCharConstantBindingTest.assertTrue:(Z)V
end local 4 end local 3 end local 2 6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/replacements/test/StringIndexOfCharConstantBindingTest;
0 7 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
2 6 2 start Lorg/graalvm/compiler/nodes/StartNode;
3 6 3 next Lorg/graalvm/compiler/nodes/FixedNode;
5 6 4 returnNode Lorg/graalvm/compiler/nodes/ReturnNode;
MethodParameters:
Name Flags
graph
public void testStringIndexOfConstant();
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/StringIndexOfCharConstantBindingTest;
RuntimeInvisibleAnnotations:
Test()
public void testStringIndexOfConstantOffset();
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/StringIndexOfCharConstantBindingTest;
RuntimeInvisibleAnnotations:
Test()
}
SourceFile: "StringIndexOfCharConstantBindingTest.java"
InnerClasses:
public Plugins = org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration$Plugins of org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration