public abstract class org.graalvm.compiler.phases.graph.SinglePassNodeIterator<T extends org.graalvm.compiler.phases.graph.MergeableState<T>>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.graalvm.compiler.phases.graph.SinglePassNodeIterator
super_class: java.lang.Object
{
private final org.graalvm.compiler.graph.NodeBitMap visitedEnds;
descriptor: Lorg/graalvm/compiler/graph/NodeBitMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Deque<org.graalvm.compiler.phases.graph.SinglePassNodeIterator$PathStart<T>> nodeQueue;
descriptor: Ljava/util/Deque;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Deque<Lorg/graalvm/compiler/phases/graph/SinglePassNodeIterator$PathStart<TT;>;>;
private final java.util.Map<org.graalvm.compiler.nodes.FixedNode, T> nodeStates;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Lorg/graalvm/compiler/nodes/FixedNode;TT;>;
private final org.graalvm.compiler.nodes.StartNode start;
descriptor: Lorg/graalvm/compiler/nodes/StartNode;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected T state;
descriptor: Lorg/graalvm/compiler/phases/graph/MergeableState;
flags: (0x0004) ACC_PROTECTED
Signature: TT;
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/phases/graph/SinglePassNodeIterator;
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.phases.graph.SinglePassNodeIterator.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.graalvm.compiler.nodes.StartNode, );
descriptor: (Lorg/graalvm/compiler/nodes/StartNode;Lorg/graalvm/compiler/phases/graph/MergeableState;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
invokevirtual org.graalvm.compiler.nodes.StartNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 3
start local 3 2: aload 0
aload 3
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.createNodeBitMap:()Lorg/graalvm/compiler/graph/NodeBitMap;
putfield org.graalvm.compiler.phases.graph.SinglePassNodeIterator.visitedEnds:Lorg/graalvm/compiler/graph/NodeBitMap;
3: aload 0
new java.util.ArrayDeque
dup
invokespecial java.util.ArrayDeque.<init>:()V
putfield org.graalvm.compiler.phases.graph.SinglePassNodeIterator.nodeQueue:Ljava/util/Deque;
4: aload 0
invokestatic org.graalvm.compiler.graph.Node.newIdentityMap:()Ljava/util/Map;
putfield org.graalvm.compiler.phases.graph.SinglePassNodeIterator.nodeStates:Ljava/util/Map;
5: aload 0
aload 1
putfield org.graalvm.compiler.phases.graph.SinglePassNodeIterator.start:Lorg/graalvm/compiler/nodes/StartNode;
6: aload 0
aload 2
putfield org.graalvm.compiler.phases.graph.SinglePassNodeIterator.state:Lorg/graalvm/compiler/phases/graph/MergeableState;
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/graalvm/compiler/phases/graph/SinglePassNodeIterator<TT;>;
0 8 1 start Lorg/graalvm/compiler/nodes/StartNode;
0 8 2 initialState TT;
2 8 3 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
Signature: (Lorg/graalvm/compiler/nodes/StartNode;TT;)V
MethodParameters:
Name Flags
start
initialState
public void apply();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.phases.graph.SinglePassNodeIterator.start:Lorg/graalvm/compiler/nodes/StartNode;
astore 1
start local 1 1: StackMap locals: org.graalvm.compiler.nodes.FixedNode
StackMap stack:
aload 1
instanceof org.graalvm.compiler.nodes.InvokeWithExceptionNode
ifeq 6
2: aload 0
aload 1
checkcast org.graalvm.compiler.nodes.Invoke
invokevirtual org.graalvm.compiler.phases.graph.SinglePassNodeIterator.invoke:(Lorg/graalvm/compiler/nodes/Invoke;)V
3: aload 0
aload 1
invokevirtual org.graalvm.compiler.phases.graph.SinglePassNodeIterator.queueSuccessors:(Lorg/graalvm/compiler/nodes/FixedNode;)V
4: aload 0
invokevirtual org.graalvm.compiler.phases.graph.SinglePassNodeIterator.nextQueuedNode:()Lorg/graalvm/compiler/nodes/FixedNode;
astore 1
5: goto 43
StackMap locals:
StackMap stack:
6: aload 1
instanceof org.graalvm.compiler.nodes.LoopBeginNode
ifeq 13
7: aload 0
getfield org.graalvm.compiler.phases.graph.SinglePassNodeIterator.state:Lorg/graalvm/compiler/phases/graph/MergeableState;
aload 1
checkcast org.graalvm.compiler.nodes.LoopBeginNode
invokevirtual org.graalvm.compiler.phases.graph.MergeableState.loopBegin:(Lorg/graalvm/compiler/nodes/LoopBeginNode;)V
8: aload 0
aload 1
aload 0
getfield org.graalvm.compiler.phases.graph.SinglePassNodeIterator.state:Lorg/graalvm/compiler/phases/graph/MergeableState;
invokevirtual org.graalvm.compiler.phases.graph.SinglePassNodeIterator.keepForLater:(Lorg/graalvm/compiler/nodes/FixedNode;Lorg/graalvm/compiler/phases/graph/MergeableState;)V
9: aload 0
aload 0
getfield org.graalvm.compiler.phases.graph.SinglePassNodeIterator.state:Lorg/graalvm/compiler/phases/graph/MergeableState;
invokevirtual org.graalvm.compiler.phases.graph.MergeableState.clone:()Ljava/lang/Object;
checkcast org.graalvm.compiler.phases.graph.MergeableState
putfield org.graalvm.compiler.phases.graph.SinglePassNodeIterator.state:Lorg/graalvm/compiler/phases/graph/MergeableState;
10: aload 0
aload 1
checkcast org.graalvm.compiler.nodes.LoopBeginNode
invokevirtual org.graalvm.compiler.phases.graph.SinglePassNodeIterator.loopBegin:(Lorg/graalvm/compiler/nodes/LoopBeginNode;)V
11: aload 1
checkcast org.graalvm.compiler.nodes.LoopBeginNode
invokevirtual org.graalvm.compiler.nodes.LoopBeginNode.next:()Lorg/graalvm/compiler/nodes/FixedNode;
astore 1
12: getstatic org.graalvm.compiler.phases.graph.SinglePassNodeIterator.$assertionsDisabled:Z
ifne 43
aload 1
ifnonnull 43
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
13: StackMap locals:
StackMap stack:
aload 1
instanceof org.graalvm.compiler.nodes.LoopEndNode
ifeq 18
14: aload 0
aload 1
checkcast org.graalvm.compiler.nodes.LoopEndNode
invokevirtual org.graalvm.compiler.phases.graph.SinglePassNodeIterator.loopEnd:(Lorg/graalvm/compiler/nodes/LoopEndNode;)V
15: aload 0
aload 1
checkcast org.graalvm.compiler.nodes.LoopEndNode
invokevirtual org.graalvm.compiler.phases.graph.SinglePassNodeIterator.finishLoopEnds:(Lorg/graalvm/compiler/nodes/LoopEndNode;)V
16: aload 0
invokevirtual org.graalvm.compiler.phases.graph.SinglePassNodeIterator.nextQueuedNode:()Lorg/graalvm/compiler/nodes/FixedNode;
astore 1
17: goto 43
StackMap locals:
StackMap stack:
18: aload 1
instanceof org.graalvm.compiler.nodes.AbstractMergeNode
ifeq 22
19: aload 0
aload 1
checkcast org.graalvm.compiler.nodes.AbstractMergeNode
invokevirtual org.graalvm.compiler.phases.graph.SinglePassNodeIterator.merge:(Lorg/graalvm/compiler/nodes/AbstractMergeNode;)V
20: aload 1
checkcast org.graalvm.compiler.nodes.AbstractMergeNode
invokevirtual org.graalvm.compiler.nodes.AbstractMergeNode.next:()Lorg/graalvm/compiler/nodes/FixedNode;
astore 1
21: getstatic org.graalvm.compiler.phases.graph.SinglePassNodeIterator.$assertionsDisabled:Z
ifne 43
aload 1
ifnonnull 43
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
22: StackMap locals:
StackMap stack:
aload 1
instanceof org.graalvm.compiler.nodes.FixedWithNextNode
ifeq 28
23: aload 1
checkcast org.graalvm.compiler.nodes.FixedWithNextNode
invokevirtual org.graalvm.compiler.nodes.FixedWithNextNode.next:()Lorg/graalvm/compiler/nodes/FixedNode;
astore 2
start local 2 24: getstatic org.graalvm.compiler.phases.graph.SinglePassNodeIterator.$assertionsDisabled:Z
ifne 25
aload 2
ifnonnull 25
new java.lang.AssertionError
dup
aload 1
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
25: StackMap locals: org.graalvm.compiler.nodes.FixedNode
StackMap stack:
aload 0
aload 1
invokevirtual org.graalvm.compiler.phases.graph.SinglePassNodeIterator.node:(Lorg/graalvm/compiler/nodes/FixedNode;)V
26: aload 2
astore 1
end local 2 27: goto 43
StackMap locals:
StackMap stack:
28: aload 1
instanceof org.graalvm.compiler.nodes.EndNode
ifeq 33
29: aload 0
aload 1
checkcast org.graalvm.compiler.nodes.EndNode
invokevirtual org.graalvm.compiler.phases.graph.SinglePassNodeIterator.end:(Lorg/graalvm/compiler/nodes/EndNode;)V
30: aload 0
aload 1
checkcast org.graalvm.compiler.nodes.EndNode
invokevirtual org.graalvm.compiler.phases.graph.SinglePassNodeIterator.queueMerge:(Lorg/graalvm/compiler/nodes/EndNode;)V
31: aload 0
invokevirtual org.graalvm.compiler.phases.graph.SinglePassNodeIterator.nextQueuedNode:()Lorg/graalvm/compiler/nodes/FixedNode;
astore 1
32: goto 43
StackMap locals:
StackMap stack:
33: aload 1
instanceof org.graalvm.compiler.nodes.ControlSinkNode
ifeq 37
34: aload 0
aload 1
invokevirtual org.graalvm.compiler.phases.graph.SinglePassNodeIterator.node:(Lorg/graalvm/compiler/nodes/FixedNode;)V
35: aload 0
invokevirtual org.graalvm.compiler.phases.graph.SinglePassNodeIterator.nextQueuedNode:()Lorg/graalvm/compiler/nodes/FixedNode;
astore 1
36: goto 43
StackMap locals:
StackMap stack:
37: aload 1
instanceof org.graalvm.compiler.nodes.ControlSplitNode
ifeq 42
38: aload 0
aload 1
checkcast org.graalvm.compiler.nodes.ControlSplitNode
invokevirtual org.graalvm.compiler.phases.graph.SinglePassNodeIterator.controlSplit:(Lorg/graalvm/compiler/nodes/ControlSplitNode;)V
39: aload 0
aload 1
invokevirtual org.graalvm.compiler.phases.graph.SinglePassNodeIterator.queueSuccessors:(Lorg/graalvm/compiler/nodes/FixedNode;)V
40: aload 0
invokevirtual org.graalvm.compiler.phases.graph.SinglePassNodeIterator.nextQueuedNode:()Lorg/graalvm/compiler/nodes/FixedNode;
astore 1
41: goto 43
42: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.phases.graph.SinglePassNodeIterator.$assertionsDisabled:Z
ifne 43
new java.lang.AssertionError
dup
aload 1
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
43: StackMap locals:
StackMap stack:
aload 1
ifnonnull 1
44: aload 0
invokevirtual org.graalvm.compiler.phases.graph.SinglePassNodeIterator.finished:()V
45: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 46 0 this Lorg/graalvm/compiler/phases/graph/SinglePassNodeIterator<TT;>;
1 46 1 current Lorg/graalvm/compiler/nodes/FixedNode;
24 27 2 next Lorg/graalvm/compiler/nodes/FixedNode;
private void queueSuccessors(org.graalvm.compiler.nodes.FixedNode);
descriptor: (Lorg/graalvm/compiler/nodes/FixedNode;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.phases.graph.SinglePassNodeIterator.state:Lorg/graalvm/compiler/phases/graph/MergeableState;
astore 2
start local 2 1: aload 2
astore 3
start local 3 2: aload 1
invokevirtual org.graalvm.compiler.nodes.FixedNode.successors:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
astore 5
goto 9
StackMap locals: org.graalvm.compiler.phases.graph.SinglePassNodeIterator org.graalvm.compiler.nodes.FixedNode org.graalvm.compiler.phases.graph.MergeableState org.graalvm.compiler.phases.graph.MergeableState top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 4
start local 4 4: aload 4
ifnull 9
5: aload 3
ifnonnull 7
6: aload 2
invokevirtual org.graalvm.compiler.phases.graph.MergeableState.clone:()Ljava/lang/Object;
checkcast org.graalvm.compiler.phases.graph.MergeableState
astore 3
7: StackMap locals: org.graalvm.compiler.phases.graph.SinglePassNodeIterator org.graalvm.compiler.nodes.FixedNode org.graalvm.compiler.phases.graph.MergeableState org.graalvm.compiler.phases.graph.MergeableState org.graalvm.compiler.graph.Node java.util.Iterator
StackMap stack:
aload 4
checkcast org.graalvm.compiler.nodes.AbstractBeginNode
astore 6
start local 6 8: aload 0
getfield org.graalvm.compiler.phases.graph.SinglePassNodeIterator.nodeQueue:Ljava/util/Deque;
new org.graalvm.compiler.phases.graph.SinglePassNodeIterator$PathStart
dup
aload 6
aload 3
invokespecial org.graalvm.compiler.phases.graph.SinglePassNodeIterator$PathStart.<init>:(Lorg/graalvm/compiler/nodes/AbstractBeginNode;Ljava/lang/Object;)V
invokeinterface java.util.Deque.addFirst:(Ljava/lang/Object;)V
end local 6 end local 4 9: StackMap locals: org.graalvm.compiler.phases.graph.SinglePassNodeIterator org.graalvm.compiler.nodes.FixedNode org.graalvm.compiler.phases.graph.MergeableState org.graalvm.compiler.phases.graph.MergeableState top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
10: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/graalvm/compiler/phases/graph/SinglePassNodeIterator<TT;>;
0 11 1 x Lorg/graalvm/compiler/nodes/FixedNode;
1 11 2 startState TT;
2 11 3 curState TT;
4 9 4 succ Lorg/graalvm/compiler/graph/Node;
8 9 6 begin Lorg/graalvm/compiler/nodes/AbstractBeginNode;
MethodParameters:
Name Flags
x
private org.graalvm.compiler.nodes.FixedNode nextQueuedNode();
descriptor: ()Lorg/graalvm/compiler/nodes/FixedNode;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.phases.graph.SinglePassNodeIterator.nodeQueue:Ljava/util/Deque;
invokeinterface java.util.Deque.isEmpty:()Z
ifeq 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.phases.graph.SinglePassNodeIterator.nodeQueue:Ljava/util/Deque;
invokeinterface java.util.Deque.removeFirst:()Ljava/lang/Object;
checkcast org.graalvm.compiler.phases.graph.SinglePassNodeIterator$PathStart
astore 1
start local 1 3: aload 1
getfield org.graalvm.compiler.phases.graph.SinglePassNodeIterator$PathStart.node:Lorg/graalvm/compiler/nodes/AbstractBeginNode;
instanceof org.graalvm.compiler.nodes.AbstractMergeNode
ifeq 16
4: aload 1
getfield org.graalvm.compiler.phases.graph.SinglePassNodeIterator$PathStart.node:Lorg/graalvm/compiler/nodes/AbstractBeginNode;
checkcast org.graalvm.compiler.nodes.AbstractMergeNode
astore 2
start local 2 5: aload 0
aload 0
aload 2
iconst_0
invokevirtual org.graalvm.compiler.nodes.AbstractMergeNode.forwardEndAt:(I)Lorg/graalvm/compiler/nodes/EndNode;
invokevirtual org.graalvm.compiler.phases.graph.SinglePassNodeIterator.pruneEntry:(Lorg/graalvm/compiler/nodes/FixedNode;)Lorg/graalvm/compiler/phases/graph/MergeableState;
putfield org.graalvm.compiler.phases.graph.SinglePassNodeIterator.state:Lorg/graalvm/compiler/phases/graph/MergeableState;
6: new java.util.ArrayList
dup
aload 2
invokevirtual org.graalvm.compiler.nodes.AbstractMergeNode.forwardEndCount:()I
iconst_1
isub
invokespecial java.util.ArrayList.<init>:(I)V
astore 3
start local 3 7: iconst_1
istore 4
start local 4 8: goto 12
9: StackMap locals: org.graalvm.compiler.phases.graph.SinglePassNodeIterator org.graalvm.compiler.phases.graph.SinglePassNodeIterator$PathStart org.graalvm.compiler.nodes.AbstractMergeNode java.util.ArrayList int
StackMap stack:
aload 0
aload 2
iload 4
invokevirtual org.graalvm.compiler.nodes.AbstractMergeNode.forwardEndAt:(I)Lorg/graalvm/compiler/nodes/EndNode;
invokevirtual org.graalvm.compiler.phases.graph.SinglePassNodeIterator.pruneEntry:(Lorg/graalvm/compiler/nodes/FixedNode;)Lorg/graalvm/compiler/phases/graph/MergeableState;
astore 5
start local 5 10: aload 3
aload 5
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 5 11: iinc 4 1
StackMap locals:
StackMap stack:
12: iload 4
aload 2
invokevirtual org.graalvm.compiler.nodes.AbstractMergeNode.forwardEndCount:()I
if_icmplt 9
end local 4 13: aload 0
getfield org.graalvm.compiler.phases.graph.SinglePassNodeIterator.state:Lorg/graalvm/compiler/phases/graph/MergeableState;
aload 2
aload 3
invokevirtual org.graalvm.compiler.phases.graph.MergeableState.merge:(Lorg/graalvm/compiler/nodes/AbstractMergeNode;Ljava/util/List;)Z
istore 4
start local 4 14: getstatic org.graalvm.compiler.phases.graph.SinglePassNodeIterator.$assertionsDisabled:Z
ifne 15
iload 4
ifne 15
new java.lang.AssertionError
dup
ldc "Not a single-pass iterator after all"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
15: StackMap locals: org.graalvm.compiler.phases.graph.SinglePassNodeIterator org.graalvm.compiler.phases.graph.SinglePassNodeIterator$PathStart org.graalvm.compiler.nodes.AbstractMergeNode java.util.ArrayList int
StackMap stack:
aload 2
areturn
end local 4 end local 3 end local 2 16: StackMap locals:
StackMap stack:
aload 1
getfield org.graalvm.compiler.phases.graph.SinglePassNodeIterator$PathStart.node:Lorg/graalvm/compiler/nodes/AbstractBeginNode;
astore 2
start local 2 17: getstatic org.graalvm.compiler.phases.graph.SinglePassNodeIterator.$assertionsDisabled:Z
ifne 18
aload 2
invokevirtual org.graalvm.compiler.nodes.AbstractBeginNode.predecessor:()Lorg/graalvm/compiler/graph/Node;
ifnonnull 18
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
18: StackMap locals: org.graalvm.compiler.nodes.AbstractBeginNode
StackMap stack:
aload 0
aload 1
getfield org.graalvm.compiler.phases.graph.SinglePassNodeIterator$PathStart.stateOnEntry:Ljava/lang/Object;
checkcast org.graalvm.compiler.phases.graph.MergeableState
putfield org.graalvm.compiler.phases.graph.SinglePassNodeIterator.state:Lorg/graalvm/compiler/phases/graph/MergeableState;
19: aload 0
getfield org.graalvm.compiler.phases.graph.SinglePassNodeIterator.state:Lorg/graalvm/compiler/phases/graph/MergeableState;
aload 2
invokevirtual org.graalvm.compiler.phases.graph.MergeableState.afterSplit:(Lorg/graalvm/compiler/nodes/AbstractBeginNode;)V
20: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/graalvm/compiler/phases/graph/SinglePassNodeIterator<TT;>;
3 21 1 elem Lorg/graalvm/compiler/phases/graph/SinglePassNodeIterator$PathStart<TT;>;
5 16 2 merge Lorg/graalvm/compiler/nodes/AbstractMergeNode;
7 16 3 states Ljava/util/ArrayList<TT;>;
8 13 4 i I
10 11 5 other TT;
14 16 4 ready Z
17 21 2 begin Lorg/graalvm/compiler/nodes/AbstractBeginNode;
private void finishLoopEnds(org.graalvm.compiler.nodes.LoopEndNode);
descriptor: (Lorg/graalvm/compiler/nodes/LoopEndNode;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=10, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.phases.graph.SinglePassNodeIterator.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.graalvm.compiler.phases.graph.SinglePassNodeIterator.visitedEnds:Lorg/graalvm/compiler/graph/NodeBitMap;
aload 1
invokevirtual org.graalvm.compiler.graph.NodeBitMap.isMarked:(Lorg/graalvm/compiler/graph/Node;)Z
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.phases.graph.SinglePassNodeIterator.visitedEnds:Lorg/graalvm/compiler/graph/NodeBitMap;
aload 1
invokevirtual org.graalvm.compiler.graph.NodeBitMap.mark:(Lorg/graalvm/compiler/graph/Node;)V
2: aload 0
aload 1
aload 0
getfield org.graalvm.compiler.phases.graph.SinglePassNodeIterator.state:Lorg/graalvm/compiler/phases/graph/MergeableState;
invokevirtual org.graalvm.compiler.phases.graph.SinglePassNodeIterator.keepForLater:(Lorg/graalvm/compiler/nodes/FixedNode;Lorg/graalvm/compiler/phases/graph/MergeableState;)V
3: aload 1
invokevirtual org.graalvm.compiler.nodes.LoopEndNode.loopBegin:()Lorg/graalvm/compiler/nodes/LoopBeginNode;
astore 2
start local 2 4: iconst_1
istore 3
start local 3 5: aload 2
invokevirtual org.graalvm.compiler.nodes.LoopBeginNode.loopEnds:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
astore 5
goto 10
StackMap locals: org.graalvm.compiler.phases.graph.SinglePassNodeIterator org.graalvm.compiler.nodes.LoopEndNode org.graalvm.compiler.nodes.LoopBeginNode int top java.util.Iterator
StackMap stack:
6: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.LoopEndNode
astore 4
start local 4 7: aload 0
getfield org.graalvm.compiler.phases.graph.SinglePassNodeIterator.visitedEnds:Lorg/graalvm/compiler/graph/NodeBitMap;
aload 4
invokevirtual org.graalvm.compiler.graph.NodeBitMap.isMarked:(Lorg/graalvm/compiler/graph/Node;)Z
ifne 10
8: iconst_0
istore 3
9: goto 11
end local 4 10: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
11: StackMap locals: org.graalvm.compiler.phases.graph.SinglePassNodeIterator org.graalvm.compiler.nodes.LoopEndNode org.graalvm.compiler.nodes.LoopBeginNode int
StackMap stack:
iload 3
ifeq 21
12: new java.util.ArrayList
dup
aload 2
invokevirtual org.graalvm.compiler.nodes.LoopBeginNode.loopEnds:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.count:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 4
start local 4 13: aload 2
invokevirtual org.graalvm.compiler.nodes.LoopBeginNode.orderedLoopEnds:()[Lorg/graalvm/compiler/nodes/LoopEndNode;
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 18
StackMap locals: org.graalvm.compiler.phases.graph.SinglePassNodeIterator org.graalvm.compiler.nodes.LoopEndNode org.graalvm.compiler.nodes.LoopBeginNode int java.util.ArrayList top int int org.graalvm.compiler.nodes.LoopEndNode[]
StackMap stack:
14: aload 8
iload 6
aaload
astore 5
start local 5 15: aload 0
aload 5
invokevirtual org.graalvm.compiler.phases.graph.SinglePassNodeIterator.pruneEntry:(Lorg/graalvm/compiler/nodes/FixedNode;)Lorg/graalvm/compiler/phases/graph/MergeableState;
astore 9
start local 9 16: aload 4
aload 9
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 9 end local 5 17: iinc 6 1
StackMap locals:
StackMap stack:
18: iload 6
iload 7
if_icmplt 14
19: aload 0
aload 2
invokevirtual org.graalvm.compiler.phases.graph.SinglePassNodeIterator.pruneEntry:(Lorg/graalvm/compiler/nodes/FixedNode;)Lorg/graalvm/compiler/phases/graph/MergeableState;
astore 5
start local 5 20: aload 5
aload 2
aload 4
invokevirtual org.graalvm.compiler.phases.graph.MergeableState.loopEnds:(Lorg/graalvm/compiler/nodes/LoopBeginNode;Ljava/util/List;)V
end local 5 end local 4 21: StackMap locals: org.graalvm.compiler.phases.graph.SinglePassNodeIterator org.graalvm.compiler.nodes.LoopEndNode org.graalvm.compiler.nodes.LoopBeginNode int
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/graalvm/compiler/phases/graph/SinglePassNodeIterator<TT;>;
0 22 1 end Lorg/graalvm/compiler/nodes/LoopEndNode;
4 22 2 begin Lorg/graalvm/compiler/nodes/LoopBeginNode;
5 22 3 endsVisited Z
7 10 4 le Lorg/graalvm/compiler/nodes/LoopEndNode;
13 21 4 states Ljava/util/ArrayList<TT;>;
15 17 5 le Lorg/graalvm/compiler/nodes/LoopEndNode;
16 17 9 leState TT;
20 21 5 loopBeginState TT;
MethodParameters:
Name Flags
end
private void queueMerge(org.graalvm.compiler.nodes.EndNode);
descriptor: (Lorg/graalvm/compiler/nodes/EndNode;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.phases.graph.SinglePassNodeIterator.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.graalvm.compiler.phases.graph.SinglePassNodeIterator.visitedEnds:Lorg/graalvm/compiler/graph/NodeBitMap;
aload 1
invokevirtual org.graalvm.compiler.graph.NodeBitMap.isMarked:(Lorg/graalvm/compiler/graph/Node;)Z
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.phases.graph.SinglePassNodeIterator.visitedEnds:Lorg/graalvm/compiler/graph/NodeBitMap;
aload 1
invokevirtual org.graalvm.compiler.graph.NodeBitMap.mark:(Lorg/graalvm/compiler/graph/Node;)V
2: aload 0
aload 1
aload 0
getfield org.graalvm.compiler.phases.graph.SinglePassNodeIterator.state:Lorg/graalvm/compiler/phases/graph/MergeableState;
invokevirtual org.graalvm.compiler.phases.graph.SinglePassNodeIterator.keepForLater:(Lorg/graalvm/compiler/nodes/FixedNode;Lorg/graalvm/compiler/phases/graph/MergeableState;)V
3: aload 1
invokevirtual org.graalvm.compiler.nodes.EndNode.merge:()Lorg/graalvm/compiler/nodes/AbstractMergeNode;
astore 2
start local 2 4: iconst_1
istore 3
start local 3 5: iconst_0
istore 4
start local 4 6: goto 11
7: StackMap locals: org.graalvm.compiler.nodes.AbstractMergeNode int int
StackMap stack:
aload 0
getfield org.graalvm.compiler.phases.graph.SinglePassNodeIterator.visitedEnds:Lorg/graalvm/compiler/graph/NodeBitMap;
aload 2
iload 4
invokevirtual org.graalvm.compiler.nodes.AbstractMergeNode.forwardEndAt:(I)Lorg/graalvm/compiler/nodes/EndNode;
invokevirtual org.graalvm.compiler.graph.NodeBitMap.isMarked:(Lorg/graalvm/compiler/graph/Node;)Z
ifne 10
8: iconst_0
istore 3
9: goto 12
10: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
11: iload 4
aload 2
invokevirtual org.graalvm.compiler.nodes.AbstractMergeNode.forwardEndCount:()I
if_icmplt 7
end local 4 12: StackMap locals:
StackMap stack:
iload 3
ifeq 14
13: aload 0
getfield org.graalvm.compiler.phases.graph.SinglePassNodeIterator.nodeQueue:Ljava/util/Deque;
new org.graalvm.compiler.phases.graph.SinglePassNodeIterator$PathStart
dup
aload 2
aconst_null
invokespecial org.graalvm.compiler.phases.graph.SinglePassNodeIterator$PathStart.<init>:(Lorg/graalvm/compiler/nodes/AbstractBeginNode;Ljava/lang/Object;)V
invokeinterface java.util.Deque.add:(Ljava/lang/Object;)Z
pop
14: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/graalvm/compiler/phases/graph/SinglePassNodeIterator<TT;>;
0 15 1 end Lorg/graalvm/compiler/nodes/EndNode;
4 15 2 merge Lorg/graalvm/compiler/nodes/AbstractMergeNode;
5 15 3 endsVisited Z
6 12 4 i I
MethodParameters:
Name Flags
end
protected abstract void node(org.graalvm.compiler.nodes.FixedNode);
descriptor: (Lorg/graalvm/compiler/nodes/FixedNode;)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
node
protected void end(org.graalvm.compiler.nodes.EndNode);
descriptor: (Lorg/graalvm/compiler/nodes/EndNode;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.graalvm.compiler.phases.graph.SinglePassNodeIterator.node:(Lorg/graalvm/compiler/nodes/FixedNode;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/phases/graph/SinglePassNodeIterator<TT;>;
0 2 1 endNode Lorg/graalvm/compiler/nodes/EndNode;
MethodParameters:
Name Flags
endNode
protected void merge(org.graalvm.compiler.nodes.AbstractMergeNode);
descriptor: (Lorg/graalvm/compiler/nodes/AbstractMergeNode;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.graalvm.compiler.phases.graph.SinglePassNodeIterator.node:(Lorg/graalvm/compiler/nodes/FixedNode;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/phases/graph/SinglePassNodeIterator<TT;>;
0 2 1 merge Lorg/graalvm/compiler/nodes/AbstractMergeNode;
MethodParameters:
Name Flags
merge
protected void loopBegin(org.graalvm.compiler.nodes.LoopBeginNode);
descriptor: (Lorg/graalvm/compiler/nodes/LoopBeginNode;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.graalvm.compiler.phases.graph.SinglePassNodeIterator.node:(Lorg/graalvm/compiler/nodes/FixedNode;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/phases/graph/SinglePassNodeIterator<TT;>;
0 2 1 loopBegin Lorg/graalvm/compiler/nodes/LoopBeginNode;
MethodParameters:
Name Flags
loopBegin
protected void loopEnd(org.graalvm.compiler.nodes.LoopEndNode);
descriptor: (Lorg/graalvm/compiler/nodes/LoopEndNode;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.graalvm.compiler.phases.graph.SinglePassNodeIterator.node:(Lorg/graalvm/compiler/nodes/FixedNode;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/phases/graph/SinglePassNodeIterator<TT;>;
0 2 1 loopEnd Lorg/graalvm/compiler/nodes/LoopEndNode;
MethodParameters:
Name Flags
loopEnd
protected void controlSplit(org.graalvm.compiler.nodes.ControlSplitNode);
descriptor: (Lorg/graalvm/compiler/nodes/ControlSplitNode;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.graalvm.compiler.phases.graph.SinglePassNodeIterator.node:(Lorg/graalvm/compiler/nodes/FixedNode;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/phases/graph/SinglePassNodeIterator<TT;>;
0 2 1 controlSplit Lorg/graalvm/compiler/nodes/ControlSplitNode;
MethodParameters:
Name Flags
controlSplit
protected void invoke(org.graalvm.compiler.nodes.Invoke);
descriptor: (Lorg/graalvm/compiler/nodes/Invoke;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface org.graalvm.compiler.nodes.Invoke.asNode:()Lorg/graalvm/compiler/nodes/FixedNode;
invokevirtual org.graalvm.compiler.phases.graph.SinglePassNodeIterator.node:(Lorg/graalvm/compiler/nodes/FixedNode;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/phases/graph/SinglePassNodeIterator<TT;>;
0 2 1 invoke Lorg/graalvm/compiler/nodes/Invoke;
MethodParameters:
Name Flags
invoke
protected void finished();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.phases.graph.SinglePassNodeIterator.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.graalvm.compiler.phases.graph.SinglePassNodeIterator.nodeQueue:Ljava/util/Deque;
invokeinterface java.util.Deque.isEmpty:()Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.phases.graph.SinglePassNodeIterator.$assertionsDisabled:Z
ifne 2
aload 0
getfield org.graalvm.compiler.phases.graph.SinglePassNodeIterator.nodeStates:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ifne 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/phases/graph/SinglePassNodeIterator<TT;>;
private void keepForLater(org.graalvm.compiler.nodes.FixedNode, );
descriptor: (Lorg/graalvm/compiler/nodes/FixedNode;Lorg/graalvm/compiler/phases/graph/MergeableState;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.graalvm.compiler.phases.graph.SinglePassNodeIterator.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.graalvm.compiler.phases.graph.SinglePassNodeIterator.nodeStates:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.phases.graph.SinglePassNodeIterator.$assertionsDisabled:Z
ifne 2
aload 1
instanceof org.graalvm.compiler.nodes.LoopBeginNode
ifne 2
aload 1
instanceof org.graalvm.compiler.nodes.LoopEndNode
ifne 2
aload 1
instanceof org.graalvm.compiler.nodes.EndNode
ifne 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.phases.graph.SinglePassNodeIterator.$assertionsDisabled:Z
ifne 3
aload 2
ifnonnull 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.phases.graph.SinglePassNodeIterator.nodeStates:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/phases/graph/SinglePassNodeIterator<TT;>;
0 5 1 x Lorg/graalvm/compiler/nodes/FixedNode;
0 5 2 s TT;
Signature: (Lorg/graalvm/compiler/nodes/FixedNode;TT;)V
MethodParameters:
Name Flags
x
s
private T pruneEntry(org.graalvm.compiler.nodes.FixedNode);
descriptor: (Lorg/graalvm/compiler/nodes/FixedNode;)Lorg/graalvm/compiler/phases/graph/MergeableState;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.phases.graph.SinglePassNodeIterator.nodeStates:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.compiler.phases.graph.MergeableState
astore 2
start local 2 1: getstatic org.graalvm.compiler.phases.graph.SinglePassNodeIterator.$assertionsDisabled:Z
ifne 2
aload 2
ifnonnull 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: org.graalvm.compiler.phases.graph.MergeableState
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/phases/graph/SinglePassNodeIterator<TT;>;
0 3 1 x Lorg/graalvm/compiler/nodes/FixedNode;
1 3 2 result TT;
Signature: (Lorg/graalvm/compiler/nodes/FixedNode;)TT;
MethodParameters:
Name Flags
x
}
Signature: <T:Lorg/graalvm/compiler/phases/graph/MergeableState<TT;>;>Ljava/lang/Object;
SourceFile: "SinglePassNodeIterator.java"
NestMembers:
org.graalvm.compiler.phases.graph.SinglePassNodeIterator$PathStart
InnerClasses:
private final PathStart = org.graalvm.compiler.phases.graph.SinglePassNodeIterator$PathStart of org.graalvm.compiler.phases.graph.SinglePassNodeIterator