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
public void <init>(org.graalvm.compiler.hotspot.meta.HotSpotProviders, jdk.vm.ci.code.TargetDescription);
descriptor: (Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;Ljdk/vm/ci/code/TargetDescription;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=3, args_size=3
start local 0 // org.graalvm.compiler.hotspot.replacements.LoadExceptionObjectSnippets$Templates this
start local 1 // org.graalvm.compiler.hotspot.meta.HotSpotProviders providers
start local 2 // jdk.vm.ci.code.TargetDescription target
0: .line 85
aload 0 /* this */
aload 1 /* providers */
aload 1 /* providers */
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotProviders.getSnippetReflection:()Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;
aload 2 /* target */
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: .line 82
aload 0 /* this */
aload 0 /* this */
ldc Lorg/graalvm/compiler/hotspot/replacements/LoadExceptionObjectSnippets;
ldc "loadException"
iconst_2
anewarray org.graalvm.compiler.core.common.LocationIdentity
dup
iconst_0
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.EXCEPTION_OOP_LOCATION:Lorg/graalvm/compiler/core/common/LocationIdentity;
aastore
dup
iconst_1
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.EXCEPTION_PC_LOCATION:Lorg/graalvm/compiler/core/common/LocationIdentity;
aastore
invokevirtual org.graalvm.compiler.hotspot.replacements.LoadExceptionObjectSnippets$Templates.snippet:(Ljava/lang/Class;Ljava/lang/String;[Lorg/graalvm/compiler/core/common/LocationIdentity;)Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
putfield org.graalvm.compiler.hotspot.replacements.LoadExceptionObjectSnippets$Templates.loadException:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
2: .line 86
return
end local 2 // jdk.vm.ci.code.TargetDescription target
end local 1 // org.graalvm.compiler.hotspot.meta.HotSpotProviders providers
end local 0 // org.graalvm.compiler.hotspot.replacements.LoadExceptionObjectSnippets$Templates this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/hotspot/replacements/LoadExceptionObjectSnippets$Templates;
0 3 1 providers Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
0 3 2 target Ljdk/vm/ci/code/TargetDescription;
MethodParameters:
Name Flags
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=7, args_size=4
start local 0 // org.graalvm.compiler.hotspot.replacements.LoadExceptionObjectSnippets$Templates this
start local 1 // org.graalvm.compiler.nodes.java.LoadExceptionObjectNode loadExceptionObject
start local 2 // org.graalvm.compiler.hotspot.meta.HotSpotRegistersProvider registers
start local 3 // org.graalvm.compiler.nodes.spi.LoweringTool tool
0: .line 89
getstatic org.graalvm.compiler.hotspot.replacements.LoadExceptionObjectSnippets.USE_C_RUNTIME:Z
ifeq 8
1: .line 90
aload 1 /* loadExceptionObject */
invokevirtual org.graalvm.compiler.nodes.java.LoadExceptionObjectNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 4 /* graph */
start local 4 // org.graalvm.compiler.nodes.StructuredGraph graph
2: .line 91
aload 4 /* graph */
new org.graalvm.compiler.replacements.nodes.ReadRegisterNode
dup
aload 2 /* registers */
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>:(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 5 /* thread */
start local 5 // org.graalvm.compiler.replacements.nodes.ReadRegisterNode thread
3: .line 92
aload 4 /* graph */
aload 1 /* loadExceptionObject */
aload 5 /* thread */
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.addBeforeFixed:(Lorg/graalvm/compiler/nodes/FixedNode;Lorg/graalvm/compiler/nodes/FixedWithNextNode;)V
4: .line 93
aload 4 /* graph */
new org.graalvm.compiler.nodes.extended.ForeignCallNode
dup
aload 0 /* this */
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 5 /* thread */
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 6 /* loadExceptionC */
start local 6 // org.graalvm.compiler.nodes.extended.ForeignCallNode loadExceptionC
5: .line 94
aload 6 /* loadExceptionC */
aload 1 /* loadExceptionObject */
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
6: .line 95
aload 4 /* graph */
aload 1 /* loadExceptionObject */
aload 6 /* loadExceptionC */
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.replaceFixedWithFixed:(Lorg/graalvm/compiler/nodes/FixedWithNextNode;Lorg/graalvm/compiler/nodes/FixedWithNextNode;)V
end local 6 // org.graalvm.compiler.nodes.extended.ForeignCallNode loadExceptionC
end local 5 // org.graalvm.compiler.replacements.nodes.ReadRegisterNode thread
end local 4 // org.graalvm.compiler.nodes.StructuredGraph graph
7: .line 96
goto 11
8: .line 97
StackMap locals:
StackMap stack:
new org.graalvm.compiler.replacements.SnippetTemplate$Arguments
dup
aload 0 /* this */
getfield org.graalvm.compiler.hotspot.replacements.LoadExceptionObjectSnippets$Templates.loadException:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
aload 1 /* loadExceptionObject */
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 /* tool */
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 /* args */
start local 4 // org.graalvm.compiler.replacements.SnippetTemplate$Arguments args
9: .line 98
aload 4 /* args */
ldc "threadRegister"
aload 2 /* registers */
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
10: .line 99
aload 0 /* this */
aload 4 /* args */
invokevirtual org.graalvm.compiler.hotspot.replacements.LoadExceptionObjectSnippets$Templates.template:(Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;)Lorg/graalvm/compiler/replacements/SnippetTemplate;
aload 0 /* this */
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 /* loadExceptionObject */
getstatic org.graalvm.compiler.replacements.SnippetTemplate.DEFAULT_REPLACER:Lorg/graalvm/compiler/replacements/SnippetTemplate$UsageReplacer;
aload 4 /* args */
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 4 // org.graalvm.compiler.replacements.SnippetTemplate$Arguments args
11: .line 101
StackMap locals:
StackMap stack:
return
end local 3 // org.graalvm.compiler.nodes.spi.LoweringTool tool
end local 2 // org.graalvm.compiler.hotspot.meta.HotSpotRegistersProvider registers
end local 1 // org.graalvm.compiler.nodes.java.LoadExceptionObjectNode loadExceptionObject
end local 0 // org.graalvm.compiler.hotspot.replacements.LoadExceptionObjectSnippets$Templates this
LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/graalvm/compiler/hotspot/replacements/LoadExceptionObjectSnippets$Templates;
0 12 1 loadExceptionObject Lorg/graalvm/compiler/nodes/java/LoadExceptionObjectNode;
0 12 2 registers Lorg/graalvm/compiler/hotspot/meta/HotSpotRegistersProvider;
0 12 3 tool Lorg/graalvm/compiler/nodes/spi/LoweringTool;
2 7 4 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
3 7 5 thread Lorg/graalvm/compiler/replacements/nodes/ReadRegisterNode;
5 7 6 loadExceptionC Lorg/graalvm/compiler/nodes/extended/ForeignCallNode;
9 11 4 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