public class org.graalvm.compiler.hotspot.replacements.LoadExceptionObjectSnippets$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.hotspot.replacements.LoadExceptionObjectSnippets$Templates
super_class: org.graalvm.compiler.replacements.SnippetTemplate$AbstractTemplates
{
private final org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo loadException;
descriptor: Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.hotspot.word.HotSpotWordTypes wordTypes;
descriptor: Lorg/graalvm/compiler/hotspot/word/HotSpotWordTypes;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.graalvm.compiler.options.OptionValues, java.lang.Iterable<org.graalvm.compiler.debug.DebugHandlersFactory>, org.graalvm.compiler.hotspot.meta.HotSpotProviders, jdk.vm.ci.code.TargetDescription);
descriptor: (Lorg/graalvm/compiler/options/OptionValues;Ljava/lang/Iterable;Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;Ljdk/vm/ci/code/TargetDescription;)V
flags: (0x0001) ACC_PUBLIC
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 0
aload 1
aload 2
aload 3
aload 3
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotProviders.getSnippetReflection:()Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;
aload 4
invokespecial org.graalvm.compiler.replacements.SnippetTemplate$AbstractTemplates.<init>:(Lorg/graalvm/compiler/options/OptionValues;Ljava/lang/Iterable;Lorg/graalvm/compiler/phases/util/Providers;Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;Ljdk/vm/ci/code/TargetDescription;)V
1: aload 0
aload 0
ldc Lorg/graalvm/compiler/hotspot/replacements/LoadExceptionObjectSnippets;
ldc "loadException"
iconst_2
anewarray org.graalvm.word.LocationIdentity
dup
iconst_0
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.EXCEPTION_OOP_LOCATION:Lorg/graalvm/word/LocationIdentity;
aastore
dup
iconst_1
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.EXCEPTION_PC_LOCATION:Lorg/graalvm/word/LocationIdentity;
aastore
invokevirtual org.graalvm.compiler.hotspot.replacements.LoadExceptionObjectSnippets$Templates.snippet:(Ljava/lang/Class;Ljava/lang/String;[Lorg/graalvm/word/LocationIdentity;)Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
putfield org.graalvm.compiler.hotspot.replacements.LoadExceptionObjectSnippets$Templates.loadException:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
2: aload 0
aload 3
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotProviders.getWordTypes:()Lorg/graalvm/compiler/hotspot/word/HotSpotWordTypes;
putfield org.graalvm.compiler.hotspot.replacements.LoadExceptionObjectSnippets$Templates.wordTypes:Lorg/graalvm/compiler/hotspot/word/HotSpotWordTypes;
3: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/hotspot/replacements/LoadExceptionObjectSnippets$Templates;
0 4 1 options Lorg/graalvm/compiler/options/OptionValues;
0 4 2 factories Ljava/lang/Iterable<Lorg/graalvm/compiler/debug/DebugHandlersFactory;>;
0 4 3 providers Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
0 4 4 target Ljdk/vm/ci/code/TargetDescription;
Signature: (Lorg/graalvm/compiler/options/OptionValues;Ljava/lang/Iterable<Lorg/graalvm/compiler/debug/DebugHandlersFactory;>;Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;Ljdk/vm/ci/code/TargetDescription;)V
MethodParameters:
Name Flags
options
factories
providers
target
public void lower(org.graalvm.compiler.nodes.java.LoadExceptionObjectNode, org.graalvm.compiler.hotspot.meta.HotSpotRegistersProvider, org.graalvm.compiler.nodes.spi.LoweringTool);
descriptor: (Lorg/graalvm/compiler/nodes/java/LoadExceptionObjectNode;Lorg/graalvm/compiler/hotspot/meta/HotSpotRegistersProvider;Lorg/graalvm/compiler/nodes/spi/LoweringTool;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual org.graalvm.compiler.nodes.java.LoadExceptionObjectNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 4
start local 4 1: getstatic org.graalvm.compiler.hotspot.replacements.HotspotSnippetsOptions.LoadExceptionObjectInVM:Lorg/graalvm/compiler/options/OptionKey;
aload 4
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.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 10
2: aload 0
getfield org.graalvm.compiler.hotspot.replacements.LoadExceptionObjectSnippets$Templates.providers:Lorg/graalvm/compiler/phases/util/Providers;
invokevirtual org.graalvm.compiler.phases.util.Providers.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
ldc Lorg/graalvm/compiler/word/Word;
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaType:(Ljava/lang/Class;)Ljdk/vm/ci/meta/ResolvedJavaType;
astore 5
start local 5 3: aload 0
getfield org.graalvm.compiler.hotspot.replacements.LoadExceptionObjectSnippets$Templates.wordTypes:Lorg/graalvm/compiler/hotspot/word/HotSpotWordTypes;
aload 5
invokevirtual org.graalvm.compiler.hotspot.word.HotSpotWordTypes.getWordStamp:(Ljdk/vm/ci/meta/ResolvedJavaType;)Lorg/graalvm/compiler/core/common/type/Stamp;
astore 6
start local 6 4: aload 4
new org.graalvm.compiler.replacements.nodes.ReadRegisterNode
dup
aload 6
aload 2
invokeinterface org.graalvm.compiler.hotspot.meta.HotSpotRegistersProvider.getThreadRegister:()Ljdk/vm/ci/code/Register;
iconst_1
iconst_0
invokespecial org.graalvm.compiler.replacements.nodes.ReadRegisterNode.<init>:(Lorg/graalvm/compiler/core/common/type/Stamp;Ljdk/vm/ci/code/Register;ZZ)V
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.add:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.replacements.nodes.ReadRegisterNode
astore 7
start local 7 5: aload 4
aload 1
aload 7
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.addBeforeFixed:(Lorg/graalvm/compiler/nodes/FixedNode;Lorg/graalvm/compiler/nodes/FixedWithNextNode;)V
6: aload 4
new org.graalvm.compiler.nodes.extended.ForeignCallNode
dup
aload 0
getfield org.graalvm.compiler.hotspot.replacements.LoadExceptionObjectSnippets$Templates.providers:Lorg/graalvm/compiler/phases/util/Providers;
invokevirtual org.graalvm.compiler.phases.util.Providers.getForeignCalls:()Lorg/graalvm/compiler/core/common/spi/ForeignCallsProvider;
getstatic org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.LOAD_AND_CLEAR_EXCEPTION:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
iconst_1
anewarray org.graalvm.compiler.nodes.ValueNode
dup
iconst_0
aload 7
aastore
invokespecial org.graalvm.compiler.nodes.extended.ForeignCallNode.<init>:(Lorg/graalvm/compiler/core/common/spi/ForeignCallsProvider;Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;[Lorg/graalvm/compiler/nodes/ValueNode;)V
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.add:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.extended.ForeignCallNode
astore 8
start local 8 7: aload 8
aload 1
invokevirtual org.graalvm.compiler.nodes.java.LoadExceptionObjectNode.stateAfter:()Lorg/graalvm/compiler/nodes/FrameState;
invokevirtual org.graalvm.compiler.nodes.extended.ForeignCallNode.setStateAfter:(Lorg/graalvm/compiler/nodes/FrameState;)V
8: aload 4
aload 1
aload 8
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.replaceFixedWithFixed:(Lorg/graalvm/compiler/nodes/FixedWithNextNode;Lorg/graalvm/compiler/nodes/FixedWithNextNode;)V
end local 8 end local 7 end local 6 end local 5 9: goto 13
10: StackMap locals: org.graalvm.compiler.nodes.StructuredGraph
StackMap stack:
new org.graalvm.compiler.replacements.SnippetTemplate$Arguments
dup
aload 0
getfield org.graalvm.compiler.hotspot.replacements.LoadExceptionObjectSnippets$Templates.loadException:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
aload 1
invokevirtual org.graalvm.compiler.nodes.java.LoadExceptionObjectNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getGuardsStage:()Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;
aload 3
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 5
start local 5 11: aload 5
ldc "threadRegister"
aload 2
invokeinterface org.graalvm.compiler.hotspot.meta.HotSpotRegistersProvider.getThreadRegister:()Ljdk/vm/ci/code/Register;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
12: aload 0
aload 1
invokevirtual org.graalvm.compiler.nodes.java.LoadExceptionObjectNode.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
aload 5
invokevirtual org.graalvm.compiler.hotspot.replacements.LoadExceptionObjectSnippets$Templates.template:(Lorg/graalvm/compiler/debug/DebugContext;Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;)Lorg/graalvm/compiler/replacements/SnippetTemplate;
aload 0
getfield org.graalvm.compiler.hotspot.replacements.LoadExceptionObjectSnippets$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 5
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;)Lorg/graalvm/util/UnmodifiableEconomicMap;
pop
end local 5 13: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/graalvm/compiler/hotspot/replacements/LoadExceptionObjectSnippets$Templates;
0 14 1 loadExceptionObject Lorg/graalvm/compiler/nodes/java/LoadExceptionObjectNode;
0 14 2 registers Lorg/graalvm/compiler/hotspot/meta/HotSpotRegistersProvider;
0 14 3 tool Lorg/graalvm/compiler/nodes/spi/LoweringTool;
1 14 4 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
3 9 5 wordType Ljdk/vm/ci/meta/ResolvedJavaType;
4 9 6 stamp Lorg/graalvm/compiler/core/common/type/Stamp;
5 9 7 thread Lorg/graalvm/compiler/replacements/nodes/ReadRegisterNode;
7 9 8 loadExceptionC Lorg/graalvm/compiler/nodes/extended/ForeignCallNode;
11 13 5 args Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
MethodParameters:
Name Flags
loadExceptionObject
registers
tool
}
SourceFile: "LoadExceptionObjectSnippets.java"
NestHost: org.graalvm.compiler.hotspot.replacements.LoadExceptionObjectSnippets
InnerClasses:
public Templates = org.graalvm.compiler.hotspot.replacements.LoadExceptionObjectSnippets$Templates of org.graalvm.compiler.hotspot.replacements.LoadExceptionObjectSnippets
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 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