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 callerMethod;
descriptor: Ljdk/vm/ci/meta/ResolvedJavaMethod;
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.replacements.nodes.MacroNode$MacroParams);
descriptor: (Lorg/graalvm/compiler/graph/NodeClass;Lorg/graalvm/compiler/replacements/nodes/MacroNode$MacroParams;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
getfield org.graalvm.compiler.replacements.nodes.MacroNode$MacroParams.returnStamp:Lorg/graalvm/compiler/core/common/type/StampPair;
ifnull 1
aload 2
getfield org.graalvm.compiler.replacements.nodes.MacroNode$MacroParams.returnStamp:Lorg/graalvm/compiler/core/common/type/StampPair;
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.replacements.nodes.MacroNode$MacroParams
StackMap stack: uninitialized-this org.graalvm.compiler.graph.NodeClass
1: aconst_null
StackMap locals: uninitialized-this org.graalvm.compiler.graph.NodeClass org.graalvm.compiler.replacements.nodes.MacroNode$MacroParams
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 2
getfield org.graalvm.compiler.replacements.nodes.MacroNode$MacroParams.targetMethod:Ljdk/vm/ci/meta/ResolvedJavaMethod;
aload 2
getfield org.graalvm.compiler.replacements.nodes.MacroNode$MacroParams.arguments:[Lorg/graalvm/compiler/nodes/ValueNode;
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 2
getfield org.graalvm.compiler.replacements.nodes.MacroNode$MacroParams.arguments:[Lorg/graalvm/compiler/nodes/ValueNode;
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
aload 2
getfield org.graalvm.compiler.replacements.nodes.MacroNode$MacroParams.bci:I
putfield org.graalvm.compiler.replacements.nodes.MacroNode.bci:I
6: aload 0
aload 2
getfield org.graalvm.compiler.replacements.nodes.MacroNode$MacroParams.callerMethod:Ljdk/vm/ci/meta/ResolvedJavaMethod;
putfield org.graalvm.compiler.replacements.nodes.MacroNode.callerMethod:Ljdk/vm/ci/meta/ResolvedJavaMethod;
7: aload 0
aload 2
getfield org.graalvm.compiler.replacements.nodes.MacroNode$MacroParams.targetMethod:Ljdk/vm/ci/meta/ResolvedJavaMethod;
putfield org.graalvm.compiler.replacements.nodes.MacroNode.targetMethod:Ljdk/vm/ci/meta/ResolvedJavaMethod;
8: aload 0
aload 2
getfield org.graalvm.compiler.replacements.nodes.MacroNode$MacroParams.returnStamp:Lorg/graalvm/compiler/core/common/type/StampPair;
putfield org.graalvm.compiler.replacements.nodes.MacroNode.returnStamp:Lorg/graalvm/compiler/core/common/type/StampPair;
9: aload 0
aload 2
getfield org.graalvm.compiler.replacements.nodes.MacroNode$MacroParams.invokeKind:Lorg/graalvm/compiler/nodes/CallTargetNode$InvokeKind;
putfield org.graalvm.compiler.replacements.nodes.MacroNode.invokeKind:Lorg/graalvm/compiler/nodes/CallTargetNode$InvokeKind;
10: getstatic org.graalvm.compiler.replacements.nodes.MacroNode.$assertionsDisabled:Z
ifne 11
aload 2
getfield org.graalvm.compiler.replacements.nodes.MacroNode$MacroParams.bci:I
invokestatic jdk.vm.ci.code.BytecodeFrame.isPlaceholderBci:(I)Z
ifeq 11
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
11: StackMap locals: org.graalvm.compiler.replacements.nodes.MacroNode org.graalvm.compiler.graph.NodeClass org.graalvm.compiler.replacements.nodes.MacroNode$MacroParams
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/graalvm/compiler/replacements/nodes/MacroNode;
0 12 1 c Lorg/graalvm/compiler/graph/NodeClass<+Lorg/graalvm/compiler/replacements/nodes/MacroNode;>;
0 12 2 p Lorg/graalvm/compiler/replacements/nodes/MacroNode$MacroParams;
Signature: (Lorg/graalvm/compiler/graph/NodeClass<+Lorg/graalvm/compiler/replacements/nodes/MacroNode;>;Lorg/graalvm/compiler/replacements/nodes/MacroNode$MacroParams;)V
MethodParameters:
Name Flags
c
p
public jdk.vm.ci.meta.ResolvedJavaMethod getContextMethod();
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.callerMethod: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 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 void setBci(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
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 bci I
MethodParameters:
Name Flags
bci
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;
public org.graalvm.compiler.nodes.CallTargetNode$InvokeKind getInvokeKind();
descriptor: ()Lorg/graalvm/compiler/nodes/CallTargetNode$InvokeKind;
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.invokeKind:Lorg/graalvm/compiler/nodes/CallTargetNode$InvokeKind;
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=4, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokeinterface org.graalvm.compiler.nodes.spi.LoweringTool.getProviders:()Lorg/graalvm/compiler/nodes/spi/CoreProviders;
astore 3
start local 3 1: aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.MacroNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.hasValueProxies:()Z
ifne 3
2: 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
3: StackMap locals: org.graalvm.compiler.nodes.spi.CoreProviders
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 4: aload 4
invokevirtual org.graalvm.compiler.nodes.StructuredGraph$GuardsStage.allowsFloatingGuards:()Z
ifne 8
5: 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
6: aload 4
invokevirtual org.graalvm.compiler.nodes.StructuredGraph$GuardsStage.areFrameStatesAtDeopts:()Z
ifeq 8
7: 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
8: 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 9: aconst_null
astore 6
aconst_null
astore 7
10: 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 11: new org.graalvm.compiler.phases.common.LoweringPhase
dup
invokestatic org.graalvm.compiler.phases.common.CanonicalizerPhase.create:()Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;
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
12: aload 8
ifnull 20
aload 8
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
goto 20
StackMap locals: org.graalvm.compiler.replacements.nodes.MacroNode org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.spi.LoweringTool org.graalvm.compiler.nodes.spi.CoreProviders 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
13: astore 6
aload 8
ifnull 14
aload 8
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
end local 8 StackMap locals:
StackMap stack:
14: aload 6
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
15: astore 7
aload 6
ifnonnull 16
aload 7
astore 6
goto 17
StackMap locals:
StackMap stack:
16: aload 6
aload 7
if_acmpeq 17
aload 6
aload 7
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
17: 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.nodes.spi.CoreProviders org.graalvm.compiler.nodes.StructuredGraph$GuardsStage org.graalvm.compiler.debug.DebugContext
StackMap stack: java.lang.Throwable
18: astore 6
start local 6 19: aload 5
aload 6
invokevirtual org.graalvm.compiler.debug.DebugContext.handle:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 6 20: 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 21 0 this Lorg/graalvm/compiler/replacements/nodes/MacroNode;
0 21 1 replacementGraph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 21 2 tool Lorg/graalvm/compiler/nodes/spi/LoweringTool;
1 21 3 c Lorg/graalvm/compiler/nodes/spi/CoreProviders;
4 21 4 guardsStage Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;
9 21 5 debug Lorg/graalvm/compiler/debug/DebugContext;
11 14 8 s Lorg/graalvm/compiler/debug/DebugContext$Scope;
19 20 6 e Ljava/lang/Throwable;
Exception table:
from to target type
11 12 13 any
10 15 15 any
9 18 18 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=7, 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 16
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 15
14: 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
15: StackMap locals:
StackMap stack:
aload 3
aload 1
invokevirtual org.graalvm.compiler.nodes.InvokeNode.lower:(Lorg/graalvm/compiler/nodes/spi/LoweringTool;)V
16: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/graalvm/compiler/replacements/nodes/MacroNode;
0 17 1 tool Lorg/graalvm/compiler/nodes/spi/LoweringTool;
1 17 2 replacementGraph Lorg/graalvm/compiler/nodes/StructuredGraph;
2 17 3 invoke Lorg/graalvm/compiler/nodes/InvokeNode;
6 8 4 nonNullReceiver Lorg/graalvm/compiler/nodes/ValueNode;
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"
NestMembers:
org.graalvm.compiler.replacements.nodes.MacroNode$MacroParams
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
public MacroParams = org.graalvm.compiler.replacements.nodes.MacroNode$MacroParams of org.graalvm.compiler.replacements.nodes.MacroNode
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")