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<*>;
protected org.graalvm.compiler.debug.DebugContext debug;
descriptor: Lorg/graalvm/compiler/debug/DebugContext;
flags: (0x0004) ACC_PROTECTED
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=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokespecial org.graalvm.compiler.nodes.GraphEncoder.<init>:(Ljdk/vm/ci/code/Architecture;Lorg/graalvm/compiler/debug/DebugContext;)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 architecture Ljdk/vm/ci/code/Architecture;
MethodParameters:
Name Flags
architecture
public void <init>(jdk.vm.ci.code.Architecture, org.graalvm.compiler.debug.DebugContext);
descriptor: (Ljdk/vm/ci/code/Architecture;Lorg/graalvm/compiler/debug/DebugContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 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
aload 2
putfield org.graalvm.compiler.nodes.GraphEncoder.debug:Lorg/graalvm/compiler/debug/DebugContext;
3: 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;
4: 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;
5: 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;
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/nodes/GraphEncoder;
0 7 1 architecture Ljdk/vm/ci/code/Architecture;
0 7 2 debug Lorg/graalvm/compiler/debug/DebugContext;
MethodParameters:
Name Flags
architecture
debug
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 0
getfield org.graalvm.compiler.nodes.GraphEncoder.objects:Lorg/graalvm/compiler/core/common/util/FrequencyEncoder;
aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getGuardsStage:()Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;
invokevirtual org.graalvm.compiler.core.common.util.FrequencyEncoder.addObject:(Ljava/lang/Object;)V
1: 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 14
StackMap locals: org.graalvm.compiler.nodes.GraphEncoder org.graalvm.compiler.nodes.StructuredGraph top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 2
start local 2 3: aload 2
invokevirtual org.graalvm.compiler.graph.Node.getNodeClass:()Lorg/graalvm/compiler/graph/NodeClass;
astore 4
start local 4 4: 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
5: 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
6: iconst_0
istore 5
start local 5 7: goto 11
8: 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 10
9: 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
10: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
11: 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 8
end local 5 12: aload 2
instanceof org.graalvm.compiler.nodes.Invoke
ifeq 14
13: 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 14: 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 2
15: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/graalvm/compiler/nodes/GraphEncoder;
0 16 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
3 14 2 node Lorg/graalvm/compiler/graph/Node;
4 14 4 nodeClass Lorg/graalvm/compiler/graph/NodeClass<+Lorg/graalvm/compiler/graph/Node;>;
7 12 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=9, 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: aload 0
aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getGuardsStage:()Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;
invokevirtual org.graalvm.compiler.nodes.GraphEncoder.writeObjectId:(Ljava/lang/Object;)V
63: getstatic org.graalvm.compiler.nodes.GraphEncoder.$assertionsDisabled:Z
ifne 64
aload 0
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
invokevirtual org.graalvm.compiler.nodes.GraphEncoder.verifyEncoding:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/EncodedGraph;)Z
ifne 64
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
64: 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 65 0 this Lorg/graalvm/compiler/nodes/GraphEncoder;
0 65 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
3 65 2 nodeOrder Lorg/graalvm/compiler/nodes/GraphEncoder$NodeOrder;
4 65 3 nodeCount I
7 65 4 nodeStartOffsets [J
8 65 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 65 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 boolean verifyEncoding(org.graalvm.compiler.nodes.StructuredGraph, org.graalvm.compiler.nodes.EncodedGraph);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/EncodedGraph;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.graalvm.compiler.nodes.GraphEncoder.debug:Lorg/graalvm/compiler/debug/DebugContext;
ifnull 1
aload 0
getfield org.graalvm.compiler.nodes.GraphEncoder.debug:Lorg/graalvm/compiler/debug/DebugContext;
goto 2
StackMap locals:
StackMap stack:
1: aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
StackMap locals:
StackMap stack: org.graalvm.compiler.debug.DebugContext
2: astore 3
start local 3 3: new org.graalvm.compiler.nodes.StructuredGraph$Builder
dup
aload 1
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
4: aload 1
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;
5: aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.isSubstitution:()Z
invokevirtual org.graalvm.compiler.nodes.StructuredGraph$Builder.setIsSubstitution:(Z)Lorg/graalvm/compiler/nodes/StructuredGraph$Builder;
6: aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.trackNodeSourcePosition:()Z
invokevirtual org.graalvm.compiler.nodes.StructuredGraph$Builder.trackNodeSourcePosition:(Z)Lorg/graalvm/compiler/nodes/StructuredGraph$Builder;
7: invokevirtual org.graalvm.compiler.nodes.StructuredGraph$Builder.build:()Lorg/graalvm/compiler/nodes/StructuredGraph;
8: astore 4
start local 4 9: new org.graalvm.compiler.nodes.GraphDecoder
dup
aload 0
getfield org.graalvm.compiler.nodes.GraphEncoder.architecture:Ljdk/vm/ci/code/Architecture;
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 10: aload 5
aload 2
invokevirtual org.graalvm.compiler.nodes.GraphDecoder.decode:(Lorg/graalvm/compiler/nodes/EncodedGraph;)V
11: aload 4
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.verify:()Z
pop
12: aload 1
aload 4
invokestatic org.graalvm.compiler.nodes.GraphComparison.verifyGraphsEqual:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/StructuredGraph;)Z
pop
13: goto 27
StackMap locals: org.graalvm.compiler.nodes.GraphEncoder org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.EncodedGraph org.graalvm.compiler.debug.DebugContext org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.GraphDecoder
StackMap stack: java.lang.Throwable
14: astore 6
start local 6 15: aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
pop
16: aconst_null
astore 7
aconst_null
astore 8
17: 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 18: aload 3
iconst_3
aload 1
ldc "Original Graph"
invokevirtual org.graalvm.compiler.debug.DebugContext.dump:(ILjava/lang/Object;Ljava/lang/String;)V
19: aload 3
iconst_3
aload 4
ldc "Decoded Graph"
invokevirtual org.graalvm.compiler.debug.DebugContext.dump:(ILjava/lang/Object;Ljava/lang/String;)V
20: aload 9
ifnull 26
aload 9
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
goto 26
StackMap locals: org.graalvm.compiler.nodes.GraphEncoder org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.EncodedGraph 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
21: astore 7
aload 9
ifnull 22
aload 9
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
end local 9 StackMap locals:
StackMap stack:
22: aload 7
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
23: astore 8
aload 7
ifnonnull 24
aload 8
astore 7
goto 25
StackMap locals:
StackMap stack:
24: aload 7
aload 8
if_acmpeq 25
aload 7
aload 8
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
25: aload 7
athrow
26: StackMap locals:
StackMap stack:
aload 6
athrow
end local 6 27: 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 28 0 this Lorg/graalvm/compiler/nodes/GraphEncoder;
0 28 1 originalGraph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 28 2 encodedGraph Lorg/graalvm/compiler/nodes/EncodedGraph;
3 28 3 debugContext Lorg/graalvm/compiler/debug/DebugContext;
9 28 4 decodedGraph Lorg/graalvm/compiler/nodes/StructuredGraph;
10 28 5 decoder Lorg/graalvm/compiler/nodes/GraphDecoder;
15 27 6 ex Ljava/lang/Throwable;
18 22 9 scope Lorg/graalvm/compiler/debug/DebugContext$Scope;
Exception table:
from to target type
12 13 14 Class java.lang.Throwable
18 20 21 any
17 23 23 any
MethodParameters:
Name Flags
originalGraph
encodedGraph
}
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
public final GuardsStage = org.graalvm.compiler.nodes.StructuredGraph$GuardsStage of org.graalvm.compiler.nodes.StructuredGraph