public class org.graalvm.compiler.replacements.BoxingSnippets$Templates extends org.graalvm.compiler.replacements.SnippetTemplate$AbstractTemplates
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.replacements.BoxingSnippets$Templates
super_class: org.graalvm.compiler.replacements.SnippetTemplate$AbstractTemplates
{
private final java.util.EnumMap<jdk.vm.ci.meta.JavaKind, org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo> boxSnippets;
descriptor: Ljava/util/EnumMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/EnumMap<Ljdk/vm/ci/meta/JavaKind;Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;>;
private final java.util.EnumMap<jdk.vm.ci.meta.JavaKind, org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo> unboxSnippets;
descriptor: Ljava/util/EnumMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/EnumMap<Ljdk/vm/ci/meta/JavaKind;Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;>;
public void <init>(org.graalvm.compiler.phases.util.Providers, org.graalvm.compiler.api.replacements.SnippetReflectionProvider, jdk.vm.ci.code.TargetDescription);
descriptor: (Lorg/graalvm/compiler/phases/util/Providers;Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;Ljdk/vm/ci/code/TargetDescription;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokespecial org.graalvm.compiler.replacements.SnippetTemplate$AbstractTemplates.<init>:(Lorg/graalvm/compiler/phases/util/Providers;Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;Ljdk/vm/ci/code/TargetDescription;)V
1: aload 0
new java.util.EnumMap
dup
ldc Ljdk/vm/ci/meta/JavaKind;
invokespecial java.util.EnumMap.<init>:(Ljava/lang/Class;)V
putfield org.graalvm.compiler.replacements.BoxingSnippets$Templates.boxSnippets:Ljava/util/EnumMap;
2: aload 0
new java.util.EnumMap
dup
ldc Ljdk/vm/ci/meta/JavaKind;
invokespecial java.util.EnumMap.<init>:(Ljava/lang/Class;)V
putfield org.graalvm.compiler.replacements.BoxingSnippets$Templates.unboxSnippets:Ljava/util/EnumMap;
3: bipush 8
anewarray jdk.vm.ci.meta.JavaKind
dup
iconst_0
getstatic jdk.vm.ci.meta.JavaKind.Boolean:Ljdk/vm/ci/meta/JavaKind;
aastore
dup
iconst_1
getstatic jdk.vm.ci.meta.JavaKind.Byte:Ljdk/vm/ci/meta/JavaKind;
aastore
dup
iconst_2
getstatic jdk.vm.ci.meta.JavaKind.Char:Ljdk/vm/ci/meta/JavaKind;
aastore
dup
iconst_3
getstatic jdk.vm.ci.meta.JavaKind.Double:Ljdk/vm/ci/meta/JavaKind;
aastore
dup
iconst_4
getstatic jdk.vm.ci.meta.JavaKind.Float:Ljdk/vm/ci/meta/JavaKind;
aastore
dup
iconst_5
getstatic jdk.vm.ci.meta.JavaKind.Int:Ljdk/vm/ci/meta/JavaKind;
aastore
dup
bipush 6
getstatic jdk.vm.ci.meta.JavaKind.Long:Ljdk/vm/ci/meta/JavaKind;
aastore
dup
bipush 7
getstatic jdk.vm.ci.meta.JavaKind.Short:Ljdk/vm/ci/meta/JavaKind;
aastore
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 8
StackMap locals: org.graalvm.compiler.replacements.BoxingSnippets$Templates org.graalvm.compiler.phases.util.Providers org.graalvm.compiler.api.replacements.SnippetReflectionProvider jdk.vm.ci.code.TargetDescription top int int jdk.vm.ci.meta.JavaKind[]
StackMap stack:
4: aload 7
iload 5
aaload
astore 4
start local 4 5: aload 0
getfield org.graalvm.compiler.replacements.BoxingSnippets$Templates.boxSnippets:Ljava/util/EnumMap;
aload 4
aload 0
ldc Lorg/graalvm/compiler/replacements/BoxingSnippets;
new java.lang.StringBuilder
dup
aload 4
invokevirtual jdk.vm.ci.meta.JavaKind.getJavaName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "ValueOf"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
anewarray org.graalvm.compiler.core.common.LocationIdentity
invokevirtual org.graalvm.compiler.replacements.BoxingSnippets$Templates.snippet:(Ljava/lang/Class;Ljava/lang/String;[Lorg/graalvm/compiler/core/common/LocationIdentity;)Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
invokevirtual java.util.EnumMap.put:(Ljava/lang/Enum;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: aload 0
getfield org.graalvm.compiler.replacements.BoxingSnippets$Templates.unboxSnippets:Ljava/util/EnumMap;
aload 4
aload 0
ldc Lorg/graalvm/compiler/replacements/BoxingSnippets;
new java.lang.StringBuilder
dup
aload 4
invokevirtual jdk.vm.ci.meta.JavaKind.getJavaName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "Value"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
anewarray org.graalvm.compiler.core.common.LocationIdentity
invokevirtual org.graalvm.compiler.replacements.BoxingSnippets$Templates.snippet:(Ljava/lang/Class;Ljava/lang/String;[Lorg/graalvm/compiler/core/common/LocationIdentity;)Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
invokevirtual java.util.EnumMap.put:(Ljava/lang/Enum;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 4 7: iinc 5 1
StackMap locals:
StackMap stack:
8: iload 5
iload 6
if_icmplt 4
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/graalvm/compiler/replacements/BoxingSnippets$Templates;
0 10 1 providers Lorg/graalvm/compiler/phases/util/Providers;
0 10 2 snippetReflection Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;
0 10 3 target Ljdk/vm/ci/code/TargetDescription;
5 7 4 kind Ljdk/vm/ci/meta/JavaKind;
MethodParameters:
Name Flags
providers
snippetReflection
target
public void lower(org.graalvm.compiler.nodes.extended.BoxNode, org.graalvm.compiler.nodes.spi.LoweringTool);
descriptor: (Lorg/graalvm/compiler/nodes/extended/BoxNode;Lorg/graalvm/compiler/nodes/spi/LoweringTool;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
getfield org.graalvm.compiler.replacements.BoxingSnippets$Templates.providers:Lorg/graalvm/compiler/phases/util/Providers;
invokevirtual org.graalvm.compiler.phases.util.Providers.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 0
getfield org.graalvm.compiler.replacements.BoxingSnippets$Templates.providers:Lorg/graalvm/compiler/phases/util/Providers;
invokevirtual org.graalvm.compiler.phases.util.Providers.getConstantReflection:()Ljdk/vm/ci/meta/ConstantReflectionProvider;
invokestatic org.graalvm.compiler.replacements.BoxingSnippets.canonicalizeBoxing:(Lorg/graalvm/compiler/nodes/extended/BoxNode;Ljdk/vm/ci/meta/MetaAccessProvider;Ljdk/vm/ci/meta/ConstantReflectionProvider;)Lorg/graalvm/compiler/nodes/calc/FloatingNode;
astore 3
start local 3 1: aload 3
ifnull 4
getstatic org.graalvm.compiler.core.common.GraalOptions.ImmutableCode:Lorg/graalvm/compiler/options/OptionValue;
invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifne 4
2: aload 1
invokevirtual org.graalvm.compiler.nodes.extended.BoxNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
aload 1
aload 3
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.replaceFixedWithFloating:(Lorg/graalvm/compiler/nodes/FixedWithNextNode;Lorg/graalvm/compiler/nodes/calc/FloatingNode;)V
3: goto 9
4: StackMap locals: org.graalvm.compiler.nodes.calc.FloatingNode
StackMap stack:
new org.graalvm.compiler.replacements.SnippetTemplate$Arguments
dup
aload 0
getfield org.graalvm.compiler.replacements.BoxingSnippets$Templates.boxSnippets:Ljava/util/EnumMap;
aload 1
invokevirtual org.graalvm.compiler.nodes.extended.BoxNode.getBoxingKind:()Ljdk/vm/ci/meta/JavaKind;
invokevirtual java.util.EnumMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo
aload 1
invokevirtual org.graalvm.compiler.nodes.extended.BoxNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getGuardsStage:()Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;
aload 2
invokeinterface org.graalvm.compiler.nodes.spi.LoweringTool.getLoweringStage:()Lorg/graalvm/compiler/nodes/spi/LoweringTool$LoweringStage;
invokespecial org.graalvm.compiler.replacements.SnippetTemplate$Arguments.<init>:(Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;Lorg/graalvm/compiler/nodes/spi/LoweringTool$LoweringStage;)V
astore 4
start local 4 5: aload 4
ldc "value"
aload 1
invokevirtual org.graalvm.compiler.nodes.extended.BoxNode.getValue:()Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
6: aload 0
aload 4
invokevirtual org.graalvm.compiler.replacements.BoxingSnippets$Templates.template:(Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;)Lorg/graalvm/compiler/replacements/SnippetTemplate;
astore 5
start local 5 7: ldc "Lowering integerValueOf in %s: node=%s, template=%s, arguments=%s"
aload 1
invokevirtual org.graalvm.compiler.nodes.extended.BoxNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
aload 1
aload 5
aload 4
invokestatic org.graalvm.compiler.debug.Debug.log:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V
8: aload 5
aload 0
getfield org.graalvm.compiler.replacements.BoxingSnippets$Templates.providers:Lorg/graalvm/compiler/phases/util/Providers;
invokevirtual org.graalvm.compiler.phases.util.Providers.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 1
getstatic org.graalvm.compiler.replacements.SnippetTemplate.DEFAULT_REPLACER:Lorg/graalvm/compiler/replacements/SnippetTemplate$UsageReplacer;
aload 4
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate.instantiate:(Ljdk/vm/ci/meta/MetaAccessProvider;Lorg/graalvm/compiler/nodes/FixedNode;Lorg/graalvm/compiler/replacements/SnippetTemplate$UsageReplacer;Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;)Ljava/util/Map;
pop
end local 5 end local 4 9: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/graalvm/compiler/replacements/BoxingSnippets$Templates;
0 10 1 box Lorg/graalvm/compiler/nodes/extended/BoxNode;
0 10 2 tool Lorg/graalvm/compiler/nodes/spi/LoweringTool;
1 10 3 canonical Lorg/graalvm/compiler/nodes/calc/FloatingNode;
5 9 4 args Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
7 9 5 template Lorg/graalvm/compiler/replacements/SnippetTemplate;
MethodParameters:
Name Flags
box
tool
public void lower(org.graalvm.compiler.nodes.extended.UnboxNode, org.graalvm.compiler.nodes.spi.LoweringTool);
descriptor: (Lorg/graalvm/compiler/nodes/extended/UnboxNode;Lorg/graalvm/compiler/nodes/spi/LoweringTool;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: new org.graalvm.compiler.replacements.SnippetTemplate$Arguments
dup
aload 0
getfield org.graalvm.compiler.replacements.BoxingSnippets$Templates.unboxSnippets:Ljava/util/EnumMap;
aload 1
invokevirtual org.graalvm.compiler.nodes.extended.UnboxNode.getBoxingKind:()Ljdk/vm/ci/meta/JavaKind;
invokevirtual java.util.EnumMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo
aload 1
invokevirtual org.graalvm.compiler.nodes.extended.UnboxNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getGuardsStage:()Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;
aload 2
invokeinterface org.graalvm.compiler.nodes.spi.LoweringTool.getLoweringStage:()Lorg/graalvm/compiler/nodes/spi/LoweringTool$LoweringStage;
invokespecial org.graalvm.compiler.replacements.SnippetTemplate$Arguments.<init>:(Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;Lorg/graalvm/compiler/nodes/spi/LoweringTool$LoweringStage;)V
astore 3
start local 3 1: aload 3
ldc "value"
aload 1
invokevirtual org.graalvm.compiler.nodes.extended.UnboxNode.getValue:()Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
2: aload 0
aload 3
invokevirtual org.graalvm.compiler.replacements.BoxingSnippets$Templates.template:(Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;)Lorg/graalvm/compiler/replacements/SnippetTemplate;
astore 4
start local 4 3: ldc "Lowering integerValueOf in %s: node=%s, template=%s, arguments=%s"
aload 1
invokevirtual org.graalvm.compiler.nodes.extended.UnboxNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
aload 1
aload 4
aload 3
invokestatic org.graalvm.compiler.debug.Debug.log:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V
4: aload 4
aload 0
getfield org.graalvm.compiler.replacements.BoxingSnippets$Templates.providers:Lorg/graalvm/compiler/phases/util/Providers;
invokevirtual org.graalvm.compiler.phases.util.Providers.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 1
getstatic org.graalvm.compiler.replacements.SnippetTemplate.DEFAULT_REPLACER:Lorg/graalvm/compiler/replacements/SnippetTemplate$UsageReplacer;
aload 3
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate.instantiate:(Ljdk/vm/ci/meta/MetaAccessProvider;Lorg/graalvm/compiler/nodes/FixedNode;Lorg/graalvm/compiler/replacements/SnippetTemplate$UsageReplacer;Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;)Ljava/util/Map;
pop
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/replacements/BoxingSnippets$Templates;
0 6 1 unbox Lorg/graalvm/compiler/nodes/extended/UnboxNode;
0 6 2 tool Lorg/graalvm/compiler/nodes/spi/LoweringTool;
1 6 3 args Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
3 6 4 template Lorg/graalvm/compiler/replacements/SnippetTemplate;
MethodParameters:
Name Flags
unbox
tool
}
SourceFile: "BoxingSnippets.java"
NestHost: org.graalvm.compiler.replacements.BoxingSnippets
InnerClasses:
public final GuardsStage = org.graalvm.compiler.nodes.StructuredGraph$GuardsStage of org.graalvm.compiler.nodes.StructuredGraph
public abstract LoweringStage = org.graalvm.compiler.nodes.spi.LoweringTool$LoweringStage of org.graalvm.compiler.nodes.spi.LoweringTool
public Templates = org.graalvm.compiler.replacements.BoxingSnippets$Templates of org.graalvm.compiler.replacements.BoxingSnippets
public abstract AbstractTemplates = org.graalvm.compiler.replacements.SnippetTemplate$AbstractTemplates of org.graalvm.compiler.replacements.SnippetTemplate
public Arguments = org.graalvm.compiler.replacements.SnippetTemplate$Arguments of org.graalvm.compiler.replacements.SnippetTemplate
public abstract SnippetInfo = org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo of org.graalvm.compiler.replacements.SnippetTemplate
public abstract UsageReplacer = org.graalvm.compiler.replacements.SnippetTemplate$UsageReplacer of org.graalvm.compiler.replacements.SnippetTemplate