public abstract class org.graalvm.compiler.replacements.nodes.MacroNode extends org.graalvm.compiler.nodes.FixedWithNextNode implements org.graalvm.compiler.nodes.spi.Lowerable, org.graalvm.compiler.nodes.Invokable
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.graalvm.compiler.replacements.nodes.MacroNode
super_class: org.graalvm.compiler.nodes.FixedWithNextNode
{
public static final org.graalvm.compiler.graph.NodeClass<org.graalvm.compiler.replacements.nodes.MacroNode> TYPE;
descriptor: Lorg/graalvm/compiler/graph/NodeClass;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Lorg/graalvm/compiler/graph/NodeClass<Lorg/graalvm/compiler/replacements/nodes/MacroNode;>;
protected org.graalvm.compiler.graph.NodeInputList<org.graalvm.compiler.nodes.ValueNode> arguments;
descriptor: Lorg/graalvm/compiler/graph/NodeInputList;
flags: (0x0004) ACC_PROTECTED
Signature: Lorg/graalvm/compiler/graph/NodeInputList<Lorg/graalvm/compiler/nodes/ValueNode;>;
RuntimeVisibleAnnotations:
org.graalvm.compiler.graph.Node$Input()
protected final int bci;
descriptor: I
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final jdk.vm.ci.meta.ResolvedJavaMethod targetMethod;
descriptor: Ljdk/vm/ci/meta/ResolvedJavaMethod;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final org.graalvm.compiler.nodes.CallTargetNode$InvokeKind invokeKind;
descriptor: Lorg/graalvm/compiler/nodes/CallTargetNode$InvokeKind;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final org.graalvm.compiler.core.common.type.StampPair returnStamp;
descriptor: Lorg/graalvm/compiler/core/common/type/StampPair;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/replacements/nodes/MacroNode;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.graalvm.compiler.replacements.nodes.MacroNode.$assertionsDisabled:Z
3: ldc Lorg/graalvm/compiler/replacements/nodes/MacroNode;
invokestatic org.graalvm.compiler.graph.NodeClass.create:(Ljava/lang/Class;)Lorg/graalvm/compiler/graph/NodeClass;
putstatic org.graalvm.compiler.replacements.nodes.MacroNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(org.graalvm.compiler.graph.NodeClass<? extends org.graalvm.compiler.replacements.nodes.MacroNode>, org.graalvm.compiler.nodes.CallTargetNode$InvokeKind, jdk.vm.ci.meta.ResolvedJavaMethod, int, org.graalvm.compiler.core.common.type.StampPair, org.graalvm.compiler.nodes.ValueNode[]);
descriptor: (Lorg/graalvm/compiler/graph/NodeClass;Lorg/graalvm/compiler/nodes/CallTargetNode$InvokeKind;Ljdk/vm/ci/meta/ResolvedJavaMethod;ILorg/graalvm/compiler/core/common/type/StampPair;[Lorg/graalvm/compiler/nodes/ValueNode;)V
flags: (0x0084) ACC_PROTECTED, ACC_VARARGS
Code:
stack=5, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 1
aload 5
ifnull 1
aload 5
invokevirtual org.graalvm.compiler.core.common.type.StampPair.getTrustedStamp:()Lorg/graalvm/compiler/core/common/type/Stamp;
goto 2
StackMap locals: uninitialized-this org.graalvm.compiler.graph.NodeClass org.graalvm.compiler.nodes.CallTargetNode$InvokeKind jdk.vm.ci.meta.ResolvedJavaMethod int org.graalvm.compiler.core.common.type.StampPair org.graalvm.compiler.nodes.ValueNode[]
StackMap stack: uninitialized-this org.graalvm.compiler.graph.NodeClass
1: aconst_null
StackMap locals: uninitialized-this org.graalvm.compiler.graph.NodeClass org.graalvm.compiler.nodes.CallTargetNode$InvokeKind jdk.vm.ci.meta.ResolvedJavaMethod int org.graalvm.compiler.core.common.type.StampPair org.graalvm.compiler.nodes.ValueNode[]
StackMap stack: uninitialized-this org.graalvm.compiler.graph.NodeClass org.graalvm.compiler.core.common.type.Stamp
2: invokespecial org.graalvm.compiler.nodes.FixedWithNextNode.<init>:(Lorg/graalvm/compiler/graph/NodeClass;Lorg/graalvm/compiler/core/common/type/Stamp;)V
3: aload 0
aload 3
aload 6
invokevirtual org.graalvm.compiler.replacements.nodes.MacroNode.assertArgumentCount:(Ljdk/vm/ci/meta/ResolvedJavaMethod;[Lorg/graalvm/compiler/nodes/ValueNode;)V
4: aload 0
new org.graalvm.compiler.graph.NodeInputList
dup
aload 0
aload 6
invokespecial org.graalvm.compiler.graph.NodeInputList.<init>:(Lorg/graalvm/compiler/graph/Node;[Lorg/graalvm/compiler/graph/Node;)V
putfield org.graalvm.compiler.replacements.nodes.MacroNode.arguments:Lorg/graalvm/compiler/graph/NodeInputList;
5: aload 0
iload 4
putfield org.graalvm.compiler.replacements.nodes.MacroNode.bci:I
6: aload 0
aload 3
putfield org.graalvm.compiler.replacements.nodes.MacroNode.targetMethod:Ljdk/vm/ci/meta/ResolvedJavaMethod;
7: aload 0
aload 5
putfield org.graalvm.compiler.replacements.nodes.MacroNode.returnStamp:Lorg/graalvm/compiler/core/common/type/StampPair;
8: aload 0
aload 2
putfield org.graalvm.compiler.replacements.nodes.MacroNode.invokeKind:Lorg/graalvm/compiler/nodes/CallTargetNode$InvokeKind;
9: getstatic org.graalvm.compiler.replacements.nodes.MacroNode.$assertionsDisabled:Z
ifne 10
iload 4
invokestatic jdk.vm.ci.code.BytecodeFrame.isPlaceholderBci:(I)Z
ifeq 10
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
10: StackMap locals: org.graalvm.compiler.replacements.nodes.MacroNode org.graalvm.compiler.graph.NodeClass org.graalvm.compiler.nodes.CallTargetNode$InvokeKind jdk.vm.ci.meta.ResolvedJavaMethod int org.graalvm.compiler.core.common.type.StampPair org.graalvm.compiler.nodes.ValueNode[]
StackMap stack:
return
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 11 0 this Lorg/graalvm/compiler/replacements/nodes/MacroNode;
0 11 1 c Lorg/graalvm/compiler/graph/NodeClass<+Lorg/graalvm/compiler/replacements/nodes/MacroNode;>;
0 11 2 invokeKind Lorg/graalvm/compiler/nodes/CallTargetNode$InvokeKind;
0 11 3 targetMethod Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 11 4 bci I
0 11 5 returnStamp Lorg/graalvm/compiler/core/common/type/StampPair;
0 11 6 arguments [Lorg/graalvm/compiler/nodes/ValueNode;
Signature: (Lorg/graalvm/compiler/graph/NodeClass<+Lorg/graalvm/compiler/replacements/nodes/MacroNode;>;Lorg/graalvm/compiler/nodes/CallTargetNode$InvokeKind;Ljdk/vm/ci/meta/ResolvedJavaMethod;ILorg/graalvm/compiler/core/common/type/StampPair;[Lorg/graalvm/compiler/nodes/ValueNode;)V
MethodParameters:
Name Flags
c
invokeKind
targetMethod
bci
returnStamp
arguments
protected void assertArgumentCount(jdk.vm.ci.meta.ResolvedJavaMethod, org.graalvm.compiler.nodes.ValueNode[]);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaMethod;[Lorg/graalvm/compiler/nodes/ValueNode;)V
flags: (0x0084) ACC_PROTECTED, ACC_VARARGS
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.graalvm.compiler.replacements.nodes.MacroNode.$assertionsDisabled:Z
ifne 3
aload 1
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getSignature:()Ljdk/vm/ci/meta/Signature;
aload 1
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.isStatic:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack: jdk.vm.ci.meta.Signature
1: iconst_1
StackMap locals: org.graalvm.compiler.replacements.nodes.MacroNode jdk.vm.ci.meta.ResolvedJavaMethod org.graalvm.compiler.nodes.ValueNode[]
StackMap stack: jdk.vm.ci.meta.Signature int
2: invokeinterface jdk.vm.ci.meta.Signature.getParameterCount:(Z)I
aload 2
arraylength
if_icmpeq 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/replacements/nodes/MacroNode;
0 4 1 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 4 2 args [Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
method
args
public org.graalvm.compiler.nodes.ValueNode getArgument(int);
descriptor: (I)Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.replacements.nodes.MacroNode.arguments:Lorg/graalvm/compiler/graph/NodeInputList;
iload 1
invokevirtual org.graalvm.compiler.graph.NodeInputList.get:(I)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.ValueNode
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/nodes/MacroNode;
0 1 1 i I
MethodParameters:
Name Flags
i
public int getArgumentCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.replacements.nodes.MacroNode.arguments:Lorg/graalvm/compiler/graph/NodeInputList;
invokevirtual org.graalvm.compiler.graph.NodeInputList.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/nodes/MacroNode;
public org.graalvm.compiler.nodes.ValueNode[] toArgumentArray();
descriptor: ()[Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.replacements.nodes.MacroNode.arguments:Lorg/graalvm/compiler/graph/NodeInputList;
iconst_0
anewarray org.graalvm.compiler.nodes.ValueNode
invokevirtual org.graalvm.compiler.graph.NodeInputList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.ValueNode[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/nodes/MacroNode;
public int bci();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.replacements.nodes.MacroNode.bci:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/nodes/MacroNode;
public jdk.vm.ci.meta.ResolvedJavaMethod getTargetMethod();
descriptor: ()Ljdk/vm/ci/meta/ResolvedJavaMethod;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.replacements.nodes.MacroNode.targetMethod:Ljdk/vm/ci/meta/ResolvedJavaMethod;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/nodes/MacroNode;
protected org.graalvm.compiler.nodes.FrameState stateAfter();
descriptor: ()Lorg/graalvm/compiler/nodes/FrameState;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/nodes/MacroNode;
protected void afterClone(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.graalvm.compiler.replacements.nodes.MacroNode.updateInliningLogAfterClone:(Lorg/graalvm/compiler/graph/Node;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/replacements/nodes/MacroNode;
0 2 1 other Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
other
public org.graalvm.compiler.nodes.FixedNode asFixedNode();
descriptor: ()Lorg/graalvm/compiler/nodes/FixedNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/nodes/MacroNode;
protected org.graalvm.compiler.nodes.StructuredGraph getLoweredSnippetGraph(org.graalvm.compiler.nodes.spi.LoweringTool);
descriptor: (Lorg/graalvm/compiler/nodes/spi/LoweringTool;)Lorg/graalvm/compiler/nodes/StructuredGraph;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/nodes/MacroNode;
0 1 1 tool Lorg/graalvm/compiler/nodes/spi/LoweringTool;
MethodParameters:
Name Flags
tool
protected org.graalvm.compiler.nodes.StructuredGraph lowerReplacement(org.graalvm.compiler.nodes.StructuredGraph, org.graalvm.compiler.nodes.spi.LoweringTool);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/spi/LoweringTool;)Lorg/graalvm/compiler/nodes/StructuredGraph;
flags: (0x0004) ACC_PROTECTED
Code:
stack=9, locals=9, args_size=3
start local 0 start local 1 start local 2 0: new org.graalvm.compiler.phases.tiers.PhaseContext
dup
aload 2
invokeinterface org.graalvm.compiler.nodes.spi.LoweringTool.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 2
invokeinterface org.graalvm.compiler.nodes.spi.LoweringTool.getConstantReflection:()Ljdk/vm/ci/meta/ConstantReflectionProvider;
aload 2
invokeinterface org.graalvm.compiler.nodes.spi.LoweringTool.getConstantFieldProvider:()Lorg/graalvm/compiler/core/common/spi/ConstantFieldProvider;
aload 2
invokeinterface org.graalvm.compiler.nodes.spi.LoweringTool.getLowerer:()Lorg/graalvm/compiler/nodes/spi/LoweringProvider;
aload 2
invokeinterface org.graalvm.compiler.nodes.spi.LoweringTool.getReplacements:()Lorg/graalvm/compiler/nodes/spi/Replacements;
1: aload 2
invokeinterface org.graalvm.compiler.nodes.spi.LoweringTool.getStampProvider:()Lorg/graalvm/compiler/nodes/spi/StampProvider;
aconst_null
2: invokespecial org.graalvm.compiler.phases.tiers.PhaseContext.<init>:(Ljdk/vm/ci/meta/MetaAccessProvider;Ljdk/vm/ci/meta/ConstantReflectionProvider;Lorg/graalvm/compiler/core/common/spi/ConstantFieldProvider;Lorg/graalvm/compiler/nodes/spi/LoweringProvider;Lorg/graalvm/compiler/nodes/spi/Replacements;Lorg/graalvm/compiler/nodes/spi/StampProvider;Lorg/graalvm/compiler/core/common/spi/ForeignCallsProvider;)V
astore 3
start local 3 3: aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.MacroNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.hasValueProxies:()Z
ifne 5
4: new org.graalvm.compiler.phases.common.RemoveValueProxyPhase
dup
invokespecial org.graalvm.compiler.phases.common.RemoveValueProxyPhase.<init>:()V
aload 1
invokevirtual org.graalvm.compiler.phases.common.RemoveValueProxyPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;)V
5: StackMap locals: org.graalvm.compiler.phases.tiers.PhaseContext
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.MacroNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getGuardsStage:()Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;
astore 4
start local 4 6: aload 4
invokevirtual org.graalvm.compiler.nodes.StructuredGraph$GuardsStage.allowsFloatingGuards:()Z
ifne 10
7: new org.graalvm.compiler.phases.common.GuardLoweringPhase
dup
invokespecial org.graalvm.compiler.phases.common.GuardLoweringPhase.<init>:()V
aload 1
aconst_null
invokevirtual org.graalvm.compiler.phases.common.GuardLoweringPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
8: aload 4
invokevirtual org.graalvm.compiler.nodes.StructuredGraph$GuardsStage.areFrameStatesAtDeopts:()Z
ifeq 10
9: new org.graalvm.compiler.phases.common.FrameStateAssignmentPhase
dup
invokespecial org.graalvm.compiler.phases.common.FrameStateAssignmentPhase.<init>:()V
aload 1
invokevirtual org.graalvm.compiler.phases.common.FrameStateAssignmentPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;)V
10: StackMap locals: org.graalvm.compiler.nodes.StructuredGraph$GuardsStage
StackMap stack:
aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
astore 5
start local 5 11: aconst_null
astore 6
aconst_null
astore 7
12: aload 5
ldc "LoweringSnippetTemplate"
aload 1
invokevirtual org.graalvm.compiler.debug.DebugContext.scope:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/graalvm/compiler/debug/DebugContext$Scope;
astore 8
start local 8 13: new org.graalvm.compiler.phases.common.LoweringPhase
dup
new org.graalvm.compiler.phases.common.CanonicalizerPhase
dup
invokespecial org.graalvm.compiler.phases.common.CanonicalizerPhase.<init>:()V
aload 2
invokeinterface org.graalvm.compiler.nodes.spi.LoweringTool.getLoweringStage:()Lorg/graalvm/compiler/nodes/spi/LoweringTool$LoweringStage;
invokespecial org.graalvm.compiler.phases.common.LoweringPhase.<init>:(Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;Lorg/graalvm/compiler/nodes/spi/LoweringTool$LoweringStage;)V
aload 1
aload 3
invokevirtual org.graalvm.compiler.phases.common.LoweringPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
14: aload 8
ifnull 22
aload 8
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
goto 22
StackMap locals: org.graalvm.compiler.replacements.nodes.MacroNode org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.spi.LoweringTool org.graalvm.compiler.phases.tiers.PhaseContext org.graalvm.compiler.nodes.StructuredGraph$GuardsStage org.graalvm.compiler.debug.DebugContext java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope
StackMap stack: java.lang.Throwable
15: astore 6
aload 8
ifnull 16
aload 8
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
end local 8 StackMap locals:
StackMap stack:
16: aload 6
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
17: astore 7
aload 6
ifnonnull 18
aload 7
astore 6
goto 19
StackMap locals:
StackMap stack:
18: aload 6
aload 7
if_acmpeq 19
aload 6
aload 7
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
19: aload 6
athrow
StackMap locals: org.graalvm.compiler.replacements.nodes.MacroNode org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.spi.LoweringTool org.graalvm.compiler.phases.tiers.PhaseContext org.graalvm.compiler.nodes.StructuredGraph$GuardsStage org.graalvm.compiler.debug.DebugContext
StackMap stack: java.lang.Throwable
20: astore 6
start local 6 21: aload 5
aload 6
invokevirtual org.graalvm.compiler.debug.DebugContext.handle:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 6 22: StackMap locals:
StackMap stack:
aload 1
areturn
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 23 0 this Lorg/graalvm/compiler/replacements/nodes/MacroNode;
0 23 1 replacementGraph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 23 2 tool Lorg/graalvm/compiler/nodes/spi/LoweringTool;
3 23 3 c Lorg/graalvm/compiler/phases/tiers/PhaseContext;
6 23 4 guardsStage Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;
11 23 5 debug Lorg/graalvm/compiler/debug/DebugContext;
13 16 8 s Lorg/graalvm/compiler/debug/DebugContext$Scope;
21 22 6 e Ljava/lang/Throwable;
Exception table:
from to target type
13 14 15 any
12 17 17 any
11 20 20 Class java.lang.Throwable
MethodParameters:
Name Flags
replacementGraph final
tool
public void lower(org.graalvm.compiler.nodes.spi.LoweringTool);
descriptor: (Lorg/graalvm/compiler/nodes/spi/LoweringTool;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=5, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.graalvm.compiler.replacements.nodes.MacroNode.getLoweredSnippetGraph:(Lorg/graalvm/compiler/nodes/spi/LoweringTool;)Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 2
start local 2 1: aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.MacroNode.replaceWithInvoke:()Lorg/graalvm/compiler/nodes/InvokeNode;
astore 3
start local 3 2: getstatic org.graalvm.compiler.replacements.nodes.MacroNode.$assertionsDisabled:Z
ifne 3
aload 3
invokevirtual org.graalvm.compiler.nodes.InvokeNode.verify:()Z
ifne 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.InvokeNode
StackMap stack:
aload 2
ifnull 11
4: aload 0
getfield org.graalvm.compiler.replacements.nodes.MacroNode.targetMethod:Ljdk/vm/ci/meta/ResolvedJavaMethod;
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.isStatic:()Z
ifne 8
5: aload 3
invokestatic org.graalvm.compiler.phases.common.inlining.InliningUtil.nonNullReceiver:(Lorg/graalvm/compiler/nodes/Invoke;)Lorg/graalvm/compiler/nodes/ValueNode;
astore 4
start local 4 6: aload 4
instanceof org.graalvm.compiler.nodes.spi.Lowerable
ifeq 8
7: aload 4
checkcast org.graalvm.compiler.nodes.spi.Lowerable
aload 1
invokeinterface org.graalvm.compiler.nodes.spi.Lowerable.lower:(Lorg/graalvm/compiler/nodes/spi/LoweringTool;)V
end local 4 8: StackMap locals:
StackMap stack:
aload 3
aload 2
iconst_0
aload 0
getfield org.graalvm.compiler.replacements.nodes.MacroNode.targetMethod:Ljdk/vm/ci/meta/ResolvedJavaMethod;
ldc "Replace with graph."
ldc "LoweringPhase"
invokestatic org.graalvm.compiler.phases.common.inlining.InliningUtil.inline:(Lorg/graalvm/compiler/nodes/Invoke;Lorg/graalvm/compiler/nodes/StructuredGraph;ZLjdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/String;Ljava/lang/String;)Ljdk/internal/vm/compiler/collections/UnmodifiableEconomicMap;
pop
9: aload 2
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
iconst_4
aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.MacroNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
ldc "After inlining replacement %s"
aload 2
invokevirtual org.graalvm.compiler.debug.DebugContext.dump:(ILjava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)V
10: goto 21
11: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.graalvm.compiler.nodes.InvokeNode.bci:()I
invokestatic jdk.vm.ci.code.BytecodeFrame.isPlaceholderBci:(I)Z
ifeq 13
12: new org.graalvm.compiler.debug.GraalError
dup
ldc "%s: cannot lower to invoke with placeholder BCI: %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.MacroNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
aastore
dup
iconst_1
aload 0
aastore
invokespecial org.graalvm.compiler.debug.GraalError.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
13: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.graalvm.compiler.nodes.InvokeNode.stateAfter:()Lorg/graalvm/compiler/nodes/FrameState;
ifnonnull 20
14: aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.MacroNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.method:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
astore 4
start local 4 15: aload 4
ldc Lorg/graalvm/compiler/api/replacements/MethodSubstitution;
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
ifnonnull 16
aload 4
ldc Lorg/graalvm/compiler/api/replacements/Snippet;
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
ifnull 19
16: StackMap locals: jdk.vm.ci.meta.ResolvedJavaMethod
StackMap stack:
new org.graalvm.compiler.debug.GraalError
dup
ldc "%s macro created for call to %s in %s must be lowerable to a snippet or intrinsic graph. Maybe a macro node is not needed for this method in the current JDK?"
iconst_3
anewarray java.lang.Object
dup
iconst_0
17: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 0
getfield org.graalvm.compiler.replacements.nodes.MacroNode.targetMethod:Ljdk/vm/ci/meta/ResolvedJavaMethod;
ldc "%h.%n(%p)"
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.format:(Ljava/lang/String;)Ljava/lang/String;
aastore
dup
iconst_2
aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.MacroNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
18: aastore
invokespecial org.graalvm.compiler.debug.GraalError.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
19: StackMap locals:
StackMap stack:
new org.graalvm.compiler.debug.GraalError
dup
ldc "%s: cannot lower to invoke without state: %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.MacroNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
aastore
dup
iconst_1
aload 0
aastore
invokespecial org.graalvm.compiler.debug.GraalError.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 4 20: StackMap locals:
StackMap stack:
aload 3
aload 1
invokevirtual org.graalvm.compiler.nodes.InvokeNode.lower:(Lorg/graalvm/compiler/nodes/spi/LoweringTool;)V
21: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/graalvm/compiler/replacements/nodes/MacroNode;
0 22 1 tool Lorg/graalvm/compiler/nodes/spi/LoweringTool;
1 22 2 replacementGraph Lorg/graalvm/compiler/nodes/StructuredGraph;
2 22 3 invoke Lorg/graalvm/compiler/nodes/InvokeNode;
6 8 4 nonNullReceiver Lorg/graalvm/compiler/nodes/ValueNode;
15 20 4 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
MethodParameters:
Name Flags
tool
public org.graalvm.compiler.nodes.InvokeNode replaceWithInvoke();
descriptor: ()Lorg/graalvm/compiler/nodes/InvokeNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.MacroNode.withNodeSourcePosition:()Lorg/graalvm/compiler/debug/DebugCloseable;
astore 3
start local 3 2: aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.MacroNode.createInvoke:()Lorg/graalvm/compiler/nodes/InvokeNode;
astore 4
start local 4 3: aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.MacroNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
aload 0
aload 4
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.replaceFixedWithFixed:(Lorg/graalvm/compiler/nodes/FixedWithNextNode;Lorg/graalvm/compiler/nodes/FixedWithNextNode;)V
4: aload 4
5: aload 3
ifnull 6
aload 3
invokeinterface org.graalvm.compiler.debug.DebugCloseable.close:()V
6: StackMap locals: org.graalvm.compiler.replacements.nodes.MacroNode java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugCloseable org.graalvm.compiler.nodes.InvokeNode
StackMap stack: org.graalvm.compiler.nodes.InvokeNode
areturn
end local 4 StackMap locals: org.graalvm.compiler.replacements.nodes.MacroNode java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugCloseable
StackMap stack: java.lang.Throwable
7: astore 1
8: aload 3
ifnull 9
aload 3
invokeinterface org.graalvm.compiler.debug.DebugCloseable.close:()V
end local 3 StackMap locals:
StackMap stack:
9: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
10: astore 2
aload 1
ifnonnull 11
aload 2
astore 1
goto 12
StackMap locals:
StackMap stack:
11: aload 1
aload 2
if_acmpeq 12
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
12: aload 1
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/graalvm/compiler/replacements/nodes/MacroNode;
2 9 3 context Lorg/graalvm/compiler/debug/DebugCloseable;
3 7 4 invoke Lorg/graalvm/compiler/nodes/InvokeNode;
Exception table:
from to target type
2 5 7 any
1 6 10 any
7 10 10 any
public jdk.internal.vm.compiler.word.LocationIdentity getLocationIdentity();
descriptor: ()Ljdk/internal/vm/compiler/word/LocationIdentity;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic jdk.internal.vm.compiler.word.LocationIdentity.any:()Ljdk/internal/vm/compiler/word/LocationIdentity;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/nodes/MacroNode;
protected org.graalvm.compiler.nodes.InvokeNode createInvoke();
descriptor: ()Lorg/graalvm/compiler/nodes/InvokeNode;
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.MacroNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
new org.graalvm.compiler.nodes.java.MethodCallTargetNode
dup
aload 0
getfield org.graalvm.compiler.replacements.nodes.MacroNode.invokeKind:Lorg/graalvm/compiler/nodes/CallTargetNode$InvokeKind;
aload 0
getfield org.graalvm.compiler.replacements.nodes.MacroNode.targetMethod:Ljdk/vm/ci/meta/ResolvedJavaMethod;
aload 0
getfield org.graalvm.compiler.replacements.nodes.MacroNode.arguments:Lorg/graalvm/compiler/graph/NodeInputList;
aload 0
getfield org.graalvm.compiler.replacements.nodes.MacroNode.arguments:Lorg/graalvm/compiler/graph/NodeInputList;
invokevirtual org.graalvm.compiler.graph.NodeInputList.size:()I
anewarray org.graalvm.compiler.nodes.ValueNode
invokevirtual org.graalvm.compiler.graph.NodeInputList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.ValueNode[]
aload 0
getfield org.graalvm.compiler.replacements.nodes.MacroNode.returnStamp:Lorg/graalvm/compiler/core/common/type/StampPair;
aconst_null
invokespecial org.graalvm.compiler.nodes.java.MethodCallTargetNode.<init>:(Lorg/graalvm/compiler/nodes/CallTargetNode$InvokeKind;Ljdk/vm/ci/meta/ResolvedJavaMethod;[Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/core/common/type/StampPair;Ljdk/vm/ci/meta/JavaTypeProfile;)V
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.add:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.java.MethodCallTargetNode
astore 1
start local 1 1: aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.MacroNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
new org.graalvm.compiler.nodes.InvokeNode
dup
aload 1
aload 0
getfield org.graalvm.compiler.replacements.nodes.MacroNode.bci:I
aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.MacroNode.getLocationIdentity:()Ljdk/internal/vm/compiler/word/LocationIdentity;
invokespecial org.graalvm.compiler.nodes.InvokeNode.<init>:(Lorg/graalvm/compiler/nodes/CallTargetNode;ILjdk/internal/vm/compiler/word/LocationIdentity;)V
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.add:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.InvokeNode
astore 2
start local 2 2: aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.MacroNode.stateAfter:()Lorg/graalvm/compiler/nodes/FrameState;
ifnull 6
3: aload 2
aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.MacroNode.stateAfter:()Lorg/graalvm/compiler/nodes/FrameState;
invokevirtual org.graalvm.compiler.nodes.FrameState.duplicate:()Lorg/graalvm/compiler/nodes/FrameState;
invokevirtual org.graalvm.compiler.nodes.InvokeNode.setStateAfter:(Lorg/graalvm/compiler/nodes/FrameState;)V
4: aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.MacroNode.getStackKind:()Ljdk/vm/ci/meta/JavaKind;
getstatic jdk.vm.ci.meta.JavaKind.Void:Ljdk/vm/ci/meta/JavaKind;
if_acmpeq 6
5: aload 2
invokevirtual org.graalvm.compiler.nodes.InvokeNode.stateAfter:()Lorg/graalvm/compiler/nodes/FrameState;
aload 0
aload 2
invokevirtual org.graalvm.compiler.nodes.FrameState.replaceFirstInput:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/graph/Node;)V
6: StackMap locals: org.graalvm.compiler.nodes.java.MethodCallTargetNode org.graalvm.compiler.nodes.InvokeNode
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/replacements/nodes/MacroNode;
1 7 1 callTarget Lorg/graalvm/compiler/nodes/java/MethodCallTargetNode;
2 7 2 invoke Lorg/graalvm/compiler/nodes/InvokeNode;
}
SourceFile: "MacroNode.java"
InnerClasses:
public abstract Scope = org.graalvm.compiler.debug.DebugContext$Scope of org.graalvm.compiler.debug.DebugContext
public abstract Input = org.graalvm.compiler.graph.Node$Input of org.graalvm.compiler.graph.Node
public final InvokeKind = org.graalvm.compiler.nodes.CallTargetNode$InvokeKind of org.graalvm.compiler.nodes.CallTargetNode
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
RuntimeVisibleAnnotations:
org.graalvm.compiler.nodeinfo.NodeInfo(cycles = org.graalvm.compiler.nodeinfo.NodeCycles.CYCLES_UNKNOWN:Lorg/graalvm/compiler/nodeinfo/NodeCycles;, cyclesRationale = "If this node is not optimized away it will be lowered to a call, which we cannot estimate", size = org.graalvm.compiler.nodeinfo.NodeSize.SIZE_UNKNOWN:Lorg/graalvm/compiler/nodeinfo/NodeSize;, sizeRationale = "If this node is not optimized away it will be lowered to a call, which we cannot estimate")