final class org.graalvm.compiler.hotspot.replacements.PluginReplacementNode_HotSpotReplacementsUtil_getFieldOffset implements org.graalvm.compiler.nodes.PluginReplacementNode$ReplacementFunction
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.replacements.PluginReplacementNode_HotSpotReplacementsUtil_getFieldOffset
super_class: java.lang.Object
{
static org.graalvm.compiler.nodes.PluginReplacementNode$ReplacementFunction FUNCTION;
descriptor: Lorg/graalvm/compiler/nodes/PluginReplacementNode$ReplacementFunction;
flags: (0x0008) ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.graalvm.compiler.hotspot.replacements.PluginReplacementNode_HotSpotReplacementsUtil_getFieldOffset
dup
invokespecial org.graalvm.compiler.hotspot.replacements.PluginReplacementNode_HotSpotReplacementsUtil_getFieldOffset.<init>:()V
putstatic org.graalvm.compiler.hotspot.replacements.PluginReplacementNode_HotSpotReplacementsUtil_getFieldOffset.FUNCTION:Lorg/graalvm/compiler/nodes/PluginReplacementNode$ReplacementFunction;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/replacements/PluginReplacementNode_HotSpotReplacementsUtil_getFieldOffset;
public boolean replace(org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext, org.graalvm.compiler.nodes.graphbuilderconf.GeneratedPluginInjectionProvider, org.graalvm.compiler.core.common.type.Stamp, org.graalvm.compiler.graph.NodeInputList<org.graalvm.compiler.nodes.ValueNode>);
descriptor: (Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderContext;Lorg/graalvm/compiler/nodes/graphbuilderconf/GeneratedPluginInjectionProvider;Lorg/graalvm/compiler/core/common/type/Stamp;Lorg/graalvm/compiler/graph/NodeInputList;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 4
iconst_0
invokevirtual org.graalvm.compiler.graph.NodeInputList.get:(I)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.ValueNode
invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
ifeq 6
1: aload 4
iconst_0
invokevirtual org.graalvm.compiler.graph.NodeInputList.get:(I)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.ValueNode
invokevirtual org.graalvm.compiler.nodes.ValueNode.asJavaConstant:()Ljdk/vm/ci/meta/JavaConstant;
astore 6
start local 6 2: aload 1
invokeinterface org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext.getConstantReflection:()Ljdk/vm/ci/meta/ConstantReflectionProvider;
aload 6
invokeinterface jdk.vm.ci.meta.ConstantReflectionProvider.asJavaType:(Ljdk/vm/ci/meta/Constant;)Ljdk/vm/ci/meta/ResolvedJavaType;
astore 5
start local 5 3: aload 5
ifnonnull 7
4: aload 2
ldc Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;
invokeinterface org.graalvm.compiler.nodes.graphbuilderconf.GeneratedPluginInjectionProvider.getInjectedArgument:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast org.graalvm.compiler.api.replacements.SnippetReflectionProvider
ldc Ljdk/vm/ci/meta/ResolvedJavaType;
aload 6
invokeinterface org.graalvm.compiler.api.replacements.SnippetReflectionProvider.asObject:(Ljava/lang/Class;Ljdk/vm/ci/meta/JavaConstant;)Ljava/lang/Object;
checkcast jdk.vm.ci.meta.ResolvedJavaType
astore 5
end local 6 5: goto 7
end local 5 6: StackMap locals:
StackMap stack:
iconst_0
ireturn
start local 5 7: StackMap locals: jdk.vm.ci.meta.ResolvedJavaType
StackMap stack:
aload 4
iconst_1
invokevirtual org.graalvm.compiler.graph.NodeInputList.get:(I)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.ValueNode
invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
ifeq 10
8: aload 2
ldc Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;
invokeinterface org.graalvm.compiler.nodes.graphbuilderconf.GeneratedPluginInjectionProvider.getInjectedArgument:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast org.graalvm.compiler.api.replacements.SnippetReflectionProvider
ldc Ljava/lang/String;
aload 4
iconst_1
invokevirtual org.graalvm.compiler.graph.NodeInputList.get:(I)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.ValueNode
invokevirtual org.graalvm.compiler.nodes.ValueNode.asJavaConstant:()Ljdk/vm/ci/meta/JavaConstant;
invokeinterface org.graalvm.compiler.api.replacements.SnippetReflectionProvider.asObject:(Ljava/lang/Class;Ljdk/vm/ci/meta/JavaConstant;)Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 9: goto 11
end local 6 10: StackMap locals:
StackMap stack:
iconst_0
ireturn
start local 6 11: StackMap locals: java.lang.String
StackMap stack:
aload 5
aload 6
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.getFieldOffset:(Ljdk/vm/ci/meta/ResolvedJavaType;Ljava/lang/String;)I
istore 7
start local 7 12: iload 7
invokestatic jdk.vm.ci.meta.JavaConstant.forInt:(I)Ljdk/vm/ci/meta/PrimitiveConstant;
astore 8
start local 8 13: aload 8
aload 1
invokeinterface org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 1
invokeinterface org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext.getGraph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
invokestatic org.graalvm.compiler.nodes.ConstantNode.forConstant:(Ljdk/vm/ci/meta/JavaConstant;Ljdk/vm/ci/meta/MetaAccessProvider;Lorg/graalvm/compiler/nodes/StructuredGraph;)Lorg/graalvm/compiler/nodes/ConstantNode;
astore 9
start local 9 14: aload 1
getstatic jdk.vm.ci.meta.JavaKind.Int:Ljdk/vm/ci/meta/JavaKind;
aload 9
invokeinterface org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext.push:(Ljdk/vm/ci/meta/JavaKind;Lorg/graalvm/compiler/nodes/ValueNode;)V
15: iconst_1
ireturn
end local 9 end local 8 end local 7 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/hotspot/replacements/PluginReplacementNode_HotSpotReplacementsUtil_getFieldOffset;
0 16 1 b Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderContext;
0 16 2 injection Lorg/graalvm/compiler/nodes/graphbuilderconf/GeneratedPluginInjectionProvider;
0 16 3 stamp Lorg/graalvm/compiler/core/common/type/Stamp;
0 16 4 args Lorg/graalvm/compiler/graph/NodeInputList<Lorg/graalvm/compiler/nodes/ValueNode;>;
3 6 5 arg0 Ljdk/vm/ci/meta/ResolvedJavaType;
7 16 5 arg0 Ljdk/vm/ci/meta/ResolvedJavaType;
2 5 6 cst Ljdk/vm/ci/meta/JavaConstant;
9 10 6 arg1 Ljava/lang/String;
11 16 6 arg1 Ljava/lang/String;
12 16 7 result I
13 16 8 constant Ljdk/vm/ci/meta/JavaConstant;
14 16 9 node Lorg/graalvm/compiler/nodes/ConstantNode;
Signature: (Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderContext;Lorg/graalvm/compiler/nodes/graphbuilderconf/GeneratedPluginInjectionProvider;Lorg/graalvm/compiler/core/common/type/Stamp;Lorg/graalvm/compiler/graph/NodeInputList<Lorg/graalvm/compiler/nodes/ValueNode;>;)Z
MethodParameters:
Name Flags
b
injection
stamp
args
}
SourceFile: "PluginFactory_HotSpotReplacementsUtil.java"
InnerClasses:
public abstract ReplacementFunction = org.graalvm.compiler.nodes.PluginReplacementNode$ReplacementFunction of org.graalvm.compiler.nodes.PluginReplacementNode