public class org.graalvm.compiler.nodes.GraphEncoder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.nodes.GraphEncoder
super_class: java.lang.Object
{
public static final int NULL_ORDER_ID;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int START_NODE_ORDER_ID;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int FIRST_NODE_ORDER_ID;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
protected static final int BEGIN_NEXT_ORDER_ID_OFFSET;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 1
protected final jdk.vm.ci.code.Architecture architecture;
descriptor: Ljdk/vm/ci/code/Architecture;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final org.graalvm.compiler.core.common.util.FrequencyEncoder<java.lang.Object> objects;
descriptor: Lorg/graalvm/compiler/core/common/util/FrequencyEncoder;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Lorg/graalvm/compiler/core/common/util/FrequencyEncoder<Ljava/lang/Object;>;
protected final org.graalvm.compiler.core.common.util.FrequencyEncoder<org.graalvm.compiler.graph.NodeClass<?>> nodeClasses;
descriptor: Lorg/graalvm/compiler/core/common/util/FrequencyEncoder;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Lorg/graalvm/compiler/core/common/util/FrequencyEncoder<Lorg/graalvm/compiler/graph/NodeClass<*>;>;
protected final org.graalvm.compiler.core.common.util.UnsafeArrayTypeWriter writer;
descriptor: Lorg/graalvm/compiler/core/common/util/UnsafeArrayTypeWriter;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected java.lang.Object[] objectsArray;
descriptor: [Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
protected org.graalvm.compiler.graph.NodeClass<?>[] nodeClassesArray;
descriptor: [Lorg/graalvm/compiler/graph/NodeClass;
flags: (0x0004) ACC_PROTECTED
Signature: [Lorg/graalvm/compiler/graph/NodeClass<*>;
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/nodes/GraphEncoder;
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.nodes.GraphEncoder.$assertionsDisabled:Z
3: return
LocalVariableTable:
Start End Slot Name Signature
public static org.graalvm.compiler.nodes.EncodedGraph encodeSingleGraph(org.graalvm.compiler.nodes.StructuredGraph, jdk.vm.ci.code.Architecture);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Ljdk/vm/ci/code/Architecture;)Lorg/graalvm/compiler/nodes/EncodedGraph;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: new org.graalvm.compiler.nodes.GraphEncoder
dup
aload 1
invokespecial org.graalvm.compiler.nodes.GraphEncoder.<init>:(Ljdk/vm/ci/code/Architecture;)V
astore 2
start local 2 1: aload 2
aload 0
invokevirtual org.graalvm.compiler.nodes.GraphEncoder.prepare:(Lorg/graalvm/compiler/nodes/StructuredGraph;)V
2: aload 2
invokevirtual org.graalvm.compiler.nodes.GraphEncoder.finishPrepare:()V
3: aload 2
aload 0
invokevirtual org.graalvm.compiler.nodes.GraphEncoder.encode:(Lorg/graalvm/compiler/nodes/StructuredGraph;)I
istore 3
start local 3 4: new org.graalvm.compiler.nodes.EncodedGraph
dup
aload 2
invokevirtual org.graalvm.compiler.nodes.GraphEncoder.getEncoding:()[B
iload 3
aload 2
invokevirtual org.graalvm.compiler.nodes.GraphEncoder.getObjects:()[Ljava/lang/Object;
aload 2
invokevirtual org.graalvm.compiler.nodes.GraphEncoder.getNodeClasses:()[Lorg/graalvm/compiler/graph/NodeClass;
aload 0
invokespecial org.graalvm.compiler.nodes.EncodedGraph.<init>:([BI[Ljava/lang/Object;[Lorg/graalvm/compiler/graph/NodeClass;Lorg/graalvm/compiler/nodes/StructuredGraph;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 5 1 architecture Ljdk/vm/ci/code/Architecture;
1 5 2 encoder Lorg/graalvm/compiler/nodes/GraphEncoder;
4 5 3 startOffset I
MethodParameters:
Name Flags
graph
architecture
public void <init>(jdk.vm.ci.code.Architecture);
descriptor: (Ljdk/vm/ci/code/Architecture;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.graalvm.compiler.nodes.GraphEncoder.architecture:Ljdk/vm/ci/code/Architecture;
2: aload 0
invokestatic org.graalvm.compiler.core.common.util.FrequencyEncoder.createEqualityEncoder:()Lorg/graalvm/compiler/core/common/util/FrequencyEncoder;
putfield org.graalvm.compiler.nodes.GraphEncoder.objects:Lorg/graalvm/compiler/core/common/util/FrequencyEncoder;
3: aload 0
invokestatic org.graalvm.compiler.core.common.util.FrequencyEncoder.createIdentityEncoder:()Lorg/graalvm/compiler/core/common/util/FrequencyEncoder;
putfield org.graalvm.compiler.nodes.GraphEncoder.nodeClasses:Lorg/graalvm/compiler/core/common/util/FrequencyEncoder;
4: aload 0
aload 1
invokevirtual jdk.vm.ci.code.Architecture.supportsUnalignedMemoryAccess:()Z
invokestatic org.graalvm.compiler.core.common.util.UnsafeArrayTypeWriter.create:(Z)Lorg/graalvm/compiler/core/common/util/UnsafeArrayTypeWriter;
putfield org.graalvm.compiler.nodes.GraphEncoder.writer:Lorg/graalvm/compiler/core/common/util/UnsafeArrayTypeWriter;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/nodes/GraphEncoder;
0 6 1 architecture Ljdk/vm/ci/code/Architecture;
MethodParameters:
Name Flags
architecture
public void prepare(org.graalvm.compiler.nodes.StructuredGraph);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
astore 3
goto 13
StackMap locals: org.graalvm.compiler.nodes.GraphEncoder org.graalvm.compiler.nodes.StructuredGraph top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 2
start local 2 2: aload 2
invokevirtual org.graalvm.compiler.graph.Node.getNodeClass:()Lorg/graalvm/compiler/graph/NodeClass;
astore 4
start local 4 3: aload 0
getfield org.graalvm.compiler.nodes.GraphEncoder.nodeClasses:Lorg/graalvm/compiler/core/common/util/FrequencyEncoder;
aload 4
invokevirtual org.graalvm.compiler.core.common.util.FrequencyEncoder.addObject:(Ljava/lang/Object;)V
4: aload 0
getfield org.graalvm.compiler.nodes.GraphEncoder.objects:Lorg/graalvm/compiler/core/common/util/FrequencyEncoder;
aload 2
invokevirtual org.graalvm.compiler.graph.Node.getNodeSourcePosition:()Lorg/graalvm/compiler/graph/NodeSourcePosition;
invokevirtual org.graalvm.compiler.core.common.util.FrequencyEncoder.addObject:(Ljava/lang/Object;)V
5: iconst_0
istore 5
start local 5 6: goto 10
7: StackMap locals: org.graalvm.compiler.nodes.GraphEncoder org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.graph.Node java.util.Iterator org.graalvm.compiler.graph.NodeClass int
StackMap stack:
aload 4
invokevirtual org.graalvm.compiler.graph.NodeClass.getData:()Lorg/graalvm/compiler/core/common/Fields;
iload 5
invokevirtual org.graalvm.compiler.core.common.Fields.getType:(I)Ljava/lang/Class;
invokevirtual java.lang.Class.isPrimitive:()Z
ifne 9
8: aload 0
getfield org.graalvm.compiler.nodes.GraphEncoder.objects:Lorg/graalvm/compiler/core/common/util/FrequencyEncoder;
aload 4
invokevirtual org.graalvm.compiler.graph.NodeClass.getData:()Lorg/graalvm/compiler/core/common/Fields;
aload 2
iload 5
invokevirtual org.graalvm.compiler.core.common.Fields.get:(Ljava/lang/Object;I)Ljava/lang/Object;
invokevirtual org.graalvm.compiler.core.common.util.FrequencyEncoder.addObject:(Ljava/lang/Object;)V
9: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
10: iload 5
aload 4
invokevirtual org.graalvm.compiler.graph.NodeClass.getData:()Lorg/graalvm/compiler/core/common/Fields;
invokevirtual org.graalvm.compiler.core.common.Fields.getCount:()I
if_icmplt 7
end local 5 11: aload 2
instanceof org.graalvm.compiler.nodes.Invoke
ifeq 13
12: aload 0
getfield org.graalvm.compiler.nodes.GraphEncoder.objects:Lorg/graalvm/compiler/core/common/util/FrequencyEncoder;
aload 2
checkcast org.graalvm.compiler.nodes.Invoke
invokeinterface org.graalvm.compiler.nodes.Invoke.getContextType:()Ljdk/vm/ci/meta/ResolvedJavaType;
invokevirtual org.graalvm.compiler.core.common.util.FrequencyEncoder.addObject:(Ljava/lang/Object;)V
end local 4 end local 2 13: StackMap locals: org.graalvm.compiler.nodes.GraphEncoder org.graalvm.compiler.nodes.StructuredGraph top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
14: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/graalvm/compiler/nodes/GraphEncoder;
0 15 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
2 13 2 node Lorg/graalvm/compiler/graph/Node;
3 13 4 nodeClass Lorg/graalvm/compiler/graph/NodeClass<+Lorg/graalvm/compiler/graph/Node;>;
6 11 5 i I
MethodParameters:
Name Flags
graph
public void finishPrepare();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield org.graalvm.compiler.nodes.GraphEncoder.objects:Lorg/graalvm/compiler/core/common/util/FrequencyEncoder;
aload 0
getfield org.graalvm.compiler.nodes.GraphEncoder.objects:Lorg/graalvm/compiler/core/common/util/FrequencyEncoder;
invokevirtual org.graalvm.compiler.core.common.util.FrequencyEncoder.getLength:()I
anewarray java.lang.Object
invokevirtual org.graalvm.compiler.core.common.util.FrequencyEncoder.encodeAll:([Ljava/lang/Object;)[Ljava/lang/Object;
putfield org.graalvm.compiler.nodes.GraphEncoder.objectsArray:[Ljava/lang/Object;
1: aload 0
aload 0
getfield org.graalvm.compiler.nodes.GraphEncoder.nodeClasses:Lorg/graalvm/compiler/core/common/util/FrequencyEncoder;
aload 0
getfield org.graalvm.compiler.nodes.GraphEncoder.nodeClasses:Lorg/graalvm/compiler/core/common/util/FrequencyEncoder;
invokevirtual org.graalvm.compiler.core.common.util.FrequencyEncoder.getLength:()I
anewarray org.graalvm.compiler.graph.NodeClass
invokevirtual org.graalvm.compiler.core.common.util.FrequencyEncoder.encodeAll:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.NodeClass[]
putfield org.graalvm.compiler.nodes.GraphEncoder.nodeClassesArray:[Lorg/graalvm/compiler/graph/NodeClass;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/nodes/GraphEncoder;
public java.lang.Object[] getObjects();
descriptor: ()[Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.nodes.GraphEncoder.objectsArray:[Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/nodes/GraphEncoder;
public org.graalvm.compiler.graph.NodeClass<?>[] getNodeClasses();
descriptor: ()[Lorg/graalvm/compiler/graph/NodeClass;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.nodes.GraphEncoder.nodeClassesArray:[Lorg/graalvm/compiler/graph/NodeClass;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/nodes/GraphEncoder;
Signature: ()[Lorg/graalvm/compiler/graph/NodeClass<*>;
public int encode(org.graalvm.compiler.nodes.StructuredGraph);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=13, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.nodes.GraphEncoder.$assertionsDisabled:Z
ifne 2
aload 0
getfield org.graalvm.compiler.nodes.GraphEncoder.objectsArray:[Ljava/lang/Object;
ifnull 1
aload 0
getfield org.graalvm.compiler.nodes.GraphEncoder.nodeClassesArray:[Lorg/graalvm/compiler/graph/NodeClass;
ifnonnull 2
StackMap locals:
StackMap stack:
1: new java.lang.AssertionError
dup
ldc "finishPrepare() must be called before encode()"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals:
StackMap stack:
new org.graalvm.compiler.nodes.GraphEncoder$NodeOrder
dup
aload 1
invokespecial org.graalvm.compiler.nodes.GraphEncoder$NodeOrder.<init>:(Lorg/graalvm/compiler/nodes/StructuredGraph;)V
astore 2
start local 2 3: aload 2
getfield org.graalvm.compiler.nodes.GraphEncoder$NodeOrder.nextOrderId:I
istore 3
start local 3 4: getstatic org.graalvm.compiler.nodes.GraphEncoder.$assertionsDisabled:Z
ifne 5
aload 2
getfield org.graalvm.compiler.nodes.GraphEncoder$NodeOrder.orderIds:Lorg/graalvm/compiler/graph/NodeMap;
aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.start:()Lorg/graalvm/compiler/nodes/StartNode;
invokevirtual org.graalvm.compiler.graph.NodeMap.get:(Lorg/graalvm/compiler/graph/Node;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
iconst_1
if_icmpeq 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals: org.graalvm.compiler.nodes.GraphEncoder$NodeOrder int
StackMap stack:
getstatic org.graalvm.compiler.nodes.GraphEncoder.$assertionsDisabled:Z
ifne 6
aload 2
getfield org.graalvm.compiler.nodes.GraphEncoder$NodeOrder.orderIds:Lorg/graalvm/compiler/graph/NodeMap;
aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.start:()Lorg/graalvm/compiler/nodes/StartNode;
invokevirtual org.graalvm.compiler.nodes.StartNode.next:()Lorg/graalvm/compiler/nodes/FixedNode;
invokevirtual org.graalvm.compiler.graph.NodeMap.get:(Lorg/graalvm/compiler/graph/Node;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
iconst_2
if_icmpeq 6
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
6: StackMap locals:
StackMap stack:
iload 3
newarray 11
astore 4
start local 4 7: aload 2
getfield org.graalvm.compiler.nodes.GraphEncoder$NodeOrder.orderIds:Lorg/graalvm/compiler/graph/NodeMap;
invokevirtual org.graalvm.compiler.graph.NodeMap.getEntries:()Ljdk/internal/vm/compiler/collections/MapCursor;
astore 5
start local 5 8: goto 53
9: StackMap locals: long[] jdk.internal.vm.compiler.collections.UnmodifiableMapCursor
StackMap stack:
aload 5
invokeinterface jdk.internal.vm.compiler.collections.UnmodifiableMapCursor.getKey:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 6
start local 6 10: aload 5
invokeinterface jdk.internal.vm.compiler.collections.UnmodifiableMapCursor.getValue:()Ljava/lang/Object;
checkcast java.lang.Integer
astore 7
start local 7 11: getstatic org.graalvm.compiler.nodes.GraphEncoder.$assertionsDisabled:Z
ifne 12
aload 6
instanceof org.graalvm.compiler.nodes.AbstractBeginNode
ifeq 12
aload 2
getfield org.graalvm.compiler.nodes.GraphEncoder$NodeOrder.orderIds:Lorg/graalvm/compiler/graph/NodeMap;
aload 6
checkcast org.graalvm.compiler.nodes.AbstractBeginNode
invokevirtual org.graalvm.compiler.nodes.AbstractBeginNode.next:()Lorg/graalvm/compiler/nodes/FixedNode;
invokevirtual org.graalvm.compiler.graph.NodeMap.get:(Lorg/graalvm/compiler/graph/Node;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
aload 7
invokevirtual java.lang.Integer.intValue:()I
iconst_1
iadd
if_icmpeq 12
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
12: StackMap locals: org.graalvm.compiler.graph.Node java.lang.Integer
StackMap stack:
getstatic org.graalvm.compiler.nodes.GraphEncoder.$assertionsDisabled:Z
ifne 13
aload 4
aload 7
invokevirtual java.lang.Integer.intValue:()I
laload
lconst_0
lcmp
ifeq 13
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
13: StackMap locals:
StackMap stack:
aload 4
aload 7
invokevirtual java.lang.Integer.intValue:()I
aload 0
getfield org.graalvm.compiler.nodes.GraphEncoder.writer:Lorg/graalvm/compiler/core/common/util/UnsafeArrayTypeWriter;
invokevirtual org.graalvm.compiler.core.common.util.UnsafeArrayTypeWriter.getBytesWritten:()J
lastore
14: aload 6
invokevirtual org.graalvm.compiler.graph.Node.getNodeClass:()Lorg/graalvm/compiler/graph/NodeClass;
astore 8
start local 8 15: aload 0
getfield org.graalvm.compiler.nodes.GraphEncoder.writer:Lorg/graalvm/compiler/core/common/util/UnsafeArrayTypeWriter;
aload 0
getfield org.graalvm.compiler.nodes.GraphEncoder.nodeClasses:Lorg/graalvm/compiler/core/common/util/FrequencyEncoder;
aload 8
invokevirtual org.graalvm.compiler.core.common.util.FrequencyEncoder.getIndex:(Ljava/lang/Object;)I
i2l
invokevirtual org.graalvm.compiler.core.common.util.UnsafeArrayTypeWriter.putUV:(J)V
16: aload 0
aload 6
aload 8
getstatic org.graalvm.compiler.graph.Edges$Type.Inputs:Lorg/graalvm/compiler/graph/Edges$Type;
invokevirtual org.graalvm.compiler.graph.NodeClass.getEdges:(Lorg/graalvm/compiler/graph/Edges$Type;)Lorg/graalvm/compiler/graph/Edges;
aload 2
invokevirtual org.graalvm.compiler.nodes.GraphEncoder.writeEdges:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/graph/Edges;Lorg/graalvm/compiler/nodes/GraphEncoder$NodeOrder;)V
17: aload 0
aload 6
aload 8
invokevirtual org.graalvm.compiler.graph.NodeClass.getData:()Lorg/graalvm/compiler/core/common/Fields;
invokevirtual org.graalvm.compiler.nodes.GraphEncoder.writeProperties:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/core/common/Fields;)V
18: aload 0
aload 6
aload 8
getstatic org.graalvm.compiler.graph.Edges$Type.Successors:Lorg/graalvm/compiler/graph/Edges$Type;
invokevirtual org.graalvm.compiler.graph.NodeClass.getEdges:(Lorg/graalvm/compiler/graph/Edges$Type;)Lorg/graalvm/compiler/graph/Edges;
aload 2
invokevirtual org.graalvm.compiler.nodes.GraphEncoder.writeEdges:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/graph/Edges;Lorg/graalvm/compiler/nodes/GraphEncoder$NodeOrder;)V
19: aload 6
instanceof org.graalvm.compiler.nodes.AbstractEndNode
ifeq 30
20: aload 6
checkcast org.graalvm.compiler.nodes.AbstractEndNode
astore 9
start local 9 21: aload 9
invokevirtual org.graalvm.compiler.nodes.AbstractEndNode.merge:()Lorg/graalvm/compiler/nodes/AbstractMergeNode;
astore 10
start local 10 22: aload 0
aload 10
aload 2
invokevirtual org.graalvm.compiler.nodes.GraphEncoder.writeOrderId:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/nodes/GraphEncoder$NodeOrder;)V
23: aload 0
getfield org.graalvm.compiler.nodes.GraphEncoder.writer:Lorg/graalvm/compiler/core/common/util/UnsafeArrayTypeWriter;
aload 10
invokevirtual org.graalvm.compiler.nodes.AbstractMergeNode.phis:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.count:()I
i2l
invokevirtual org.graalvm.compiler.core.common.util.UnsafeArrayTypeWriter.putUV:(J)V
24: aload 10
invokevirtual org.graalvm.compiler.nodes.AbstractMergeNode.phis:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
astore 12
goto 28
StackMap locals: org.graalvm.compiler.nodes.GraphEncoder org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.GraphEncoder$NodeOrder int long[] jdk.internal.vm.compiler.collections.UnmodifiableMapCursor org.graalvm.compiler.graph.Node java.lang.Integer org.graalvm.compiler.graph.NodeClass org.graalvm.compiler.nodes.AbstractEndNode org.graalvm.compiler.nodes.AbstractMergeNode top java.util.Iterator
StackMap stack:
25: aload 12
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.PhiNode
astore 11
start local 11 26: aload 0
aload 11
aload 9
invokevirtual org.graalvm.compiler.nodes.PhiNode.valueAt:(Lorg/graalvm/compiler/nodes/AbstractEndNode;)Lorg/graalvm/compiler/nodes/ValueNode;
aload 2
invokevirtual org.graalvm.compiler.nodes.GraphEncoder.writeOrderId:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/nodes/GraphEncoder$NodeOrder;)V
27: aload 0
aload 11
aload 2
invokevirtual org.graalvm.compiler.nodes.GraphEncoder.writeOrderId:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/nodes/GraphEncoder$NodeOrder;)V
end local 11 28: StackMap locals:
StackMap stack:
aload 12
invokeinterface java.util.Iterator.hasNext:()Z
ifne 25
end local 10 end local 9 29: goto 53
StackMap locals: org.graalvm.compiler.nodes.GraphEncoder org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.GraphEncoder$NodeOrder int long[] jdk.internal.vm.compiler.collections.UnmodifiableMapCursor org.graalvm.compiler.graph.Node java.lang.Integer org.graalvm.compiler.graph.NodeClass
StackMap stack:
30: aload 6
instanceof org.graalvm.compiler.nodes.LoopExitNode
ifeq 39
31: aload 6
checkcast org.graalvm.compiler.nodes.LoopExitNode
astore 9
start local 9 32: aload 0
aload 9
invokevirtual org.graalvm.compiler.nodes.LoopExitNode.stateAfter:()Lorg/graalvm/compiler/nodes/FrameState;
aload 2
invokevirtual org.graalvm.compiler.nodes.GraphEncoder.writeOrderId:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/nodes/GraphEncoder$NodeOrder;)V
33: aload 0
getfield org.graalvm.compiler.nodes.GraphEncoder.writer:Lorg/graalvm/compiler/core/common/util/UnsafeArrayTypeWriter;
aload 9
invokevirtual org.graalvm.compiler.nodes.LoopExitNode.proxies:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.count:()I
i2l
invokevirtual org.graalvm.compiler.core.common.util.UnsafeArrayTypeWriter.putUV:(J)V
34: aload 9
invokevirtual org.graalvm.compiler.nodes.LoopExitNode.proxies:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
astore 11
goto 37
StackMap locals: org.graalvm.compiler.nodes.GraphEncoder org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.GraphEncoder$NodeOrder int long[] jdk.internal.vm.compiler.collections.UnmodifiableMapCursor org.graalvm.compiler.graph.Node java.lang.Integer org.graalvm.compiler.graph.NodeClass org.graalvm.compiler.nodes.LoopExitNode top java.util.Iterator
StackMap stack:
35: aload 11
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.ProxyNode
astore 10
start local 10 36: aload 0
aload 10
aload 2
invokevirtual org.graalvm.compiler.nodes.GraphEncoder.writeOrderId:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/nodes/GraphEncoder$NodeOrder;)V
end local 10 37: StackMap locals:
StackMap stack:
aload 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 35
end local 9 38: goto 53
StackMap locals: org.graalvm.compiler.nodes.GraphEncoder org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.GraphEncoder$NodeOrder int long[] jdk.internal.vm.compiler.collections.UnmodifiableMapCursor org.graalvm.compiler.graph.Node java.lang.Integer org.graalvm.compiler.graph.NodeClass
StackMap stack:
39: aload 6
instanceof org.graalvm.compiler.nodes.Invoke
ifeq 53
40: aload 6
checkcast org.graalvm.compiler.nodes.Invoke
astore 9
start local 9 41: getstatic org.graalvm.compiler.nodes.GraphEncoder.$assertionsDisabled:Z
ifne 42
aload 9
invokeinterface org.graalvm.compiler.nodes.Invoke.stateDuring:()Lorg/graalvm/compiler/nodes/FrameState;
ifnull 42
new java.lang.AssertionError
dup
ldc "stateDuring is not used in high-level graphs"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
42: StackMap locals: org.graalvm.compiler.nodes.Invoke
StackMap stack:
aload 0
aload 9
invokeinterface org.graalvm.compiler.nodes.Invoke.getContextType:()Ljdk/vm/ci/meta/ResolvedJavaType;
invokevirtual org.graalvm.compiler.nodes.GraphEncoder.writeObjectId:(Ljava/lang/Object;)V
43: aload 0
aload 9
invokeinterface org.graalvm.compiler.nodes.Invoke.callTarget:()Lorg/graalvm/compiler/nodes/CallTargetNode;
aload 2
invokevirtual org.graalvm.compiler.nodes.GraphEncoder.writeOrderId:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/nodes/GraphEncoder$NodeOrder;)V
44: aload 0
aload 9
invokeinterface org.graalvm.compiler.nodes.Invoke.stateAfter:()Lorg/graalvm/compiler/nodes/FrameState;
aload 2
invokevirtual org.graalvm.compiler.nodes.GraphEncoder.writeOrderId:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/nodes/GraphEncoder$NodeOrder;)V
45: aload 0
aload 9
invokeinterface org.graalvm.compiler.nodes.Invoke.next:()Lorg/graalvm/compiler/nodes/FixedNode;
aload 2
invokevirtual org.graalvm.compiler.nodes.GraphEncoder.writeOrderId:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/nodes/GraphEncoder$NodeOrder;)V
46: aload 9
instanceof org.graalvm.compiler.nodes.InvokeWithExceptionNode
ifeq 53
47: aload 9
checkcast org.graalvm.compiler.nodes.InvokeWithExceptionNode
astore 10
start local 10 48: aload 10
invokevirtual org.graalvm.compiler.nodes.InvokeWithExceptionNode.exceptionEdge:()Lorg/graalvm/compiler/nodes/AbstractBeginNode;
checkcast org.graalvm.compiler.nodes.java.ExceptionObjectNode
astore 11
start local 11 49: aload 0
aload 10
invokevirtual org.graalvm.compiler.nodes.InvokeWithExceptionNode.next:()Lorg/graalvm/compiler/nodes/AbstractBeginNode;
invokevirtual org.graalvm.compiler.nodes.AbstractBeginNode.next:()Lorg/graalvm/compiler/nodes/FixedNode;
aload 2
invokevirtual org.graalvm.compiler.nodes.GraphEncoder.writeOrderId:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/nodes/GraphEncoder$NodeOrder;)V
50: aload 0
aload 10
invokevirtual org.graalvm.compiler.nodes.InvokeWithExceptionNode.exceptionEdge:()Lorg/graalvm/compiler/nodes/AbstractBeginNode;
aload 2
invokevirtual org.graalvm.compiler.nodes.GraphEncoder.writeOrderId:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/nodes/GraphEncoder$NodeOrder;)V
51: aload 0
aload 11
invokevirtual org.graalvm.compiler.nodes.java.ExceptionObjectNode.stateAfter:()Lorg/graalvm/compiler/nodes/FrameState;
aload 2
invokevirtual org.graalvm.compiler.nodes.GraphEncoder.writeOrderId:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/nodes/GraphEncoder$NodeOrder;)V
52: aload 0
aload 11
invokevirtual org.graalvm.compiler.nodes.java.ExceptionObjectNode.next:()Lorg/graalvm/compiler/nodes/FixedNode;
aload 2
invokevirtual org.graalvm.compiler.nodes.GraphEncoder.writeOrderId:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/nodes/GraphEncoder$NodeOrder;)V
end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 53: StackMap locals: org.graalvm.compiler.nodes.GraphEncoder org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.GraphEncoder$NodeOrder int long[] jdk.internal.vm.compiler.collections.UnmodifiableMapCursor
StackMap stack:
aload 5
invokeinterface jdk.internal.vm.compiler.collections.UnmodifiableMapCursor.advance:()Z
ifne 9
54: aload 0
getfield org.graalvm.compiler.nodes.GraphEncoder.writer:Lorg/graalvm/compiler/core/common/util/UnsafeArrayTypeWriter;
invokevirtual org.graalvm.compiler.core.common.util.UnsafeArrayTypeWriter.getBytesWritten:()J
invokestatic org.graalvm.compiler.core.common.util.TypeConversion.asS4:(J)I
istore 6
start local 6 55: aload 0
getfield org.graalvm.compiler.nodes.GraphEncoder.writer:Lorg/graalvm/compiler/core/common/util/UnsafeArrayTypeWriter;
aload 2
getfield org.graalvm.compiler.nodes.GraphEncoder$NodeOrder.maxFixedNodeOrderId:I
i2l
invokevirtual org.graalvm.compiler.core.common.util.UnsafeArrayTypeWriter.putUV:(J)V
56: aload 0
getfield org.graalvm.compiler.nodes.GraphEncoder.writer:Lorg/graalvm/compiler/core/common/util/UnsafeArrayTypeWriter;
iload 3
i2l
invokevirtual org.graalvm.compiler.core.common.util.UnsafeArrayTypeWriter.putUV:(J)V
57: iconst_0
istore 7
start local 7 58: goto 61
59: StackMap locals: int int
StackMap stack:
aload 0
getfield org.graalvm.compiler.nodes.GraphEncoder.writer:Lorg/graalvm/compiler/core/common/util/UnsafeArrayTypeWriter;
iload 6
i2l
aload 4
iload 7
laload
lsub
invokevirtual org.graalvm.compiler.core.common.util.UnsafeArrayTypeWriter.putUV:(J)V
60: iinc 7 1
StackMap locals:
StackMap stack:
61: iload 7
iload 3
if_icmplt 59
end local 7 62: getstatic org.graalvm.compiler.nodes.GraphEncoder.$assertionsDisabled:Z
ifne 63
aload 1
new org.graalvm.compiler.nodes.EncodedGraph
dup
aload 0
invokevirtual org.graalvm.compiler.nodes.GraphEncoder.getEncoding:()[B
iload 6
aload 0
invokevirtual org.graalvm.compiler.nodes.GraphEncoder.getObjects:()[Ljava/lang/Object;
aload 0
invokevirtual org.graalvm.compiler.nodes.GraphEncoder.getNodeClasses:()[Lorg/graalvm/compiler/graph/NodeClass;
aload 1
invokespecial org.graalvm.compiler.nodes.EncodedGraph.<init>:([BI[Ljava/lang/Object;[Lorg/graalvm/compiler/graph/NodeClass;Lorg/graalvm/compiler/nodes/StructuredGraph;)V
aload 0
getfield org.graalvm.compiler.nodes.GraphEncoder.architecture:Ljdk/vm/ci/code/Architecture;
invokestatic org.graalvm.compiler.nodes.GraphEncoder.verifyEncoding:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/EncodedGraph;Ljdk/vm/ci/code/Architecture;)Z
ifne 63
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
63: StackMap locals:
StackMap stack:
iload 6
ireturn
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 64 0 this Lorg/graalvm/compiler/nodes/GraphEncoder;
0 64 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
3 64 2 nodeOrder Lorg/graalvm/compiler/nodes/GraphEncoder$NodeOrder;
4 64 3 nodeCount I
7 64 4 nodeStartOffsets [J
8 64 5 cursor Ljdk/internal/vm/compiler/collections/UnmodifiableMapCursor<Lorg/graalvm/compiler/graph/Node;Ljava/lang/Integer;>;
10 53 6 node Lorg/graalvm/compiler/graph/Node;
11 53 7 orderId Ljava/lang/Integer;
15 53 8 nodeClass Lorg/graalvm/compiler/graph/NodeClass<*>;
21 29 9 end Lorg/graalvm/compiler/nodes/AbstractEndNode;
22 29 10 merge Lorg/graalvm/compiler/nodes/AbstractMergeNode;
26 28 11 phi Lorg/graalvm/compiler/nodes/PhiNode;
32 38 9 exit Lorg/graalvm/compiler/nodes/LoopExitNode;
36 37 10 proxy Lorg/graalvm/compiler/nodes/ProxyNode;
41 53 9 invoke Lorg/graalvm/compiler/nodes/Invoke;
48 53 10 invokeWithExcpetion Lorg/graalvm/compiler/nodes/InvokeWithExceptionNode;
49 53 11 exceptionEdge Lorg/graalvm/compiler/nodes/java/ExceptionObjectNode;
55 64 6 metadataStart I
58 62 7 i I
MethodParameters:
Name Flags
graph
public byte[] getEncoding();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.nodes.GraphEncoder.writer:Lorg/graalvm/compiler/core/common/util/UnsafeArrayTypeWriter;
aload 0
getfield org.graalvm.compiler.nodes.GraphEncoder.writer:Lorg/graalvm/compiler/core/common/util/UnsafeArrayTypeWriter;
invokevirtual org.graalvm.compiler.core.common.util.UnsafeArrayTypeWriter.getBytesWritten:()J
invokestatic org.graalvm.compiler.core.common.util.TypeConversion.asS4:(J)I
newarray 8
invokevirtual org.graalvm.compiler.core.common.util.UnsafeArrayTypeWriter.toArray:([B)[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/nodes/GraphEncoder;
protected void writeProperties(org.graalvm.compiler.graph.Node, org.graalvm.compiler.core.common.Fields);
descriptor: (Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/core/common/Fields;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.graalvm.compiler.graph.Node.getNodeSourcePosition:()Lorg/graalvm/compiler/graph/NodeSourcePosition;
invokevirtual org.graalvm.compiler.nodes.GraphEncoder.writeObjectId:(Ljava/lang/Object;)V
1: iconst_0
istore 3
start local 3 2: goto 10
3: StackMap locals: int
StackMap stack:
aload 2
iload 3
invokevirtual org.graalvm.compiler.core.common.Fields.getType:(I)Ljava/lang/Class;
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 7
4: aload 2
aload 1
iload 3
invokevirtual org.graalvm.compiler.core.common.Fields.getRawPrimitive:(Ljava/lang/Object;I)J
lstore 4
start local 4 5: aload 0
getfield org.graalvm.compiler.nodes.GraphEncoder.writer:Lorg/graalvm/compiler/core/common/util/UnsafeArrayTypeWriter;
lload 4
invokevirtual org.graalvm.compiler.core.common.util.UnsafeArrayTypeWriter.putSV:(J)V
end local 4 6: goto 9
7: StackMap locals:
StackMap stack:
aload 2
aload 1
iload 3
invokevirtual org.graalvm.compiler.core.common.Fields.get:(Ljava/lang/Object;I)Ljava/lang/Object;
astore 4
start local 4 8: aload 0
aload 4
invokevirtual org.graalvm.compiler.nodes.GraphEncoder.writeObjectId:(Ljava/lang/Object;)V
end local 4 9: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
10: iload 3
aload 2
invokevirtual org.graalvm.compiler.core.common.Fields.getCount:()I
if_icmplt 3
end local 3 11: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/graalvm/compiler/nodes/GraphEncoder;
0 12 1 node Lorg/graalvm/compiler/graph/Node;
0 12 2 fields Lorg/graalvm/compiler/core/common/Fields;
2 11 3 idx I
5 6 4 primitive J
8 9 4 property Ljava/lang/Object;
MethodParameters:
Name Flags
node
fields
protected void writeEdges(org.graalvm.compiler.graph.Node, org.graalvm.compiler.graph.Edges, org.graalvm.compiler.nodes.GraphEncoder$NodeOrder);
descriptor: (Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/graph/Edges;Lorg/graalvm/compiler/nodes/GraphEncoder$NodeOrder;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
instanceof org.graalvm.compiler.nodes.PhiNode
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 3: goto 9
4: StackMap locals: int
StackMap stack:
aload 1
aload 2
iload 4
invokestatic org.graalvm.compiler.nodes.GraphDecoder.skipDirectEdge:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/graph/Edges;I)Z
ifeq 6
5: goto 8
6: StackMap locals:
StackMap stack:
aload 1
aload 2
invokevirtual org.graalvm.compiler.graph.Edges.getOffsets:()[J
iload 4
invokestatic org.graalvm.compiler.graph.Edges.getNode:(Lorg/graalvm/compiler/graph/Node;[JI)Lorg/graalvm/compiler/graph/Node;
astore 5
start local 5 7: aload 0
aload 5
aload 3
invokevirtual org.graalvm.compiler.nodes.GraphEncoder.writeOrderId:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/nodes/GraphEncoder$NodeOrder;)V
end local 5 8: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
9: iload 4
aload 2
invokevirtual org.graalvm.compiler.graph.Edges.getDirectCount:()I
if_icmplt 4
end local 4 10: aload 1
instanceof org.graalvm.compiler.nodes.AbstractMergeNode
ifeq 11
aload 2
invokevirtual org.graalvm.compiler.graph.Edges.type:()Lorg/graalvm/compiler/graph/Edges$Type;
getstatic org.graalvm.compiler.graph.Edges$Type.Inputs:Lorg/graalvm/compiler/graph/Edges$Type;
if_acmpeq 24
11: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.graalvm.compiler.graph.Edges.getDirectCount:()I
istore 4
start local 4 12: goto 23
13: StackMap locals: int
StackMap stack:
aload 1
aload 2
invokevirtual org.graalvm.compiler.graph.Edges.getOffsets:()[J
iload 4
invokestatic org.graalvm.compiler.graph.Edges.getNodeList:(Lorg/graalvm/compiler/graph/Node;[JI)Lorg/graalvm/compiler/graph/NodeList;
astore 5
start local 5 14: aload 5
ifnonnull 17
15: aload 0
getfield org.graalvm.compiler.nodes.GraphEncoder.writer:Lorg/graalvm/compiler/core/common/util/UnsafeArrayTypeWriter;
ldc -1
invokevirtual org.graalvm.compiler.core.common.util.UnsafeArrayTypeWriter.putSV:(J)V
16: goto 22
17: StackMap locals: org.graalvm.compiler.graph.NodeList
StackMap stack:
aload 0
getfield org.graalvm.compiler.nodes.GraphEncoder.writer:Lorg/graalvm/compiler/core/common/util/UnsafeArrayTypeWriter;
aload 5
invokevirtual org.graalvm.compiler.graph.NodeList.size:()I
i2l
invokevirtual org.graalvm.compiler.core.common.util.UnsafeArrayTypeWriter.putSV:(J)V
18: aload 5
invokevirtual org.graalvm.compiler.graph.NodeList.iterator:()Ljava/util/Iterator;
astore 7
goto 21
StackMap locals: org.graalvm.compiler.nodes.GraphEncoder org.graalvm.compiler.graph.Node org.graalvm.compiler.graph.Edges org.graalvm.compiler.nodes.GraphEncoder$NodeOrder int org.graalvm.compiler.graph.NodeList top java.util.Iterator
StackMap stack:
19: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 6
start local 6 20: aload 0
aload 6
aload 3
invokevirtual org.graalvm.compiler.nodes.GraphEncoder.writeOrderId:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/nodes/GraphEncoder$NodeOrder;)V
end local 6 21: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 19
end local 5 22: StackMap locals: org.graalvm.compiler.nodes.GraphEncoder org.graalvm.compiler.graph.Node org.graalvm.compiler.graph.Edges org.graalvm.compiler.nodes.GraphEncoder$NodeOrder int
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
23: iload 4
aload 2
invokevirtual org.graalvm.compiler.graph.Edges.getCount:()I
if_icmplt 13
end local 4 24: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lorg/graalvm/compiler/nodes/GraphEncoder;
0 25 1 node Lorg/graalvm/compiler/graph/Node;
0 25 2 edges Lorg/graalvm/compiler/graph/Edges;
0 25 3 nodeOrder Lorg/graalvm/compiler/nodes/GraphEncoder$NodeOrder;
3 10 4 idx I
7 8 5 edge Lorg/graalvm/compiler/graph/Node;
12 24 4 idx I
14 22 5 edgeList Lorg/graalvm/compiler/graph/NodeList<Lorg/graalvm/compiler/graph/Node;>;
20 21 6 edge Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
node
edges
nodeOrder
protected void writeOrderId(org.graalvm.compiler.graph.Node, org.graalvm.compiler.nodes.GraphEncoder$NodeOrder);
descriptor: (Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/nodes/GraphEncoder$NodeOrder;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.graalvm.compiler.nodes.GraphEncoder.writer:Lorg/graalvm/compiler/core/common/util/UnsafeArrayTypeWriter;
aload 1
ifnonnull 1
iconst_0
goto 2
StackMap locals:
StackMap stack: org.graalvm.compiler.core.common.util.UnsafeArrayTypeWriter
1: aload 2
getfield org.graalvm.compiler.nodes.GraphEncoder$NodeOrder.orderIds:Lorg/graalvm/compiler/graph/NodeMap;
aload 1
invokevirtual org.graalvm.compiler.graph.NodeMap.get:(Lorg/graalvm/compiler/graph/Node;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
StackMap locals: org.graalvm.compiler.nodes.GraphEncoder org.graalvm.compiler.graph.Node org.graalvm.compiler.nodes.GraphEncoder$NodeOrder
StackMap stack: org.graalvm.compiler.core.common.util.UnsafeArrayTypeWriter int
2: i2l
invokevirtual org.graalvm.compiler.core.common.util.UnsafeArrayTypeWriter.putUV:(J)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/nodes/GraphEncoder;
0 4 1 node Lorg/graalvm/compiler/graph/Node;
0 4 2 nodeOrder Lorg/graalvm/compiler/nodes/GraphEncoder$NodeOrder;
MethodParameters:
Name Flags
node
nodeOrder
protected void writeObjectId(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.nodes.GraphEncoder.writer:Lorg/graalvm/compiler/core/common/util/UnsafeArrayTypeWriter;
aload 0
getfield org.graalvm.compiler.nodes.GraphEncoder.objects:Lorg/graalvm/compiler/core/common/util/FrequencyEncoder;
aload 1
invokevirtual org.graalvm.compiler.core.common.util.FrequencyEncoder.getIndex:(Ljava/lang/Object;)I
i2l
invokevirtual org.graalvm.compiler.core.common.util.UnsafeArrayTypeWriter.putUV:(J)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/nodes/GraphEncoder;
0 2 1 object Ljava/lang/Object;
MethodParameters:
Name Flags
object
public static boolean verifyEncoding(org.graalvm.compiler.nodes.StructuredGraph, org.graalvm.compiler.nodes.EncodedGraph, jdk.vm.ci.code.Architecture);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/EncodedGraph;Ljdk/vm/ci/code/Architecture;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
astore 3
start local 3 1: new org.graalvm.compiler.nodes.StructuredGraph$Builder
dup
aload 0
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
aload 3
getstatic org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions.YES:Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;
invokespecial org.graalvm.compiler.nodes.StructuredGraph$Builder.<init>:(Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/debug/DebugContext;Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;)V
2: aload 0
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.method:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph$Builder.method:(Ljdk/vm/ci/meta/ResolvedJavaMethod;)Lorg/graalvm/compiler/nodes/StructuredGraph$Builder;
3: aload 0
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.isSubstitution:()Z
invokevirtual org.graalvm.compiler.nodes.StructuredGraph$Builder.setIsSubstitution:(Z)Lorg/graalvm/compiler/nodes/StructuredGraph$Builder;
4: aload 0
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.trackNodeSourcePosition:()Z
invokevirtual org.graalvm.compiler.nodes.StructuredGraph$Builder.trackNodeSourcePosition:(Z)Lorg/graalvm/compiler/nodes/StructuredGraph$Builder;
5: invokevirtual org.graalvm.compiler.nodes.StructuredGraph$Builder.build:()Lorg/graalvm/compiler/nodes/StructuredGraph;
6: astore 4
start local 4 7: new org.graalvm.compiler.nodes.GraphDecoder
dup
aload 2
aload 4
invokespecial org.graalvm.compiler.nodes.GraphDecoder.<init>:(Ljdk/vm/ci/code/Architecture;Lorg/graalvm/compiler/nodes/StructuredGraph;)V
astore 5
start local 5 8: aload 5
aload 1
invokevirtual org.graalvm.compiler.nodes.GraphDecoder.decode:(Lorg/graalvm/compiler/nodes/EncodedGraph;)V
9: aload 4
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.verify:()Z
pop
10: aload 0
aload 4
invokestatic org.graalvm.compiler.nodes.GraphComparison.verifyGraphsEqual:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/StructuredGraph;)Z
pop
11: goto 25
StackMap locals: org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.EncodedGraph jdk.vm.ci.code.Architecture org.graalvm.compiler.debug.DebugContext org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.GraphDecoder
StackMap stack: java.lang.Throwable
12: astore 6
start local 6 13: aload 0
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
pop
14: aconst_null
astore 7
aconst_null
astore 8
15: aload 3
ldc "GraphEncoder"
invokevirtual org.graalvm.compiler.debug.DebugContext.scope:(Ljava/lang/Object;)Lorg/graalvm/compiler/debug/DebugContext$Scope;
astore 9
start local 9 16: aload 3
iconst_3
aload 0
ldc "Original Graph"
invokevirtual org.graalvm.compiler.debug.DebugContext.dump:(ILjava/lang/Object;Ljava/lang/String;)V
17: aload 3
iconst_3
aload 4
ldc "Decoded Graph"
invokevirtual org.graalvm.compiler.debug.DebugContext.dump:(ILjava/lang/Object;Ljava/lang/String;)V
18: aload 9
ifnull 24
aload 9
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
goto 24
StackMap locals: org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.EncodedGraph jdk.vm.ci.code.Architecture org.graalvm.compiler.debug.DebugContext org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.GraphDecoder java.lang.Throwable java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope
StackMap stack: java.lang.Throwable
19: astore 7
aload 9
ifnull 20
aload 9
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
end local 9 StackMap locals:
StackMap stack:
20: aload 7
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
21: astore 8
aload 7
ifnonnull 22
aload 8
astore 7
goto 23
StackMap locals:
StackMap stack:
22: aload 7
aload 8
if_acmpeq 23
aload 7
aload 8
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
23: aload 7
athrow
24: StackMap locals:
StackMap stack:
aload 6
athrow
end local 6 25: StackMap locals:
StackMap stack:
iconst_1
ireturn
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 26 0 originalGraph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 26 1 encodedGraph Lorg/graalvm/compiler/nodes/EncodedGraph;
0 26 2 architecture Ljdk/vm/ci/code/Architecture;
1 26 3 debug Lorg/graalvm/compiler/debug/DebugContext;
7 26 4 decodedGraph Lorg/graalvm/compiler/nodes/StructuredGraph;
8 26 5 decoder Lorg/graalvm/compiler/nodes/GraphDecoder;
13 25 6 ex Ljava/lang/Throwable;
16 20 9 scope Lorg/graalvm/compiler/debug/DebugContext$Scope;
Exception table:
from to target type
10 11 12 Class java.lang.Throwable
16 18 19 any
15 21 21 any
MethodParameters:
Name Flags
originalGraph
encodedGraph
architecture
}
SourceFile: "GraphEncoder.java"
NestMembers:
org.graalvm.compiler.nodes.GraphEncoder$NodeOrder
InnerClasses:
public abstract Scope = org.graalvm.compiler.debug.DebugContext$Scope of org.graalvm.compiler.debug.DebugContext
public final Type = org.graalvm.compiler.graph.Edges$Type of org.graalvm.compiler.graph.Edges
NodeOrder = org.graalvm.compiler.nodes.GraphEncoder$NodeOrder of org.graalvm.compiler.nodes.GraphEncoder
public final AllowAssumptions = org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions of org.graalvm.compiler.nodes.StructuredGraph
public Builder = org.graalvm.compiler.nodes.StructuredGraph$Builder of org.graalvm.compiler.nodes.StructuredGraph