public final class org.graalvm.compiler.word.WordCastNode extends org.graalvm.compiler.nodes.FixedWithNextNode implements org.graalvm.compiler.nodes.spi.LIRLowerable, org.graalvm.compiler.graph.spi.Canonicalizable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.word.WordCastNode
super_class: org.graalvm.compiler.nodes.FixedWithNextNode
{
public static final org.graalvm.compiler.graph.NodeClass<org.graalvm.compiler.word.WordCastNode> TYPE;
descriptor: Lorg/graalvm/compiler/graph/NodeClass;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Lorg/graalvm/compiler/graph/NodeClass<Lorg/graalvm/compiler/word/WordCastNode;>;
org.graalvm.compiler.nodes.ValueNode input;
descriptor: Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0000)
RuntimeVisibleAnnotations:
org.graalvm.compiler.graph.Node$Input()
private final boolean trackedPointer;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, 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/word/WordCastNode;
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.word.WordCastNode.$assertionsDisabled:Z
3: ldc Lorg/graalvm/compiler/word/WordCastNode;
invokestatic org.graalvm.compiler.graph.NodeClass.create:(Ljava/lang/Class;)Lorg/graalvm/compiler/graph/NodeClass;
putstatic org.graalvm.compiler.word.WordCastNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
return
LocalVariableTable:
Start End Slot Name Signature
public static org.graalvm.compiler.word.WordCastNode wordToObject(org.graalvm.compiler.nodes.ValueNode, jdk.vm.ci.meta.JavaKind);
descriptor: (Lorg/graalvm/compiler/nodes/ValueNode;Ljdk/vm/ci/meta/JavaKind;)Lorg/graalvm/compiler/word/WordCastNode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.word.WordCastNode.$assertionsDisabled:Z
ifne 1
aload 0
invokevirtual org.graalvm.compiler.nodes.ValueNode.getStackKind:()Ljdk/vm/ci/meta/JavaKind;
aload 1
if_acmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
new org.graalvm.compiler.word.WordCastNode
dup
aload 0
invokestatic org.graalvm.compiler.word.WordCastNode.objectStampFor:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/core/common/type/Stamp;
aload 0
invokespecial org.graalvm.compiler.word.WordCastNode.<init>:(Lorg/graalvm/compiler/core/common/type/Stamp;Lorg/graalvm/compiler/nodes/ValueNode;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 input Lorg/graalvm/compiler/nodes/ValueNode;
0 2 1 wordKind Ljdk/vm/ci/meta/JavaKind;
MethodParameters:
Name Flags
input
wordKind
public static org.graalvm.compiler.word.WordCastNode wordToObjectNonNull(org.graalvm.compiler.nodes.ValueNode, jdk.vm.ci.meta.JavaKind);
descriptor: (Lorg/graalvm/compiler/nodes/ValueNode;Ljdk/vm/ci/meta/JavaKind;)Lorg/graalvm/compiler/word/WordCastNode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.word.WordCastNode.$assertionsDisabled:Z
ifne 1
aload 0
invokevirtual org.graalvm.compiler.nodes.ValueNode.getStackKind:()Ljdk/vm/ci/meta/JavaKind;
aload 1
if_acmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
new org.graalvm.compiler.word.WordCastNode
dup
invokestatic org.graalvm.compiler.core.common.type.StampFactory.objectNonNull:()Lorg/graalvm/compiler/core/common/type/Stamp;
aload 0
invokespecial org.graalvm.compiler.word.WordCastNode.<init>:(Lorg/graalvm/compiler/core/common/type/Stamp;Lorg/graalvm/compiler/nodes/ValueNode;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 input Lorg/graalvm/compiler/nodes/ValueNode;
0 2 1 wordKind Ljdk/vm/ci/meta/JavaKind;
MethodParameters:
Name Flags
input
wordKind
public static org.graalvm.compiler.word.WordCastNode wordToNarrowObject(org.graalvm.compiler.nodes.ValueNode, org.graalvm.compiler.nodes.type.NarrowOopStamp);
descriptor: (Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/type/NarrowOopStamp;)Lorg/graalvm/compiler/word/WordCastNode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.graalvm.compiler.word.WordCastNode
dup
aload 1
aload 0
invokespecial org.graalvm.compiler.word.WordCastNode.<init>:(Lorg/graalvm/compiler/core/common/type/Stamp;Lorg/graalvm/compiler/nodes/ValueNode;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 input Lorg/graalvm/compiler/nodes/ValueNode;
0 1 1 stamp Lorg/graalvm/compiler/nodes/type/NarrowOopStamp;
MethodParameters:
Name Flags
input
stamp
public static org.graalvm.compiler.word.WordCastNode addressToWord(org.graalvm.compiler.nodes.ValueNode, jdk.vm.ci.meta.JavaKind);
descriptor: (Lorg/graalvm/compiler/nodes/ValueNode;Ljdk/vm/ci/meta/JavaKind;)Lorg/graalvm/compiler/word/WordCastNode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.word.WordCastNode.$assertionsDisabled:Z
ifne 1
aload 0
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;
instanceof org.graalvm.compiler.core.common.type.AbstractPointerStamp
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
new org.graalvm.compiler.word.WordCastNode
dup
aload 1
invokestatic org.graalvm.compiler.core.common.type.StampFactory.forKind:(Ljdk/vm/ci/meta/JavaKind;)Lorg/graalvm/compiler/core/common/type/Stamp;
aload 0
invokespecial org.graalvm.compiler.word.WordCastNode.<init>:(Lorg/graalvm/compiler/core/common/type/Stamp;Lorg/graalvm/compiler/nodes/ValueNode;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 input Lorg/graalvm/compiler/nodes/ValueNode;
0 2 1 wordKind Ljdk/vm/ci/meta/JavaKind;
MethodParameters:
Name Flags
input
wordKind
public static org.graalvm.compiler.word.WordCastNode objectToTrackedPointer(org.graalvm.compiler.nodes.ValueNode, jdk.vm.ci.meta.JavaKind);
descriptor: (Lorg/graalvm/compiler/nodes/ValueNode;Ljdk/vm/ci/meta/JavaKind;)Lorg/graalvm/compiler/word/WordCastNode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.word.WordCastNode.$assertionsDisabled:Z
ifne 1
aload 0
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;
instanceof org.graalvm.compiler.core.common.type.ObjectStamp
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
new org.graalvm.compiler.word.WordCastNode
dup
aload 1
invokestatic org.graalvm.compiler.core.common.type.StampFactory.forKind:(Ljdk/vm/ci/meta/JavaKind;)Lorg/graalvm/compiler/core/common/type/Stamp;
aload 0
invokespecial org.graalvm.compiler.word.WordCastNode.<init>:(Lorg/graalvm/compiler/core/common/type/Stamp;Lorg/graalvm/compiler/nodes/ValueNode;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 input Lorg/graalvm/compiler/nodes/ValueNode;
0 2 1 wordKind Ljdk/vm/ci/meta/JavaKind;
MethodParameters:
Name Flags
input
wordKind
public static org.graalvm.compiler.word.WordCastNode objectToUntrackedPointer(org.graalvm.compiler.nodes.ValueNode, jdk.vm.ci.meta.JavaKind);
descriptor: (Lorg/graalvm/compiler/nodes/ValueNode;Ljdk/vm/ci/meta/JavaKind;)Lorg/graalvm/compiler/word/WordCastNode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.word.WordCastNode.$assertionsDisabled:Z
ifne 1
aload 0
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;
instanceof org.graalvm.compiler.core.common.type.ObjectStamp
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
new org.graalvm.compiler.word.WordCastNode
dup
aload 1
invokestatic org.graalvm.compiler.core.common.type.StampFactory.forKind:(Ljdk/vm/ci/meta/JavaKind;)Lorg/graalvm/compiler/core/common/type/Stamp;
aload 0
iconst_0
invokespecial org.graalvm.compiler.word.WordCastNode.<init>:(Lorg/graalvm/compiler/core/common/type/Stamp;Lorg/graalvm/compiler/nodes/ValueNode;Z)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 input Lorg/graalvm/compiler/nodes/ValueNode;
0 2 1 wordKind Ljdk/vm/ci/meta/JavaKind;
MethodParameters:
Name Flags
input
wordKind
public static org.graalvm.compiler.word.WordCastNode narrowOopToUntrackedWord(org.graalvm.compiler.nodes.ValueNode, jdk.vm.ci.meta.JavaKind);
descriptor: (Lorg/graalvm/compiler/nodes/ValueNode;Ljdk/vm/ci/meta/JavaKind;)Lorg/graalvm/compiler/word/WordCastNode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.word.WordCastNode.$assertionsDisabled:Z
ifne 1
aload 0
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;
instanceof org.graalvm.compiler.nodes.type.NarrowOopStamp
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
new org.graalvm.compiler.word.WordCastNode
dup
aload 1
invokestatic org.graalvm.compiler.core.common.type.StampFactory.forKind:(Ljdk/vm/ci/meta/JavaKind;)Lorg/graalvm/compiler/core/common/type/Stamp;
aload 0
iconst_0
invokespecial org.graalvm.compiler.word.WordCastNode.<init>:(Lorg/graalvm/compiler/core/common/type/Stamp;Lorg/graalvm/compiler/nodes/ValueNode;Z)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 input Lorg/graalvm/compiler/nodes/ValueNode;
0 2 1 wordKind Ljdk/vm/ci/meta/JavaKind;
MethodParameters:
Name Flags
input
wordKind
private void <init>(org.graalvm.compiler.core.common.type.Stamp, org.graalvm.compiler.nodes.ValueNode);
descriptor: (Lorg/graalvm/compiler/core/common/type/Stamp;Lorg/graalvm/compiler/nodes/ValueNode;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_1
invokespecial org.graalvm.compiler.word.WordCastNode.<init>:(Lorg/graalvm/compiler/core/common/type/Stamp;Lorg/graalvm/compiler/nodes/ValueNode;Z)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/word/WordCastNode;
0 2 1 stamp Lorg/graalvm/compiler/core/common/type/Stamp;
0 2 2 input Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
stamp
input
protected void <init>(org.graalvm.compiler.core.common.type.Stamp, org.graalvm.compiler.nodes.ValueNode, boolean);
descriptor: (Lorg/graalvm/compiler/core/common/type/Stamp;Lorg/graalvm/compiler/nodes/ValueNode;Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getstatic org.graalvm.compiler.word.WordCastNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
aload 1
invokespecial org.graalvm.compiler.nodes.FixedWithNextNode.<init>:(Lorg/graalvm/compiler/graph/NodeClass;Lorg/graalvm/compiler/core/common/type/Stamp;)V
1: aload 0
aload 2
putfield org.graalvm.compiler.word.WordCastNode.input:Lorg/graalvm/compiler/nodes/ValueNode;
2: aload 0
iload 3
putfield org.graalvm.compiler.word.WordCastNode.trackedPointer:Z
3: return
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/word/WordCastNode;
0 4 1 stamp Lorg/graalvm/compiler/core/common/type/Stamp;
0 4 2 input Lorg/graalvm/compiler/nodes/ValueNode;
0 4 3 trackedPointer Z
MethodParameters:
Name Flags
stamp
input
trackedPointer
public org.graalvm.compiler.nodes.ValueNode getInput();
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.word.WordCastNode.input:Lorg/graalvm/compiler/nodes/ValueNode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/word/WordCastNode;
private static boolean isZeroConstant(org.graalvm.compiler.nodes.ValueNode);
descriptor: (Lorg/graalvm/compiler/nodes/ValueNode;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.nodes.ValueNode.asJavaConstant:()Ljdk/vm/ci/meta/JavaConstant;
astore 1
start local 1 1: aload 1
invokeinterface jdk.vm.ci.meta.JavaConstant.getJavaKind:()Ljdk/vm/ci/meta/JavaKind;
invokevirtual jdk.vm.ci.meta.JavaKind.isNumericInteger:()Z
ifeq 2
aload 1
invokeinterface jdk.vm.ci.meta.JavaConstant.asLong:()J
lconst_0
lcmp
ifne 2
iconst_1
ireturn
StackMap locals: jdk.vm.ci.meta.JavaConstant
StackMap stack:
2: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 value Lorg/graalvm/compiler/nodes/ValueNode;
1 3 1 constant Ljdk/vm/ci/meta/JavaConstant;
MethodParameters:
Name Flags
value
private static org.graalvm.compiler.core.common.type.Stamp objectStampFor(org.graalvm.compiler.nodes.ValueNode);
descriptor: (Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/core/common/type/Stamp;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
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;
astore 1
start local 1 1: aload 1
instanceof org.graalvm.compiler.core.common.type.AbstractPointerStamp
ifeq 7
2: aload 1
checkcast org.graalvm.compiler.core.common.type.AbstractPointerStamp
astore 2
start local 2 3: aload 2
invokevirtual org.graalvm.compiler.core.common.type.AbstractPointerStamp.alwaysNull:()Z
ifeq 5
4: invokestatic org.graalvm.compiler.core.common.type.StampFactory.alwaysNull:()Lorg/graalvm/compiler/core/common/type/Stamp;
areturn
5: StackMap locals: org.graalvm.compiler.core.common.type.Stamp org.graalvm.compiler.core.common.type.AbstractPointerStamp
StackMap stack:
aload 2
invokevirtual org.graalvm.compiler.core.common.type.AbstractPointerStamp.nonNull:()Z
ifeq 11
6: invokestatic org.graalvm.compiler.core.common.type.StampFactory.objectNonNull:()Lorg/graalvm/compiler/core/common/type/Stamp;
areturn
end local 2 7: StackMap locals:
StackMap stack:
aload 1
instanceof org.graalvm.compiler.core.common.type.IntegerStamp
ifeq 9
aload 1
checkcast org.graalvm.compiler.core.common.type.IntegerStamp
lconst_0
invokevirtual org.graalvm.compiler.core.common.type.IntegerStamp.contains:(J)Z
ifne 9
8: invokestatic org.graalvm.compiler.core.common.type.StampFactory.objectNonNull:()Lorg/graalvm/compiler/core/common/type/Stamp;
areturn
9: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
ifeq 11
aload 0
invokestatic org.graalvm.compiler.word.WordCastNode.isZeroConstant:(Lorg/graalvm/compiler/nodes/ValueNode;)Z
ifeq 11
10: invokestatic org.graalvm.compiler.core.common.type.StampFactory.alwaysNull:()Lorg/graalvm/compiler/core/common/type/Stamp;
areturn
11: StackMap locals:
StackMap stack:
invokestatic org.graalvm.compiler.core.common.type.StampFactory.object:()Lorg/graalvm/compiler/core/common/type/Stamp;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 input Lorg/graalvm/compiler/nodes/ValueNode;
1 12 1 inputStamp Lorg/graalvm/compiler/core/common/type/Stamp;
3 7 2 pointerStamp Lorg/graalvm/compiler/core/common/type/AbstractPointerStamp;
MethodParameters:
Name Flags
input
public boolean inferStamp();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.word.WordCastNode.stamp:Lorg/graalvm/compiler/core/common/type/Stamp;
instanceof org.graalvm.compiler.core.common.type.AbstractPointerStamp
ifeq 19
1: aload 0
getfield org.graalvm.compiler.word.WordCastNode.stamp:Lorg/graalvm/compiler/core/common/type/Stamp;
checkcast org.graalvm.compiler.core.common.type.AbstractPointerStamp
astore 1
start local 1 2: aload 1
invokevirtual org.graalvm.compiler.core.common.type.AbstractPointerStamp.alwaysNull:()Z
ifne 19
aload 1
invokevirtual org.graalvm.compiler.core.common.type.AbstractPointerStamp.nonNull:()Z
ifne 19
3: aload 0
getfield org.graalvm.compiler.word.WordCastNode.stamp:Lorg/graalvm/compiler/core/common/type/Stamp;
astore 2
start local 2 4: aload 0
getfield org.graalvm.compiler.word.WordCastNode.input:Lorg/graalvm/compiler/nodes/ValueNode;
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;
astore 3
start local 3 5: aload 3
instanceof org.graalvm.compiler.core.common.type.AbstractPointerStamp
ifeq 13
6: aload 3
checkcast org.graalvm.compiler.core.common.type.AbstractPointerStamp
astore 4
start local 4 7: aload 4
invokevirtual org.graalvm.compiler.core.common.type.AbstractPointerStamp.alwaysNull:()Z
ifeq 10
8: aload 1
invokevirtual org.graalvm.compiler.core.common.type.AbstractPointerStamp.asAlwaysNull:()Lorg/graalvm/compiler/core/common/type/Stamp;
astore 2
9: goto 18
StackMap locals: org.graalvm.compiler.word.WordCastNode org.graalvm.compiler.core.common.type.AbstractPointerStamp org.graalvm.compiler.core.common.type.Stamp org.graalvm.compiler.core.common.type.Stamp org.graalvm.compiler.core.common.type.AbstractPointerStamp
StackMap stack:
10: aload 4
invokevirtual org.graalvm.compiler.core.common.type.AbstractPointerStamp.nonNull:()Z
ifeq 18
11: aload 1
invokevirtual org.graalvm.compiler.core.common.type.AbstractPointerStamp.asNonNull:()Lorg/graalvm/compiler/core/common/type/AbstractPointerStamp;
astore 2
end local 4 12: goto 18
StackMap locals:
StackMap stack:
13: aload 3
instanceof org.graalvm.compiler.core.common.type.IntegerStamp
ifeq 16
aload 3
checkcast org.graalvm.compiler.core.common.type.IntegerStamp
lconst_0
invokevirtual org.graalvm.compiler.core.common.type.IntegerStamp.contains:(J)Z
ifne 16
14: aload 1
invokevirtual org.graalvm.compiler.core.common.type.AbstractPointerStamp.asNonNull:()Lorg/graalvm/compiler/core/common/type/AbstractPointerStamp;
astore 2
15: goto 18
StackMap locals:
StackMap stack:
16: aload 0
getfield org.graalvm.compiler.word.WordCastNode.input:Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
ifeq 18
aload 0
getfield org.graalvm.compiler.word.WordCastNode.input:Lorg/graalvm/compiler/nodes/ValueNode;
invokestatic org.graalvm.compiler.word.WordCastNode.isZeroConstant:(Lorg/graalvm/compiler/nodes/ValueNode;)Z
ifeq 18
17: aload 1
invokevirtual org.graalvm.compiler.core.common.type.AbstractPointerStamp.asAlwaysNull:()Lorg/graalvm/compiler/core/common/type/Stamp;
astore 2
18: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual org.graalvm.compiler.word.WordCastNode.updateStamp:(Lorg/graalvm/compiler/core/common/type/Stamp;)Z
ireturn
end local 3 end local 2 end local 1 19: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/graalvm/compiler/word/WordCastNode;
2 19 1 objectStamp Lorg/graalvm/compiler/core/common/type/AbstractPointerStamp;
4 19 2 newStamp Lorg/graalvm/compiler/core/common/type/Stamp;
5 19 3 inputStamp Lorg/graalvm/compiler/core/common/type/Stamp;
7 12 4 pointerStamp Lorg/graalvm/compiler/core/common/type/AbstractPointerStamp;
public org.graalvm.compiler.graph.Node canonical(org.graalvm.compiler.graph.spi.CanonicalizerTool);
descriptor: (Lorg/graalvm/compiler/graph/spi/CanonicalizerTool;)Lorg/graalvm/compiler/graph/Node;
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.graph.spi.CanonicalizerTool.allUsagesAvailable:()Z
ifeq 2
aload 0
invokevirtual org.graalvm.compiler.word.WordCastNode.hasNoUsages:()Z
ifeq 2
1: aload 0
getfield org.graalvm.compiler.word.WordCastNode.input:Lorg/graalvm/compiler/nodes/ValueNode;
areturn
2: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.word.WordCastNode.$assertionsDisabled:Z
ifne 3
aload 0
getfield org.graalvm.compiler.word.WordCastNode.stamp:Lorg/graalvm/compiler/core/common/type/Stamp;
aload 0
getfield org.graalvm.compiler.word.WordCastNode.input:Lorg/graalvm/compiler/nodes/ValueNode;
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;
invokevirtual org.graalvm.compiler.core.common.type.Stamp.isCompatible:(Lorg/graalvm/compiler/core/common/type/Stamp;)Z
ifeq 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.word.WordCastNode.input:Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
ifeq 8
4: aload 0
getfield org.graalvm.compiler.word.WordCastNode.input:Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.nodes.ValueNode.asJavaConstant:()Ljdk/vm/ci/meta/JavaConstant;
invokeinterface jdk.vm.ci.meta.JavaConstant.isNull:()Z
ifeq 6
5: aload 0
getfield org.graalvm.compiler.word.WordCastNode.stamp:Lorg/graalvm/compiler/core/common/type/Stamp;
lconst_0
invokestatic org.graalvm.compiler.nodes.ConstantNode.forIntegerStamp:(Lorg/graalvm/compiler/core/common/type/Stamp;J)Lorg/graalvm/compiler/nodes/ConstantNode;
areturn
6: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.word.WordCastNode.input:Lorg/graalvm/compiler/nodes/ValueNode;
invokestatic org.graalvm.compiler.word.WordCastNode.isZeroConstant:(Lorg/graalvm/compiler/nodes/ValueNode;)Z
ifeq 8
7: aload 0
getfield org.graalvm.compiler.word.WordCastNode.stamp:Lorg/graalvm/compiler/core/common/type/Stamp;
aload 0
getfield org.graalvm.compiler.word.WordCastNode.stamp:Lorg/graalvm/compiler/core/common/type/Stamp;
checkcast org.graalvm.compiler.core.common.type.AbstractPointerStamp
invokevirtual org.graalvm.compiler.core.common.type.AbstractPointerStamp.nullConstant:()Ljdk/vm/ci/meta/JavaConstant;
aload 1
invokeinterface org.graalvm.compiler.graph.spi.CanonicalizerTool.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
invokestatic org.graalvm.compiler.nodes.ConstantNode.forConstant:(Lorg/graalvm/compiler/core/common/type/Stamp;Ljdk/vm/ci/meta/Constant;Ljdk/vm/ci/meta/MetaAccessProvider;)Lorg/graalvm/compiler/nodes/ConstantNode;
areturn
8: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/graalvm/compiler/word/WordCastNode;
0 9 1 tool Lorg/graalvm/compiler/graph/spi/CanonicalizerTool;
MethodParameters:
Name Flags
tool
public void generate(org.graalvm.compiler.nodes.spi.NodeLIRBuilderTool);
descriptor: (Lorg/graalvm/compiler/nodes/spi/NodeLIRBuilderTool;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield org.graalvm.compiler.word.WordCastNode.input:Lorg/graalvm/compiler/nodes/ValueNode;
invokeinterface org.graalvm.compiler.nodes.spi.NodeLIRBuilderTool.operand:(Lorg/graalvm/compiler/graph/Node;)Ljdk/vm/ci/meta/Value;
astore 2
start local 2 1: aload 1
invokeinterface org.graalvm.compiler.nodes.spi.NodeLIRBuilderTool.getLIRGeneratorTool:()Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool;
aload 0
getstatic org.graalvm.compiler.nodes.NodeView.DEFAULT:Lorg/graalvm/compiler/nodes/NodeView;
invokevirtual org.graalvm.compiler.word.WordCastNode.stamp:(Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/core/common/type/Stamp;
invokeinterface org.graalvm.compiler.lir.gen.LIRGeneratorTool.getLIRKind:(Lorg/graalvm/compiler/core/common/type/Stamp;)Lorg/graalvm/compiler/core/common/LIRKind;
astore 3
start local 3 2: getstatic org.graalvm.compiler.word.WordCastNode.$assertionsDisabled:Z
ifne 3
aload 3
invokevirtual jdk.vm.ci.meta.ValueKind.getPlatformKind:()Ljdk/vm/ci/meta/PlatformKind;
invokeinterface jdk.vm.ci.meta.PlatformKind.getSizeInBytes:()I
aload 2
invokevirtual jdk.vm.ci.meta.Value.getPlatformKind:()Ljdk/vm/ci/meta/PlatformKind;
invokeinterface jdk.vm.ci.meta.PlatformKind.getSizeInBytes:()I
if_icmpeq 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: jdk.vm.ci.meta.Value jdk.vm.ci.meta.ValueKind
StackMap stack:
aload 0
getfield org.graalvm.compiler.word.WordCastNode.trackedPointer:Z
ifeq 5
aload 3
invokestatic org.graalvm.compiler.core.common.LIRKind.isValue:(Ljdk/vm/ci/meta/ValueKind;)Z
ifeq 5
aload 2
invokestatic org.graalvm.compiler.core.common.LIRKind.isValue:(Ljdk/vm/ci/meta/Value;)Z
ifne 5
4: aload 2
invokevirtual jdk.vm.ci.meta.Value.getValueKind:()Ljdk/vm/ci/meta/ValueKind;
aload 3
invokevirtual jdk.vm.ci.meta.ValueKind.getPlatformKind:()Ljdk/vm/ci/meta/PlatformKind;
invokevirtual jdk.vm.ci.meta.ValueKind.changeType:(Ljdk/vm/ci/meta/PlatformKind;)Ljdk/vm/ci/meta/ValueKind;
astore 3
5: StackMap locals:
StackMap stack:
aload 3
aload 2
invokevirtual jdk.vm.ci.meta.Value.getValueKind:()Ljdk/vm/ci/meta/ValueKind;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 8
aload 2
instanceof org.graalvm.compiler.lir.ConstantValue
ifne 8
6: aload 1
aload 0
aload 2
invokeinterface org.graalvm.compiler.nodes.spi.NodeLIRBuilderTool.setResult:(Lorg/graalvm/compiler/nodes/ValueNode;Ljdk/vm/ci/meta/Value;)Ljdk/vm/ci/meta/Value;
pop
7: goto 17
8: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.graalvm.compiler.nodes.spi.NodeLIRBuilderTool.getLIRGeneratorTool:()Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool;
aload 3
invokeinterface org.graalvm.compiler.lir.gen.LIRGeneratorTool.newVariable:(Ljdk/vm/ci/meta/ValueKind;)Lorg/graalvm/compiler/lir/Variable;
astore 4
start local 4 9: aload 0
getfield org.graalvm.compiler.word.WordCastNode.stamp:Lorg/graalvm/compiler/core/common/type/Stamp;
invokestatic org.graalvm.compiler.core.common.type.StampFactory.object:()Lorg/graalvm/compiler/core/common/type/Stamp;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 12
10: aload 1
invokeinterface org.graalvm.compiler.nodes.spi.NodeLIRBuilderTool.getLIRGeneratorTool:()Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool;
aload 4
aload 2
invokeinterface org.graalvm.compiler.lir.gen.LIRGeneratorTool.emitConvertZeroToNull:(Ljdk/vm/ci/meta/AllocatableValue;Ljdk/vm/ci/meta/Value;)V
11: goto 16
StackMap locals: jdk.vm.ci.meta.AllocatableValue
StackMap stack:
12: aload 0
getfield org.graalvm.compiler.word.WordCastNode.trackedPointer:Z
ifne 15
aload 0
getfield org.graalvm.compiler.word.WordCastNode.input:Lorg/graalvm/compiler/nodes/ValueNode;
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;
checkcast org.graalvm.compiler.core.common.type.AbstractPointerStamp
invokevirtual org.graalvm.compiler.core.common.type.AbstractPointerStamp.nonNull:()Z
ifne 15
13: aload 1
invokeinterface org.graalvm.compiler.nodes.spi.NodeLIRBuilderTool.getLIRGeneratorTool:()Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool;
aload 4
aload 2
invokeinterface org.graalvm.compiler.lir.gen.LIRGeneratorTool.emitConvertNullToZero:(Ljdk/vm/ci/meta/AllocatableValue;Ljdk/vm/ci/meta/Value;)V
14: goto 16
15: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.graalvm.compiler.nodes.spi.NodeLIRBuilderTool.getLIRGeneratorTool:()Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool;
aload 4
aload 2
invokeinterface org.graalvm.compiler.lir.gen.LIRGeneratorTool.emitMove:(Ljdk/vm/ci/meta/AllocatableValue;Ljdk/vm/ci/meta/Value;)V
16: StackMap locals:
StackMap stack:
aload 1
aload 0
aload 4
invokeinterface org.graalvm.compiler.nodes.spi.NodeLIRBuilderTool.setResult:(Lorg/graalvm/compiler/nodes/ValueNode;Ljdk/vm/ci/meta/Value;)Ljdk/vm/ci/meta/Value;
pop
end local 4 17: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/graalvm/compiler/word/WordCastNode;
0 18 1 generator Lorg/graalvm/compiler/nodes/spi/NodeLIRBuilderTool;
1 18 2 value Ljdk/vm/ci/meta/Value;
2 18 3 kind Ljdk/vm/ci/meta/ValueKind<*>;
9 17 4 result Ljdk/vm/ci/meta/AllocatableValue;
MethodParameters:
Name Flags
generator
}
SourceFile: "WordCastNode.java"
InnerClasses:
public abstract Input = org.graalvm.compiler.graph.Node$Input of org.graalvm.compiler.graph.Node
RuntimeVisibleAnnotations:
org.graalvm.compiler.nodeinfo.NodeInfo(cycles = org.graalvm.compiler.nodeinfo.NodeCycles.CYCLES_1:Lorg/graalvm/compiler/nodeinfo/NodeCycles;, size = org.graalvm.compiler.nodeinfo.NodeSize.SIZE_1:Lorg/graalvm/compiler/nodeinfo/NodeSize;)