public final class org.graalvm.compiler.replacements.nodes.MethodHandleNode extends org.graalvm.compiler.replacements.nodes.MacroStateSplitNode implements org.graalvm.compiler.graph.spi.Simplifiable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.replacements.nodes.MethodHandleNode
super_class: org.graalvm.compiler.replacements.nodes.MacroStateSplitNode
{
public static final org.graalvm.compiler.graph.NodeClass<org.graalvm.compiler.replacements.nodes.MethodHandleNode> 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/MethodHandleNode;>;
protected final jdk.vm.ci.meta.MethodHandleAccessProvider$IntrinsicMethod intrinsicMethod;
descriptor: Ljdk/vm/ci/meta/MethodHandleAccessProvider$IntrinsicMethod;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private static volatile int[] $SWITCH_TABLE$jdk$vm$ci$meta$MethodHandleAccessProvider$IntrinsicMethod;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
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/MethodHandleNode;
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.MethodHandleNode.$assertionsDisabled:Z
3: ldc Lorg/graalvm/compiler/replacements/nodes/MethodHandleNode;
invokestatic org.graalvm.compiler.graph.NodeClass.create:(Ljava/lang/Class;)Lorg/graalvm/compiler/graph/NodeClass;
putstatic org.graalvm.compiler.replacements.nodes.MethodHandleNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(jdk.vm.ci.meta.MethodHandleAccessProvider$IntrinsicMethod, 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: (Ljdk/vm/ci/meta/MethodHandleAccessProvider$IntrinsicMethod;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: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=7, 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
getstatic org.graalvm.compiler.replacements.nodes.MethodHandleNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
aload 2
aload 3
iload 4
aload 5
aload 6
invokespecial org.graalvm.compiler.replacements.nodes.MacroStateSplitNode.<init>:(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
1: aload 0
aload 1
putfield org.graalvm.compiler.replacements.nodes.MethodHandleNode.intrinsicMethod:Ljdk/vm/ci/meta/MethodHandleAccessProvider$IntrinsicMethod;
2: 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 3 0 this Lorg/graalvm/compiler/replacements/nodes/MethodHandleNode;
0 3 1 intrinsicMethod Ljdk/vm/ci/meta/MethodHandleAccessProvider$IntrinsicMethod;
0 3 2 invokeKind Lorg/graalvm/compiler/nodes/CallTargetNode$InvokeKind;
0 3 3 targetMethod Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 3 4 bci I
0 3 5 returnStamp Lorg/graalvm/compiler/core/common/type/StampPair;
0 3 6 arguments [Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
intrinsicMethod
invokeKind
targetMethod
bci
returnStamp
arguments
public static org.graalvm.compiler.nodes.InvokeNode tryResolveTargetInvoke(org.graalvm.compiler.replacements.nodes.MethodHandleNode$GraphAdder, jdk.vm.ci.meta.MethodHandleAccessProvider, jdk.vm.ci.meta.MethodHandleAccessProvider$IntrinsicMethod, jdk.vm.ci.meta.ResolvedJavaMethod, int, org.graalvm.compiler.core.common.type.StampPair, org.graalvm.compiler.nodes.ValueNode[]);
descriptor: (Lorg/graalvm/compiler/replacements/nodes/MethodHandleNode$GraphAdder;Ljdk/vm/ci/meta/MethodHandleAccessProvider;Ljdk/vm/ci/meta/MethodHandleAccessProvider$IntrinsicMethod;Ljdk/vm/ci/meta/ResolvedJavaMethod;ILorg/graalvm/compiler/core/common/type/StampPair;[Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/InvokeNode;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=7, 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: invokestatic org.graalvm.compiler.replacements.nodes.MethodHandleNode.$SWITCH_TABLE$jdk$vm$ci$meta$MethodHandleAccessProvider$IntrinsicMethod:()[I
aload 2
invokevirtual jdk.vm.ci.meta.MethodHandleAccessProvider$IntrinsicMethod.ordinal:()I
iaload
tableswitch { // 1 - 5
1: 1
2: 2
3: 2
4: 2
5: 2
default: 3
}
1: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 1
aload 3
iload 4
aload 5
aload 6
invokestatic org.graalvm.compiler.replacements.nodes.MethodHandleNode.getInvokeBasicTarget:(Lorg/graalvm/compiler/replacements/nodes/MethodHandleNode$GraphAdder;Ljdk/vm/ci/meta/MethodHandleAccessProvider$IntrinsicMethod;Ljdk/vm/ci/meta/MethodHandleAccessProvider;Ljdk/vm/ci/meta/ResolvedJavaMethod;ILorg/graalvm/compiler/core/common/type/StampPair;[Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/InvokeNode;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 1
aload 3
iload 4
aload 5
aload 6
invokestatic org.graalvm.compiler.replacements.nodes.MethodHandleNode.getLinkToTarget:(Lorg/graalvm/compiler/replacements/nodes/MethodHandleNode$GraphAdder;Ljdk/vm/ci/meta/MethodHandleAccessProvider$IntrinsicMethod;Ljdk/vm/ci/meta/MethodHandleAccessProvider;Ljdk/vm/ci/meta/ResolvedJavaMethod;ILorg/graalvm/compiler/core/common/type/StampPair;[Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/InvokeNode;
areturn
3: StackMap locals:
StackMap stack:
invokestatic org.graalvm.compiler.debug.GraalError.shouldNotReachHere:()Ljava/lang/RuntimeException;
athrow
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 4 0 adder Lorg/graalvm/compiler/replacements/nodes/MethodHandleNode$GraphAdder;
0 4 1 methodHandleAccess Ljdk/vm/ci/meta/MethodHandleAccessProvider;
0 4 2 intrinsicMethod Ljdk/vm/ci/meta/MethodHandleAccessProvider$IntrinsicMethod;
0 4 3 original Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 4 4 bci I
0 4 5 returnStamp Lorg/graalvm/compiler/core/common/type/StampPair;
0 4 6 arguments [Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
adder
methodHandleAccess
intrinsicMethod
original
bci
returnStamp
arguments
public void simplify(org.graalvm.compiler.graph.spi.SimplifierTool);
descriptor: (Lorg/graalvm/compiler/graph/spi/SimplifierTool;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=8, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.graalvm.compiler.graph.spi.SimplifierTool.getConstantReflection:()Ljdk/vm/ci/meta/ConstantReflectionProvider;
invokeinterface jdk.vm.ci.meta.ConstantReflectionProvider.getMethodHandleAccess:()Ljdk/vm/ci/meta/MethodHandleAccessProvider;
astore 2
start local 2 1: aload 0
getfield org.graalvm.compiler.replacements.nodes.MethodHandleNode.arguments:Lorg/graalvm/compiler/graph/NodeInputList;
aload 0
getfield org.graalvm.compiler.replacements.nodes.MethodHandleNode.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[]
astore 3
start local 3 2: aload 0
astore 4
start local 4 3: new org.graalvm.compiler.replacements.nodes.MethodHandleNode$1
dup
aload 0
aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.MethodHandleNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
aload 4
invokespecial org.graalvm.compiler.replacements.nodes.MethodHandleNode$1.<init>:(Lorg/graalvm/compiler/replacements/nodes/MethodHandleNode;Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/FixedNode;)V
astore 5
start local 5 4: aload 5
aload 2
aload 0
getfield org.graalvm.compiler.replacements.nodes.MethodHandleNode.intrinsicMethod:Ljdk/vm/ci/meta/MethodHandleAccessProvider$IntrinsicMethod;
aload 0
getfield org.graalvm.compiler.replacements.nodes.MethodHandleNode.targetMethod:Ljdk/vm/ci/meta/ResolvedJavaMethod;
aload 0
getfield org.graalvm.compiler.replacements.nodes.MethodHandleNode.bci:I
aload 0
getfield org.graalvm.compiler.replacements.nodes.MethodHandleNode.returnStamp:Lorg/graalvm/compiler/core/common/type/StampPair;
aload 3
invokestatic org.graalvm.compiler.replacements.nodes.MethodHandleNode.tryResolveTargetInvoke:(Lorg/graalvm/compiler/replacements/nodes/MethodHandleNode$GraphAdder;Ljdk/vm/ci/meta/MethodHandleAccessProvider;Ljdk/vm/ci/meta/MethodHandleAccessProvider$IntrinsicMethod;Ljdk/vm/ci/meta/ResolvedJavaMethod;ILorg/graalvm/compiler/core/common/type/StampPair;[Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/InvokeNode;
astore 6
start local 6 5: aload 6
ifnull 13
6: getstatic org.graalvm.compiler.replacements.nodes.MethodHandleNode.$assertionsDisabled:Z
ifne 7
aload 6
invokevirtual org.graalvm.compiler.nodes.InvokeNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
ifnull 7
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
7: StackMap locals: org.graalvm.compiler.replacements.nodes.MethodHandleNode org.graalvm.compiler.graph.spi.SimplifierTool jdk.vm.ci.meta.MethodHandleAccessProvider org.graalvm.compiler.nodes.ValueNode[] org.graalvm.compiler.nodes.FixedNode org.graalvm.compiler.replacements.nodes.MethodHandleNode$GraphAdder org.graalvm.compiler.nodes.InvokeNode
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.MethodHandleNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
aload 6
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.addOrUniqueWithInputs:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.InvokeNode
astore 6
8: aload 6
aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.MethodHandleNode.stateAfter:()Lorg/graalvm/compiler/nodes/FrameState;
invokevirtual org.graalvm.compiler.nodes.InvokeNode.setStateAfter:(Lorg/graalvm/compiler/nodes/FrameState;)V
9: aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.MethodHandleNode.next:()Lorg/graalvm/compiler/nodes/FixedNode;
astore 7
start local 7 10: aload 0
aload 6
invokevirtual org.graalvm.compiler.replacements.nodes.MethodHandleNode.replaceAtUsages:(Lorg/graalvm/compiler/graph/Node;)V
11: aload 0
invokestatic org.graalvm.compiler.nodes.util.GraphUtil.removeFixedWithUnusedInputs:(Lorg/graalvm/compiler/nodes/FixedWithNextNode;)V
12: aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.MethodHandleNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
aload 7
aload 6
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.addBeforeFixed:(Lorg/graalvm/compiler/nodes/FixedNode;Lorg/graalvm/compiler/nodes/FixedWithNextNode;)V
end local 7 13: StackMap locals:
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 14 0 this Lorg/graalvm/compiler/replacements/nodes/MethodHandleNode;
0 14 1 tool Lorg/graalvm/compiler/graph/spi/SimplifierTool;
1 14 2 methodHandleAccess Ljdk/vm/ci/meta/MethodHandleAccessProvider;
2 14 3 argumentsArray [Lorg/graalvm/compiler/nodes/ValueNode;
3 14 4 before Lorg/graalvm/compiler/nodes/FixedNode;
4 14 5 adder Lorg/graalvm/compiler/replacements/nodes/MethodHandleNode$GraphAdder;
5 14 6 invoke Lorg/graalvm/compiler/nodes/InvokeNode;
10 13 7 currentNext Lorg/graalvm/compiler/nodes/FixedNode;
MethodParameters:
Name Flags
tool
private static org.graalvm.compiler.nodes.ValueNode getReceiver(org.graalvm.compiler.nodes.ValueNode[]);
descriptor: ([Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
aaload
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 arguments [Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
arguments
private static org.graalvm.compiler.nodes.ValueNode getMemberName(org.graalvm.compiler.nodes.ValueNode[]);
descriptor: ([Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
arraylength
iconst_1
isub
aaload
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 arguments [Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
arguments
private static org.graalvm.compiler.nodes.InvokeNode getInvokeBasicTarget(org.graalvm.compiler.replacements.nodes.MethodHandleNode$GraphAdder, jdk.vm.ci.meta.MethodHandleAccessProvider$IntrinsicMethod, jdk.vm.ci.meta.MethodHandleAccessProvider, jdk.vm.ci.meta.ResolvedJavaMethod, int, org.graalvm.compiler.core.common.type.StampPair, org.graalvm.compiler.nodes.ValueNode[]);
descriptor: (Lorg/graalvm/compiler/replacements/nodes/MethodHandleNode$GraphAdder;Ljdk/vm/ci/meta/MethodHandleAccessProvider$IntrinsicMethod;Ljdk/vm/ci/meta/MethodHandleAccessProvider;Ljdk/vm/ci/meta/ResolvedJavaMethod;ILorg/graalvm/compiler/core/common/type/StampPair;[Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/InvokeNode;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=8, locals=8, 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 6
invokestatic org.graalvm.compiler.replacements.nodes.MethodHandleNode.getReceiver:([Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
astore 7
start local 7 1: aload 7
invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
ifeq 3
2: aload 0
aload 1
iload 4
aload 5
aload 6
aload 2
aload 7
invokevirtual org.graalvm.compiler.nodes.ValueNode.asJavaConstant:()Ljdk/vm/ci/meta/JavaConstant;
iconst_1
invokeinterface jdk.vm.ci.meta.MethodHandleAccessProvider.resolveInvokeBasicTarget:(Ljdk/vm/ci/meta/JavaConstant;Z)Ljdk/vm/ci/meta/ResolvedJavaMethod;
aload 3
invokestatic org.graalvm.compiler.replacements.nodes.MethodHandleNode.getTargetInvokeNode:(Lorg/graalvm/compiler/replacements/nodes/MethodHandleNode$GraphAdder;Ljdk/vm/ci/meta/MethodHandleAccessProvider$IntrinsicMethod;ILorg/graalvm/compiler/core/common/type/StampPair;[Lorg/graalvm/compiler/nodes/ValueNode;Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljdk/vm/ci/meta/ResolvedJavaMethod;)Lorg/graalvm/compiler/nodes/InvokeNode;
areturn
3: StackMap locals: org.graalvm.compiler.nodes.ValueNode
StackMap stack:
aconst_null
areturn
end local 7 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 4 0 adder Lorg/graalvm/compiler/replacements/nodes/MethodHandleNode$GraphAdder;
0 4 1 intrinsicMethod Ljdk/vm/ci/meta/MethodHandleAccessProvider$IntrinsicMethod;
0 4 2 methodHandleAccess Ljdk/vm/ci/meta/MethodHandleAccessProvider;
0 4 3 original Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 4 4 bci I
0 4 5 returnStamp Lorg/graalvm/compiler/core/common/type/StampPair;
0 4 6 arguments [Lorg/graalvm/compiler/nodes/ValueNode;
1 4 7 methodHandleNode Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
adder
intrinsicMethod
methodHandleAccess
original
bci
returnStamp
arguments
private static org.graalvm.compiler.nodes.InvokeNode getLinkToTarget(org.graalvm.compiler.replacements.nodes.MethodHandleNode$GraphAdder, jdk.vm.ci.meta.MethodHandleAccessProvider$IntrinsicMethod, jdk.vm.ci.meta.MethodHandleAccessProvider, jdk.vm.ci.meta.ResolvedJavaMethod, int, org.graalvm.compiler.core.common.type.StampPair, org.graalvm.compiler.nodes.ValueNode[]);
descriptor: (Lorg/graalvm/compiler/replacements/nodes/MethodHandleNode$GraphAdder;Ljdk/vm/ci/meta/MethodHandleAccessProvider$IntrinsicMethod;Ljdk/vm/ci/meta/MethodHandleAccessProvider;Ljdk/vm/ci/meta/ResolvedJavaMethod;ILorg/graalvm/compiler/core/common/type/StampPair;[Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/InvokeNode;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=8, 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 6
invokestatic org.graalvm.compiler.replacements.nodes.MethodHandleNode.getMemberName:([Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
astore 7
start local 7 1: aload 7
invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
ifeq 3
2: aload 0
aload 1
iload 4
aload 5
aload 6
aload 2
aload 7
invokevirtual org.graalvm.compiler.nodes.ValueNode.asJavaConstant:()Ljdk/vm/ci/meta/JavaConstant;
invokeinterface jdk.vm.ci.meta.MethodHandleAccessProvider.resolveLinkToTarget:(Ljdk/vm/ci/meta/JavaConstant;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
aload 3
invokestatic org.graalvm.compiler.replacements.nodes.MethodHandleNode.getTargetInvokeNode:(Lorg/graalvm/compiler/replacements/nodes/MethodHandleNode$GraphAdder;Ljdk/vm/ci/meta/MethodHandleAccessProvider$IntrinsicMethod;ILorg/graalvm/compiler/core/common/type/StampPair;[Lorg/graalvm/compiler/nodes/ValueNode;Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljdk/vm/ci/meta/ResolvedJavaMethod;)Lorg/graalvm/compiler/nodes/InvokeNode;
areturn
3: StackMap locals: org.graalvm.compiler.nodes.ValueNode
StackMap stack:
aconst_null
areturn
end local 7 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 4 0 adder Lorg/graalvm/compiler/replacements/nodes/MethodHandleNode$GraphAdder;
0 4 1 intrinsicMethod Ljdk/vm/ci/meta/MethodHandleAccessProvider$IntrinsicMethod;
0 4 2 methodHandleAccess Ljdk/vm/ci/meta/MethodHandleAccessProvider;
0 4 3 original Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 4 4 bci I
0 4 5 returnStamp Lorg/graalvm/compiler/core/common/type/StampPair;
0 4 6 arguments [Lorg/graalvm/compiler/nodes/ValueNode;
1 4 7 memberNameNode Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
adder
intrinsicMethod
methodHandleAccess
original
bci
returnStamp
arguments
private static org.graalvm.compiler.nodes.InvokeNode getTargetInvokeNode(org.graalvm.compiler.replacements.nodes.MethodHandleNode$GraphAdder, jdk.vm.ci.meta.MethodHandleAccessProvider$IntrinsicMethod, int, org.graalvm.compiler.core.common.type.StampPair, org.graalvm.compiler.nodes.ValueNode[], jdk.vm.ci.meta.ResolvedJavaMethod, jdk.vm.ci.meta.ResolvedJavaMethod);
descriptor: (Lorg/graalvm/compiler/replacements/nodes/MethodHandleNode$GraphAdder;Ljdk/vm/ci/meta/MethodHandleAccessProvider$IntrinsicMethod;ILorg/graalvm/compiler/core/common/type/StampPair;[Lorg/graalvm/compiler/nodes/ValueNode;Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljdk/vm/ci/meta/ResolvedJavaMethod;)Lorg/graalvm/compiler/nodes/InvokeNode;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=16, 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 5
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 5
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getSignature:()Ljdk/vm/ci/meta/Signature;
astore 7
start local 7 3: aload 5
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.isStatic:()Z
istore 8
start local 8 4: iload 8
ifeq 5
iconst_0
goto 6
StackMap locals: jdk.vm.ci.meta.Signature int
StackMap stack:
5: iconst_1
StackMap locals:
StackMap stack: int
6: istore 9
start local 9 7: aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.MethodHandleNode$GraphAdder.getAssumptions:()Ljdk/vm/ci/meta/Assumptions;
astore 10
start local 10 8: aconst_null
astore 11
start local 11 9: aload 5
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.canBeStaticallyBound:()Z
ifeq 12
10: aload 5
astore 11
11: goto 23
12: StackMap locals: int jdk.vm.ci.meta.Assumptions jdk.vm.ci.meta.ResolvedJavaMethod
StackMap stack:
aload 5
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getDeclaringClass:()Ljdk/vm/ci/meta/ResolvedJavaType;
astore 12
start local 12 13: aload 12
aload 5
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.findUniqueConcreteMethod:(Ljdk/vm/ci/meta/ResolvedJavaMethod;)Ljdk/vm/ci/meta/Assumptions$AssumptionResult;
astore 13
start local 13 14: aload 13
ifnonnull 20
15: aload 1
getstatic jdk.vm.ci.meta.MethodHandleAccessProvider$IntrinsicMethod.LINK_TO_VIRTUAL:Ljdk/vm/ci/meta/MethodHandleAccessProvider$IntrinsicMethod;
if_acmpeq 16
aload 1
getstatic jdk.vm.ci.meta.MethodHandleAccessProvider$IntrinsicMethod.LINK_TO_INTERFACE:Ljdk/vm/ci/meta/MethodHandleAccessProvider$IntrinsicMethod;
if_acmpne 20
16: StackMap locals: jdk.vm.ci.meta.ResolvedJavaType jdk.vm.ci.meta.Assumptions$AssumptionResult
StackMap stack:
aload 4
invokestatic org.graalvm.compiler.replacements.nodes.MethodHandleNode.getReceiver:([Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
astore 14
start local 14 17: aload 14
getstatic org.graalvm.compiler.nodes.NodeView.DEFAULT:Lorg/graalvm/compiler/nodes/NodeView;
invokevirtual org.graalvm.compiler.nodes.ValueNode.stamp:(Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/core/common/type/Stamp;
invokestatic org.graalvm.compiler.nodes.type.StampTool.typeReferenceOrNull:(Lorg/graalvm/compiler/core/common/type/Stamp;)Lorg/graalvm/compiler/core/common/type/TypeReference;
astore 15
start local 15 18: aload 15
ifnull 20
19: aload 15
invokevirtual org.graalvm.compiler.core.common.type.TypeReference.getType:()Ljdk/vm/ci/meta/ResolvedJavaType;
aload 5
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.findUniqueConcreteMethod:(Ljdk/vm/ci/meta/ResolvedJavaMethod;)Ljdk/vm/ci/meta/Assumptions$AssumptionResult;
astore 13
end local 15 end local 14 20: StackMap locals:
StackMap stack:
aload 13
ifnull 23
aload 13
aload 10
invokevirtual jdk.vm.ci.meta.Assumptions$AssumptionResult.canRecordTo:(Ljdk/vm/ci/meta/Assumptions;)Z
ifeq 23
21: aload 13
aload 10
invokevirtual jdk.vm.ci.meta.Assumptions$AssumptionResult.recordTo:(Ljdk/vm/ci/meta/Assumptions;)V
22: aload 13
invokevirtual jdk.vm.ci.meta.Assumptions$AssumptionResult.getResult:()Ljava/lang/Object;
checkcast jdk.vm.ci.meta.ResolvedJavaMethod
astore 11
end local 13 end local 12 23: StackMap locals:
StackMap stack:
aload 11
ifnull 37
24: aload 4
invokevirtual org.graalvm.compiler.nodes.ValueNode[].clone:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.ValueNode[]
astore 12
start local 12 25: iload 8
ifne 28
26: aload 5
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getDeclaringClass:()Ljdk/vm/ci/meta/ResolvedJavaType;
astore 13
start local 13 27: aload 0
aload 12
iconst_0
aload 13
invokestatic org.graalvm.compiler.replacements.nodes.MethodHandleNode.maybeCastArgument:(Lorg/graalvm/compiler/replacements/nodes/MethodHandleNode$GraphAdder;[Lorg/graalvm/compiler/nodes/ValueNode;ILjdk/vm/ci/meta/JavaType;)V
end local 13 28: StackMap locals: org.graalvm.compiler.nodes.ValueNode[]
StackMap stack:
iconst_0
istore 13
start local 13 29: goto 33
30: StackMap locals: int
StackMap stack:
aload 7
iload 13
aload 5
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getDeclaringClass:()Ljdk/vm/ci/meta/ResolvedJavaType;
invokeinterface jdk.vm.ci.meta.Signature.getParameterType:(ILjdk/vm/ci/meta/ResolvedJavaType;)Ljdk/vm/ci/meta/JavaType;
astore 14
start local 14 31: aload 0
aload 12
iload 9
iload 13
iadd
aload 14
invokestatic org.graalvm.compiler.replacements.nodes.MethodHandleNode.maybeCastArgument:(Lorg/graalvm/compiler/replacements/nodes/MethodHandleNode$GraphAdder;[Lorg/graalvm/compiler/nodes/ValueNode;ILjdk/vm/ci/meta/JavaType;)V
end local 14 32: iinc 13 1
StackMap locals:
StackMap stack:
33: iload 13
aload 7
iconst_0
invokeinterface jdk.vm.ci.meta.Signature.getParameterCount:(Z)I
if_icmplt 30
end local 13 34: aload 10
aload 1
aload 11
aload 6
iload 2
aload 3
aload 12
invokestatic org.graalvm.compiler.replacements.nodes.MethodHandleNode.createTargetInvokeNode:(Ljdk/vm/ci/meta/Assumptions;Ljdk/vm/ci/meta/MethodHandleAccessProvider$IntrinsicMethod;Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljdk/vm/ci/meta/ResolvedJavaMethod;ILorg/graalvm/compiler/core/common/type/StampPair;[Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/InvokeNode;
astore 13
start local 13 35: getstatic org.graalvm.compiler.replacements.nodes.MethodHandleNode.$assertionsDisabled:Z
ifne 36
aload 13
ifnonnull 36
new java.lang.AssertionError
dup
ldc "graph has been modified so this must result an invoke"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
36: StackMap locals: org.graalvm.compiler.replacements.nodes.MethodHandleNode$GraphAdder jdk.vm.ci.meta.MethodHandleAccessProvider$IntrinsicMethod int org.graalvm.compiler.core.common.type.StampPair org.graalvm.compiler.nodes.ValueNode[] jdk.vm.ci.meta.ResolvedJavaMethod jdk.vm.ci.meta.ResolvedJavaMethod jdk.vm.ci.meta.Signature int int jdk.vm.ci.meta.Assumptions jdk.vm.ci.meta.ResolvedJavaMethod org.graalvm.compiler.nodes.ValueNode[] org.graalvm.compiler.nodes.InvokeNode
StackMap stack:
aload 13
areturn
end local 13 end local 12 37: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 11 end local 10 end local 9 end local 8 end local 7 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 38 0 adder Lorg/graalvm/compiler/replacements/nodes/MethodHandleNode$GraphAdder;
0 38 1 intrinsicMethod Ljdk/vm/ci/meta/MethodHandleAccessProvider$IntrinsicMethod;
0 38 2 bci I
0 38 3 returnStamp Lorg/graalvm/compiler/core/common/type/StampPair;
0 38 4 originalArguments [Lorg/graalvm/compiler/nodes/ValueNode;
0 38 5 target Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 38 6 original Ljdk/vm/ci/meta/ResolvedJavaMethod;
3 38 7 signature Ljdk/vm/ci/meta/Signature;
4 38 8 isStatic Z
7 38 9 receiverSkip I
8 38 10 assumptions Ljdk/vm/ci/meta/Assumptions;
9 38 11 realTarget Ljdk/vm/ci/meta/ResolvedJavaMethod;
13 23 12 targetType Ljdk/vm/ci/meta/ResolvedJavaType;
14 23 13 concreteMethod Ljdk/vm/ci/meta/Assumptions$AssumptionResult<Ljdk/vm/ci/meta/ResolvedJavaMethod;>;
17 20 14 receiver Lorg/graalvm/compiler/nodes/ValueNode;
18 20 15 receiverType Lorg/graalvm/compiler/core/common/type/TypeReference;
25 37 12 arguments [Lorg/graalvm/compiler/nodes/ValueNode;
27 28 13 receiverType Ljdk/vm/ci/meta/JavaType;
29 34 13 index I
31 32 14 parameterType Ljdk/vm/ci/meta/JavaType;
35 37 13 invoke Lorg/graalvm/compiler/nodes/InvokeNode;
MethodParameters:
Name Flags
adder
intrinsicMethod
bci
returnStamp
originalArguments
target
original
private static void maybeCastArgument(org.graalvm.compiler.replacements.nodes.MethodHandleNode$GraphAdder, org.graalvm.compiler.nodes.ValueNode[], int, jdk.vm.ci.meta.JavaType);
descriptor: (Lorg/graalvm/compiler/replacements/nodes/MethodHandleNode$GraphAdder;[Lorg/graalvm/compiler/nodes/ValueNode;ILjdk/vm/ci/meta/JavaType;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=9, locals=15, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
iload 2
aaload
astore 4
start local 4 1: aload 3
instanceof jdk.vm.ci.meta.ResolvedJavaType
ifeq 24
aload 3
checkcast jdk.vm.ci.meta.ResolvedJavaType
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.isJavaLangObject:()Z
ifne 24
2: aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.MethodHandleNode$GraphAdder.getAssumptions:()Ljdk/vm/ci/meta/Assumptions;
astore 5
start local 5 3: aload 5
aload 3
checkcast jdk.vm.ci.meta.ResolvedJavaType
invokestatic org.graalvm.compiler.core.common.type.TypeReference.create:(Ljdk/vm/ci/meta/Assumptions;Ljdk/vm/ci/meta/ResolvedJavaType;)Lorg/graalvm/compiler/core/common/type/TypeReference;
astore 6
start local 6 4: aload 6
ifnull 24
aload 6
invokevirtual org.graalvm.compiler.core.common.type.TypeReference.getType:()Ljdk/vm/ci/meta/ResolvedJavaType;
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.isPrimitive:()Z
ifne 24
aload 4
invokevirtual org.graalvm.compiler.nodes.ValueNode.getStackKind:()Ljdk/vm/ci/meta/JavaKind;
invokevirtual jdk.vm.ci.meta.JavaKind.isPrimitive:()Z
ifne 24
5: aload 4
getstatic org.graalvm.compiler.nodes.NodeView.DEFAULT:Lorg/graalvm/compiler/nodes/NodeView;
invokevirtual org.graalvm.compiler.nodes.ValueNode.stamp:(Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/core/common/type/Stamp;
invokestatic org.graalvm.compiler.nodes.type.StampTool.typeOrNull:(Lorg/graalvm/compiler/core/common/type/Stamp;)Ljdk/vm/ci/meta/ResolvedJavaType;
astore 7
start local 7 6: aload 7
ifnull 7
aload 7
aload 6
invokevirtual org.graalvm.compiler.core.common.type.TypeReference.getType:()Ljdk/vm/ci/meta/ResolvedJavaType;
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.isAssignableFrom:(Ljdk/vm/ci/meta/ResolvedJavaType;)Z
ifeq 24
aload 7
aload 6
invokevirtual org.graalvm.compiler.core.common.type.TypeReference.getType:()Ljdk/vm/ci/meta/ResolvedJavaType;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 24
7: StackMap locals: org.graalvm.compiler.replacements.nodes.MethodHandleNode$GraphAdder org.graalvm.compiler.nodes.ValueNode[] int jdk.vm.ci.meta.JavaType org.graalvm.compiler.nodes.ValueNode jdk.vm.ci.meta.Assumptions org.graalvm.compiler.core.common.type.TypeReference jdk.vm.ci.meta.ResolvedJavaType
StackMap stack:
aload 6
aload 4
aconst_null
aconst_null
invokestatic org.graalvm.compiler.nodes.java.InstanceOfNode.createAllowNull:(Lorg/graalvm/compiler/core/common/type/TypeReference;Lorg/graalvm/compiler/nodes/ValueNode;Ljdk/vm/ci/meta/JavaTypeProfile;Lorg/graalvm/compiler/nodes/extended/AnchoringNode;)Lorg/graalvm/compiler/nodes/LogicNode;
astore 8
start local 8 8: getstatic org.graalvm.compiler.replacements.nodes.MethodHandleNode.$assertionsDisabled:Z
ifne 9
aload 8
invokevirtual org.graalvm.compiler.nodes.LogicNode.isAlive:()Z
ifeq 9
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
9: StackMap locals: org.graalvm.compiler.nodes.LogicNode
StackMap stack:
aload 8
invokevirtual org.graalvm.compiler.nodes.LogicNode.isTautology:()Z
ifne 24
10: aload 0
aload 8
invokevirtual org.graalvm.compiler.replacements.nodes.MethodHandleNode$GraphAdder.add:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
checkcast org.graalvm.compiler.nodes.LogicNode
astore 8
11: aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.MethodHandleNode$GraphAdder.getGuardAnchor:()Lorg/graalvm/compiler/nodes/extended/AnchoringNode;
astore 9
start local 9 12: getstatic jdk.vm.ci.meta.DeoptimizationReason.ClassCastException:Ljdk/vm/ci/meta/DeoptimizationReason;
astore 10
start local 10 13: getstatic jdk.vm.ci.meta.DeoptimizationAction.InvalidateRecompile:Ljdk/vm/ci/meta/DeoptimizationAction;
astore 11
start local 11 14: getstatic jdk.vm.ci.meta.JavaConstant.NULL_POINTER:Ljdk/vm/ci/meta/JavaConstant;
astore 12
start local 12 15: aload 9
ifnonnull 19
16: aload 0
new org.graalvm.compiler.nodes.FixedGuardNode
dup
aload 8
aload 10
aload 11
aload 12
iconst_0
invokespecial org.graalvm.compiler.nodes.FixedGuardNode.<init>:(Lorg/graalvm/compiler/nodes/LogicNode;Ljdk/vm/ci/meta/DeoptimizationReason;Ljdk/vm/ci/meta/DeoptimizationAction;Ljdk/vm/ci/meta/JavaConstant;Z)V
invokevirtual org.graalvm.compiler.replacements.nodes.MethodHandleNode$GraphAdder.add:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
checkcast org.graalvm.compiler.nodes.FixedGuardNode
astore 14
start local 14 17: aload 14
astore 13
end local 14 start local 13 18: goto 22
end local 13 19: StackMap locals: org.graalvm.compiler.replacements.nodes.MethodHandleNode$GraphAdder org.graalvm.compiler.nodes.ValueNode[] int jdk.vm.ci.meta.JavaType org.graalvm.compiler.nodes.ValueNode jdk.vm.ci.meta.Assumptions org.graalvm.compiler.core.common.type.TypeReference jdk.vm.ci.meta.ResolvedJavaType org.graalvm.compiler.nodes.LogicNode org.graalvm.compiler.nodes.extended.AnchoringNode jdk.vm.ci.meta.DeoptimizationReason jdk.vm.ci.meta.DeoptimizationAction jdk.vm.ci.meta.JavaConstant
StackMap stack:
aload 0
new org.graalvm.compiler.nodes.GuardNode
dup
aload 8
aload 9
aload 10
aload 11
iconst_0
aload 12
invokespecial org.graalvm.compiler.nodes.GuardNode.<init>:(Lorg/graalvm/compiler/nodes/LogicNode;Lorg/graalvm/compiler/nodes/extended/AnchoringNode;Ljdk/vm/ci/meta/DeoptimizationReason;Ljdk/vm/ci/meta/DeoptimizationAction;ZLjdk/vm/ci/meta/JavaConstant;)V
invokevirtual org.graalvm.compiler.replacements.nodes.MethodHandleNode$GraphAdder.add:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
checkcast org.graalvm.compiler.nodes.GuardNode
astore 14
start local 14 20: aload 0
new org.graalvm.compiler.nodes.extended.ValueAnchorNode
dup
aload 14
invokespecial org.graalvm.compiler.nodes.extended.ValueAnchorNode.<init>:(Lorg/graalvm/compiler/nodes/ValueNode;)V
invokevirtual org.graalvm.compiler.replacements.nodes.MethodHandleNode$GraphAdder.add:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
pop
21: aload 14
astore 13
end local 14 start local 13 22: StackMap locals: org.graalvm.compiler.nodes.extended.GuardingNode
StackMap stack:
aload 0
aload 4
aload 6
invokestatic org.graalvm.compiler.core.common.type.StampFactory.object:(Lorg/graalvm/compiler/core/common/type/TypeReference;)Lorg/graalvm/compiler/core/common/type/ObjectStamp;
aload 13
invokeinterface org.graalvm.compiler.nodes.extended.GuardingNode.asNode:()Lorg/graalvm/compiler/nodes/ValueNode;
invokestatic org.graalvm.compiler.nodes.PiNode.create:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/core/common/type/Stamp;Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.replacements.nodes.MethodHandleNode$GraphAdder.add:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
astore 14
start local 14 23: aload 1
iload 2
aload 14
aastore
end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 24: StackMap locals: org.graalvm.compiler.replacements.nodes.MethodHandleNode$GraphAdder org.graalvm.compiler.nodes.ValueNode[] int jdk.vm.ci.meta.JavaType org.graalvm.compiler.nodes.ValueNode
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 25 0 adder Lorg/graalvm/compiler/replacements/nodes/MethodHandleNode$GraphAdder;
0 25 1 arguments [Lorg/graalvm/compiler/nodes/ValueNode;
0 25 2 index I
0 25 3 type Ljdk/vm/ci/meta/JavaType;
1 25 4 argument Lorg/graalvm/compiler/nodes/ValueNode;
3 24 5 assumptions Ljdk/vm/ci/meta/Assumptions;
4 24 6 targetType Lorg/graalvm/compiler/core/common/type/TypeReference;
6 24 7 argumentType Ljdk/vm/ci/meta/ResolvedJavaType;
8 24 8 inst Lorg/graalvm/compiler/nodes/LogicNode;
12 24 9 guardAnchor Lorg/graalvm/compiler/nodes/extended/AnchoringNode;
13 24 10 reason Ljdk/vm/ci/meta/DeoptimizationReason;
14 24 11 action Ljdk/vm/ci/meta/DeoptimizationAction;
15 24 12 speculation Ljdk/vm/ci/meta/JavaConstant;
18 19 13 guard Lorg/graalvm/compiler/nodes/extended/GuardingNode;
22 24 13 guard Lorg/graalvm/compiler/nodes/extended/GuardingNode;
17 18 14 fixedGuard Lorg/graalvm/compiler/nodes/FixedGuardNode;
20 22 14 newGuard Lorg/graalvm/compiler/nodes/GuardNode;
23 24 14 valueNode Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
adder
arguments
index
type
private static org.graalvm.compiler.nodes.InvokeNode createTargetInvokeNode(jdk.vm.ci.meta.Assumptions, jdk.vm.ci.meta.MethodHandleAccessProvider$IntrinsicMethod, jdk.vm.ci.meta.ResolvedJavaMethod, jdk.vm.ci.meta.ResolvedJavaMethod, int, org.graalvm.compiler.core.common.type.StampPair, org.graalvm.compiler.nodes.ValueNode[]);
descriptor: (Ljdk/vm/ci/meta/Assumptions;Ljdk/vm/ci/meta/MethodHandleAccessProvider$IntrinsicMethod;Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljdk/vm/ci/meta/ResolvedJavaMethod;ILorg/graalvm/compiler/core/common/type/StampPair;[Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/InvokeNode;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=12, 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 2
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.isStatic:()Z
ifeq 1
getstatic org.graalvm.compiler.nodes.CallTargetNode$InvokeKind.Static:Lorg/graalvm/compiler/nodes/CallTargetNode$InvokeKind;
goto 2
StackMap locals:
StackMap stack:
1: getstatic org.graalvm.compiler.nodes.CallTargetNode$InvokeKind.Special:Lorg/graalvm/compiler/nodes/CallTargetNode$InvokeKind;
StackMap locals:
StackMap stack: org.graalvm.compiler.nodes.CallTargetNode$InvokeKind
2: astore 7
start local 7 3: aload 2
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getSignature:()Ljdk/vm/ci/meta/Signature;
aconst_null
invokeinterface jdk.vm.ci.meta.Signature.getReturnType:(Ljdk/vm/ci/meta/ResolvedJavaType;)Ljdk/vm/ci/meta/JavaType;
astore 8
start local 8 4: invokestatic org.graalvm.compiler.replacements.nodes.MethodHandleNode.$SWITCH_TABLE$jdk$vm$ci$meta$MethodHandleAccessProvider$IntrinsicMethod:()[I
aload 1
invokevirtual jdk.vm.ci.meta.MethodHandleAccessProvider$IntrinsicMethod.ordinal:()I
iaload
tableswitch { // 1 - 5
1: 5
2: 7
3: 7
4: 7
5: 7
default: 9
}
5: StackMap locals: org.graalvm.compiler.nodes.CallTargetNode$InvokeKind jdk.vm.ci.meta.JavaType
StackMap stack:
aload 6
astore 9
start local 9 6: goto 10
end local 9 7: StackMap locals:
StackMap stack:
aload 6
iconst_0
aload 6
arraylength
iconst_1
isub
invokestatic java.util.Arrays.copyOfRange:([Ljava/lang/Object;II)[Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.ValueNode[]
astore 9
start local 9 8: goto 10
end local 9 9: StackMap locals:
StackMap stack:
invokestatic org.graalvm.compiler.debug.GraalError.shouldNotReachHere:()Ljava/lang/RuntimeException;
athrow
start local 9 10: StackMap locals: org.graalvm.compiler.nodes.ValueNode[]
StackMap stack:
aload 0
aload 8
iconst_0
invokestatic org.graalvm.compiler.core.common.type.StampFactory.forDeclaredType:(Ljdk/vm/ci/meta/Assumptions;Ljdk/vm/ci/meta/JavaType;Z)Lorg/graalvm/compiler/core/common/type/StampPair;
astore 10
start local 10 11: aload 7
aload 2
aload 9
aload 10
aload 3
aload 6
aload 5
invokestatic org.graalvm.compiler.replacements.nodes.ResolvedMethodHandleCallTargetNode.create:(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/ResolvedJavaMethod;[Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/core/common/type/StampPair;)Lorg/graalvm/compiler/nodes/java/MethodCallTargetNode;
astore 11
start local 11 12: aload 5
invokevirtual org.graalvm.compiler.core.common.type.StampPair.getTrustedStamp:()Lorg/graalvm/compiler/core/common/type/Stamp;
invokevirtual org.graalvm.compiler.core.common.type.Stamp.getStackKind:()Ljdk/vm/ci/meta/JavaKind;
getstatic jdk.vm.ci.meta.JavaKind.Void:Ljdk/vm/ci/meta/JavaKind;
if_acmpne 14
13: new org.graalvm.compiler.nodes.InvokeNode
dup
aload 11
iload 4
invokestatic org.graalvm.compiler.core.common.type.StampFactory.forVoid:()Lorg/graalvm/compiler/core/common/type/Stamp;
invokespecial org.graalvm.compiler.nodes.InvokeNode.<init>:(Lorg/graalvm/compiler/nodes/CallTargetNode;ILorg/graalvm/compiler/core/common/type/Stamp;)V
areturn
14: StackMap locals: org.graalvm.compiler.core.common.type.StampPair org.graalvm.compiler.nodes.java.MethodCallTargetNode
StackMap stack:
new org.graalvm.compiler.nodes.InvokeNode
dup
aload 11
iload 4
invokespecial org.graalvm.compiler.nodes.InvokeNode.<init>:(Lorg/graalvm/compiler/nodes/CallTargetNode;I)V
areturn
end local 11 end local 10 end local 9 end local 8 end local 7 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 15 0 assumptions Ljdk/vm/ci/meta/Assumptions;
0 15 1 intrinsicMethod Ljdk/vm/ci/meta/MethodHandleAccessProvider$IntrinsicMethod;
0 15 2 target Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 15 3 original Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 15 4 bci I
0 15 5 returnStamp Lorg/graalvm/compiler/core/common/type/StampPair;
0 15 6 arguments [Lorg/graalvm/compiler/nodes/ValueNode;
3 15 7 targetInvokeKind Lorg/graalvm/compiler/nodes/CallTargetNode$InvokeKind;
4 15 8 targetReturnType Ljdk/vm/ci/meta/JavaType;
6 7 9 targetArguments [Lorg/graalvm/compiler/nodes/ValueNode;
8 9 9 targetArguments [Lorg/graalvm/compiler/nodes/ValueNode;
10 15 9 targetArguments [Lorg/graalvm/compiler/nodes/ValueNode;
11 15 10 targetReturnStamp Lorg/graalvm/compiler/core/common/type/StampPair;
12 15 11 callTarget Lorg/graalvm/compiler/nodes/java/MethodCallTargetNode;
MethodParameters:
Name Flags
assumptions
intrinsicMethod
target
original
bci
returnStamp
arguments
static int[] $SWITCH_TABLE$jdk$vm$ci$meta$MethodHandleAccessProvider$IntrinsicMethod();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.graalvm.compiler.replacements.nodes.MethodHandleNode.$SWITCH_TABLE$jdk$vm$ci$meta$MethodHandleAccessProvider$IntrinsicMethod:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic jdk.vm.ci.meta.MethodHandleAccessProvider$IntrinsicMethod.values:()[Ljdk/vm/ci/meta/MethodHandleAccessProvider$IntrinsicMethod;
arraylength
newarray 10
astore 0
2: aload 0
getstatic jdk.vm.ci.meta.MethodHandleAccessProvider$IntrinsicMethod.INVOKE_BASIC:Ljdk/vm/ci/meta/MethodHandleAccessProvider$IntrinsicMethod;
invokevirtual jdk.vm.ci.meta.MethodHandleAccessProvider$IntrinsicMethod.ordinal:()I
iconst_1
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic jdk.vm.ci.meta.MethodHandleAccessProvider$IntrinsicMethod.LINK_TO_INTERFACE:Ljdk/vm/ci/meta/MethodHandleAccessProvider$IntrinsicMethod;
invokevirtual jdk.vm.ci.meta.MethodHandleAccessProvider$IntrinsicMethod.ordinal:()I
iconst_5
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic jdk.vm.ci.meta.MethodHandleAccessProvider$IntrinsicMethod.LINK_TO_SPECIAL:Ljdk/vm/ci/meta/MethodHandleAccessProvider$IntrinsicMethod;
invokevirtual jdk.vm.ci.meta.MethodHandleAccessProvider$IntrinsicMethod.ordinal:()I
iconst_3
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic jdk.vm.ci.meta.MethodHandleAccessProvider$IntrinsicMethod.LINK_TO_STATIC:Ljdk/vm/ci/meta/MethodHandleAccessProvider$IntrinsicMethod;
invokevirtual jdk.vm.ci.meta.MethodHandleAccessProvider$IntrinsicMethod.ordinal:()I
iconst_2
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic jdk.vm.ci.meta.MethodHandleAccessProvider$IntrinsicMethod.LINK_TO_VIRTUAL:Ljdk/vm/ci/meta/MethodHandleAccessProvider$IntrinsicMethod;
invokevirtual jdk.vm.ci.meta.MethodHandleAccessProvider$IntrinsicMethod.ordinal:()I
iconst_4
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
dup
putstatic org.graalvm.compiler.replacements.nodes.MethodHandleNode.$SWITCH_TABLE$jdk$vm$ci$meta$MethodHandleAccessProvider$IntrinsicMethod:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
}
SourceFile: "MethodHandleNode.java"
NestMembers:
org.graalvm.compiler.replacements.nodes.MethodHandleNode$1 org.graalvm.compiler.replacements.nodes.MethodHandleNode$GraphAdder
InnerClasses:
public AssumptionResult = jdk.vm.ci.meta.Assumptions$AssumptionResult of jdk.vm.ci.meta.Assumptions
public final IntrinsicMethod = jdk.vm.ci.meta.MethodHandleAccessProvider$IntrinsicMethod of jdk.vm.ci.meta.MethodHandleAccessProvider
public final InvokeKind = org.graalvm.compiler.nodes.CallTargetNode$InvokeKind of org.graalvm.compiler.nodes.CallTargetNode
org.graalvm.compiler.replacements.nodes.MethodHandleNode$1
public abstract GraphAdder = org.graalvm.compiler.replacements.nodes.MethodHandleNode$GraphAdder of org.graalvm.compiler.replacements.nodes.MethodHandleNode
RuntimeVisibleAnnotations:
org.graalvm.compiler.nodeinfo.NodeInfo(cycles = org.graalvm.compiler.nodeinfo.NodeCycles.CYCLES_UNKNOWN:Lorg/graalvm/compiler/nodeinfo/NodeCycles;, size = org.graalvm.compiler.nodeinfo.NodeSize.SIZE_UNKNOWN:Lorg/graalvm/compiler/nodeinfo/NodeSize;)