public class org.graalvm.compiler.nodes.util.ConstantFoldUtil
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.nodes.util.ConstantFoldUtil
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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/nodes/util/ConstantFoldUtil;
public static org.graalvm.compiler.nodes.ConstantNode tryConstantFold(org.graalvm.compiler.core.common.spi.ConstantFieldProvider, jdk.vm.ci.meta.ConstantReflectionProvider, jdk.vm.ci.meta.MetaAccessProvider, jdk.vm.ci.meta.ResolvedJavaField, jdk.vm.ci.meta.JavaConstant);
descriptor: (Lorg/graalvm/compiler/core/common/spi/ConstantFieldProvider;Ljdk/vm/ci/meta/ConstantReflectionProvider;Ljdk/vm/ci/meta/MetaAccessProvider;Ljdk/vm/ci/meta/ResolvedJavaField;Ljdk/vm/ci/meta/JavaConstant;)Lorg/graalvm/compiler/nodes/ConstantNode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 3
invokeinterface jdk.vm.ci.meta.ResolvedJavaField.isStatic:()Z
ifne 3
1: aload 4
ifnull 2
aload 4
invokeinterface jdk.vm.ci.meta.JavaConstant.isNull:()Z
ifeq 3
2: StackMap locals:
StackMap stack:
aconst_null
areturn
3: StackMap locals:
StackMap stack:
aload 0
aload 3
new org.graalvm.compiler.nodes.util.ConstantFoldUtil$1
dup
aload 1
aload 3
aload 4
aload 2
invokespecial org.graalvm.compiler.nodes.util.ConstantFoldUtil$1.<init>:(Ljdk/vm/ci/meta/ConstantReflectionProvider;Ljdk/vm/ci/meta/ResolvedJavaField;Ljdk/vm/ci/meta/JavaConstant;Ljdk/vm/ci/meta/MetaAccessProvider;)V
invokeinterface org.graalvm.compiler.core.common.spi.ConstantFieldProvider.readConstantField:(Ljdk/vm/ci/meta/ResolvedJavaField;Lorg/graalvm/compiler/core/common/spi/ConstantFieldProvider$ConstantFieldTool;)Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.ConstantNode
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 fieldProvider Lorg/graalvm/compiler/core/common/spi/ConstantFieldProvider;
0 4 1 constantReflection Ljdk/vm/ci/meta/ConstantReflectionProvider;
0 4 2 metaAccess Ljdk/vm/ci/meta/MetaAccessProvider;
0 4 3 field Ljdk/vm/ci/meta/ResolvedJavaField;
0 4 4 receiver Ljdk/vm/ci/meta/JavaConstant;
MethodParameters:
Name Flags
fieldProvider
constantReflection
metaAccess
field
receiver
}
SourceFile: "ConstantFoldUtil.java"
NestMembers:
org.graalvm.compiler.nodes.util.ConstantFoldUtil$1
InnerClasses:
public abstract ConstantFieldTool = org.graalvm.compiler.core.common.spi.ConstantFieldProvider$ConstantFieldTool of org.graalvm.compiler.core.common.spi.ConstantFieldProvider
org.graalvm.compiler.nodes.util.ConstantFoldUtil$1