public final class org.graalvm.compiler.nodes.java.ArrayLengthNode extends org.graalvm.compiler.nodes.FixedWithNextNode implements org.graalvm.compiler.graph.spi.Canonicalizable$Unary<org.graalvm.compiler.nodes.ValueNode>, org.graalvm.compiler.nodes.spi.Lowerable, org.graalvm.compiler.nodes.spi.Virtualizable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.nodes.java.ArrayLengthNode
super_class: org.graalvm.compiler.nodes.FixedWithNextNode
{
public static final org.graalvm.compiler.graph.NodeClass<org.graalvm.compiler.nodes.java.ArrayLengthNode> TYPE;
descriptor: Lorg/graalvm/compiler/graph/NodeClass;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Lorg/graalvm/compiler/graph/NodeClass<Lorg/graalvm/compiler/nodes/java/ArrayLengthNode;>;
org.graalvm.compiler.nodes.ValueNode array;
descriptor: Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0000)
RuntimeVisibleAnnotations:
org.graalvm.compiler.graph.Node$Input()
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/nodes/java/ArrayLengthNode;
invokestatic org.graalvm.compiler.graph.NodeClass.create:(Ljava/lang/Class;)Lorg/graalvm/compiler/graph/NodeClass;
putstatic org.graalvm.compiler.nodes.java.ArrayLengthNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
return
LocalVariableTable:
Start End Slot Name Signature
public org.graalvm.compiler.nodes.ValueNode array();
descriptor: ()Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.nodes.java.ArrayLengthNode.array:Lorg/graalvm/compiler/nodes/ValueNode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/nodes/java/ArrayLengthNode;
public org.graalvm.compiler.nodes.ValueNode getValue();
descriptor: ()Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.nodes.java.ArrayLengthNode.array:Lorg/graalvm/compiler/nodes/ValueNode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/nodes/java/ArrayLengthNode;
public void <init>(org.graalvm.compiler.nodes.ValueNode);
descriptor: (Lorg/graalvm/compiler/nodes/ValueNode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic org.graalvm.compiler.nodes.java.ArrayLengthNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
invokestatic org.graalvm.compiler.core.common.type.StampFactory.positiveInt:()Lorg/graalvm/compiler/core/common/type/Stamp;
invokespecial org.graalvm.compiler.nodes.FixedWithNextNode.<init>:(Lorg/graalvm/compiler/graph/NodeClass;Lorg/graalvm/compiler/core/common/type/Stamp;)V
1: aload 0
aload 1
putfield org.graalvm.compiler.nodes.java.ArrayLengthNode.array:Lorg/graalvm/compiler/nodes/ValueNode;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/nodes/java/ArrayLengthNode;
0 3 1 array Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
array
public static org.graalvm.compiler.nodes.ValueNode create(org.graalvm.compiler.nodes.ValueNode, jdk.vm.ci.meta.ConstantReflectionProvider);
descriptor: (Lorg/graalvm/compiler/nodes/ValueNode;Ljdk/vm/ci/meta/ConstantReflectionProvider;)Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
instanceof org.graalvm.compiler.nodes.java.NewArrayNode
ifeq 3
1: aload 0
checkcast org.graalvm.compiler.nodes.java.NewArrayNode
astore 2
start local 2 2: aload 2
invokevirtual org.graalvm.compiler.nodes.java.NewArrayNode.length:()Lorg/graalvm/compiler/nodes/ValueNode;
areturn
end local 2 3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic org.graalvm.compiler.nodes.java.ArrayLengthNode.readArrayLengthConstant:(Lorg/graalvm/compiler/nodes/ValueNode;Ljdk/vm/ci/meta/ConstantReflectionProvider;)Lorg/graalvm/compiler/nodes/ValueNode;
astore 2
start local 2 4: aload 2
ifnull 6
5: aload 2
areturn
6: StackMap locals: org.graalvm.compiler.nodes.ValueNode
StackMap stack:
new org.graalvm.compiler.nodes.java.ArrayLengthNode
dup
aload 0
invokespecial org.graalvm.compiler.nodes.java.ArrayLengthNode.<init>:(Lorg/graalvm/compiler/nodes/ValueNode;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 forValue Lorg/graalvm/compiler/nodes/ValueNode;
0 7 1 constantReflection Ljdk/vm/ci/meta/ConstantReflectionProvider;
2 3 2 newArray Lorg/graalvm/compiler/nodes/java/NewArrayNode;
4 7 2 length Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
forValue
constantReflection
public org.graalvm.compiler.nodes.ValueNode canonical(org.graalvm.compiler.graph.spi.CanonicalizerTool, org.graalvm.compiler.nodes.ValueNode);
descriptor: (Lorg/graalvm/compiler/graph/spi/CanonicalizerTool;Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 1
invokeinterface org.graalvm.compiler.graph.spi.CanonicalizerTool.getConstantReflection:()Ljdk/vm/ci/meta/ConstantReflectionProvider;
invokestatic org.graalvm.compiler.nodes.java.ArrayLengthNode.readArrayLength:(Lorg/graalvm/compiler/nodes/ValueNode;Ljdk/vm/ci/meta/ConstantReflectionProvider;)Lorg/graalvm/compiler/nodes/ValueNode;
astore 3
start local 3 1: aload 3
ifnull 3
2: aload 3
areturn
3: StackMap locals: org.graalvm.compiler.nodes.ValueNode
StackMap stack:
aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/nodes/java/ArrayLengthNode;
0 4 1 tool Lorg/graalvm/compiler/graph/spi/CanonicalizerTool;
0 4 2 forValue Lorg/graalvm/compiler/nodes/ValueNode;
1 4 3 length Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
tool
forValue
private static org.graalvm.compiler.nodes.ValueNode reproxyValue(org.graalvm.compiler.nodes.ValueNode, org.graalvm.compiler.nodes.ValueNode);
descriptor: (Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
ifeq 2
1: aload 1
areturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof org.graalvm.compiler.nodes.ValueProxyNode
ifeq 5
3: aload 0
checkcast org.graalvm.compiler.nodes.ValueProxyNode
astore 2
start local 2 4: new org.graalvm.compiler.nodes.ValueProxyNode
dup
aload 2
invokevirtual org.graalvm.compiler.nodes.ValueProxyNode.getOriginalNode:()Lorg/graalvm/compiler/nodes/ValueNode;
aload 1
invokestatic org.graalvm.compiler.nodes.java.ArrayLengthNode.reproxyValue:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
aload 2
invokevirtual org.graalvm.compiler.nodes.ValueProxyNode.proxyPoint:()Lorg/graalvm/compiler/nodes/LoopExitNode;
invokespecial org.graalvm.compiler.nodes.ValueProxyNode.<init>:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/LoopExitNode;)V
areturn
end local 2 5: StackMap locals:
StackMap stack:
aload 0
instanceof org.graalvm.compiler.nodes.spi.ValueProxy
ifeq 8
6: aload 0
checkcast org.graalvm.compiler.nodes.spi.ValueProxy
astore 2
start local 2 7: aload 2
invokeinterface org.graalvm.compiler.nodes.spi.ValueProxy.getOriginalNode:()Lorg/graalvm/compiler/nodes/ValueNode;
aload 1
invokestatic org.graalvm.compiler.nodes.java.ArrayLengthNode.reproxyValue:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
areturn
end local 2 8: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 originalValue Lorg/graalvm/compiler/nodes/ValueNode;
0 9 1 value Lorg/graalvm/compiler/nodes/ValueNode;
4 5 2 proxy Lorg/graalvm/compiler/nodes/ValueProxyNode;
7 8 2 proxy Lorg/graalvm/compiler/nodes/spi/ValueProxy;
MethodParameters:
Name Flags
originalValue
value
public static org.graalvm.compiler.nodes.ValueNode readArrayLength(org.graalvm.compiler.nodes.ValueNode, jdk.vm.ci.meta.ConstantReflectionProvider);
descriptor: (Lorg/graalvm/compiler/nodes/ValueNode;Ljdk/vm/ci/meta/ConstantReflectionProvider;)Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokestatic org.graalvm.compiler.nodes.util.GraphUtil.arrayLength:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 0
aload 2
invokestatic org.graalvm.compiler.nodes.java.ArrayLengthNode.reproxyValue:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
areturn
3: StackMap locals: org.graalvm.compiler.nodes.ValueNode
StackMap stack:
aload 0
aload 1
invokestatic org.graalvm.compiler.nodes.java.ArrayLengthNode.readArrayLengthConstant:(Lorg/graalvm/compiler/nodes/ValueNode;Ljdk/vm/ci/meta/ConstantReflectionProvider;)Lorg/graalvm/compiler/nodes/ValueNode;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 originalArray Lorg/graalvm/compiler/nodes/ValueNode;
0 4 1 constantReflection Ljdk/vm/ci/meta/ConstantReflectionProvider;
1 4 2 length Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
originalArray
constantReflection
private static org.graalvm.compiler.nodes.ValueNode readArrayLengthConstant(org.graalvm.compiler.nodes.ValueNode, jdk.vm.ci.meta.ConstantReflectionProvider);
descriptor: (Lorg/graalvm/compiler/nodes/ValueNode;Ljdk/vm/ci/meta/ConstantReflectionProvider;)Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokestatic org.graalvm.compiler.nodes.util.GraphUtil.unproxify:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
astore 2
start local 2 1: aload 1
ifnull 7
aload 2
invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
ifeq 7
aload 2
invokevirtual org.graalvm.compiler.nodes.ValueNode.isNullConstant:()Z
ifne 7
2: aload 2
invokevirtual org.graalvm.compiler.nodes.ValueNode.asJavaConstant:()Ljdk/vm/ci/meta/JavaConstant;
astore 3
start local 3 3: aload 3
ifnull 7
aload 3
invokeinterface jdk.vm.ci.meta.JavaConstant.isNonNull:()Z
ifeq 7
4: aload 1
aload 3
invokeinterface jdk.vm.ci.meta.ConstantReflectionProvider.readArrayLength:(Ljdk/vm/ci/meta/JavaConstant;)Ljava/lang/Integer;
astore 4
start local 4 5: aload 4
ifnull 7
6: aload 4
invokevirtual java.lang.Integer.intValue:()I
invokestatic org.graalvm.compiler.nodes.ConstantNode.forInt:(I)Lorg/graalvm/compiler/nodes/ConstantNode;
areturn
end local 4 end local 3 7: StackMap locals: org.graalvm.compiler.nodes.ValueNode
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 originalArray Lorg/graalvm/compiler/nodes/ValueNode;
0 8 1 constantReflection Ljdk/vm/ci/meta/ConstantReflectionProvider;
1 8 2 array Lorg/graalvm/compiler/nodes/ValueNode;
3 7 3 constantValue Ljdk/vm/ci/meta/JavaConstant;
5 7 4 constantLength Ljava/lang/Integer;
MethodParameters:
Name Flags
originalArray
constantReflection
public void lower(org.graalvm.compiler.nodes.spi.LoweringTool);
descriptor: (Lorg/graalvm/compiler/nodes/spi/LoweringTool;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.graalvm.compiler.nodes.spi.LoweringTool.getLowerer:()Lorg/graalvm/compiler/nodes/spi/LoweringProvider;
aload 0
aload 1
invokeinterface org.graalvm.compiler.nodes.spi.LoweringProvider.lower:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/nodes/spi/LoweringTool;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/nodes/java/ArrayLengthNode;
0 2 1 tool Lorg/graalvm/compiler/nodes/spi/LoweringTool;
MethodParameters:
Name Flags
tool
public static native int arrayLength(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
RuntimeVisibleAnnotations:
org.graalvm.compiler.graph.Node$NodeIntrinsic()
MethodParameters:
Name Flags
array
public void virtualize(org.graalvm.compiler.nodes.spi.VirtualizerTool);
descriptor: (Lorg/graalvm/compiler/nodes/spi/VirtualizerTool;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual org.graalvm.compiler.nodes.java.ArrayLengthNode.array:()Lorg/graalvm/compiler/nodes/ValueNode;
invokeinterface org.graalvm.compiler.nodes.spi.VirtualizerTool.getAlias:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
astore 2
start local 2 1: aload 2
instanceof org.graalvm.compiler.nodes.virtual.VirtualArrayNode
ifeq 4
2: aload 2
checkcast org.graalvm.compiler.nodes.virtual.VirtualArrayNode
astore 3
start local 3 3: aload 1
aload 3
invokevirtual org.graalvm.compiler.nodes.virtual.VirtualArrayNode.entryCount:()I
aload 0
invokevirtual org.graalvm.compiler.nodes.java.ArrayLengthNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
invokestatic org.graalvm.compiler.nodes.ConstantNode.forInt:(ILorg/graalvm/compiler/nodes/StructuredGraph;)Lorg/graalvm/compiler/nodes/ConstantNode;
invokeinterface org.graalvm.compiler.nodes.spi.VirtualizerTool.replaceWithValue:(Lorg/graalvm/compiler/nodes/ValueNode;)V
end local 3 4: StackMap locals: org.graalvm.compiler.nodes.ValueNode
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/nodes/java/ArrayLengthNode;
0 5 1 tool Lorg/graalvm/compiler/nodes/spi/VirtualizerTool;
1 5 2 alias Lorg/graalvm/compiler/nodes/ValueNode;
3 4 3 virtualArray Lorg/graalvm/compiler/nodes/virtual/VirtualArrayNode;
MethodParameters:
Name Flags
tool
public org.graalvm.compiler.graph.Node canonical(org.graalvm.compiler.graph.spi.CanonicalizerTool, org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/spi/CanonicalizerTool;Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
checkcast org.graalvm.compiler.nodes.ValueNode
invokevirtual org.graalvm.compiler.nodes.java.ArrayLengthNode.canonical:(Lorg/graalvm/compiler/graph/spi/CanonicalizerTool;Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
areturn
LocalVariableTable:
Start End Slot Name Signature
public org.graalvm.compiler.graph.Node getValue();
descriptor: ()Lorg/graalvm/compiler/graph/Node;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.graalvm.compiler.nodes.java.ArrayLengthNode.getValue:()Lorg/graalvm/compiler/nodes/ValueNode;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lorg/graalvm/compiler/nodes/FixedWithNextNode;Lorg/graalvm/compiler/graph/spi/Canonicalizable$Unary<Lorg/graalvm/compiler/nodes/ValueNode;>;Lorg/graalvm/compiler/nodes/spi/Lowerable;Lorg/graalvm/compiler/nodes/spi/Virtualizable;
SourceFile: "ArrayLengthNode.java"
InnerClasses:
public abstract Input = org.graalvm.compiler.graph.Node$Input of org.graalvm.compiler.graph.Node
public abstract NodeIntrinsic = org.graalvm.compiler.graph.Node$NodeIntrinsic of org.graalvm.compiler.graph.Node
public abstract Unary = org.graalvm.compiler.graph.spi.Canonicalizable$Unary of org.graalvm.compiler.graph.spi.Canonicalizable
RuntimeVisibleAnnotations:
org.graalvm.compiler.nodeinfo.NodeInfo(cycles = org.graalvm.compiler.nodeinfo.NodeCycles.CYCLES_2:Lorg/graalvm/compiler/nodeinfo/NodeCycles;, size = org.graalvm.compiler.nodeinfo.NodeSize.SIZE_1:Lorg/graalvm/compiler/nodeinfo/NodeSize;)