public class org.graalvm.compiler.phases.common.inlining.walker.InliningIterator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.phases.common.inlining.walker.InliningIterator
super_class: java.lang.Object
{
private final org.graalvm.compiler.nodes.StartNode start;
descriptor: Lorg/graalvm/compiler/nodes/StartNode;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Deque<org.graalvm.compiler.nodes.FixedNode> nodeQueue;
descriptor: Ljava/util/Deque;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Deque<Lorg/graalvm/compiler/nodes/FixedNode;>;
private final org.graalvm.compiler.graph.NodeBitMap queuedNodes;
descriptor: Lorg/graalvm/compiler/graph/NodeBitMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/phases/common/inlining/walker/InliningIterator;
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.common.inlining.walker.InliningIterator.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.graalvm.compiler.nodes.StructuredGraph);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, 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
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.start:()Lorg/graalvm/compiler/nodes/StartNode;
putfield org.graalvm.compiler.phases.common.inlining.walker.InliningIterator.start:Lorg/graalvm/compiler/nodes/StartNode;
2: aload 0
new java.util.ArrayDeque
dup
invokespecial java.util.ArrayDeque.<init>:()V
putfield org.graalvm.compiler.phases.common.inlining.walker.InliningIterator.nodeQueue:Ljava/util/Deque;
3: aload 0
aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.createNodeBitMap:()Lorg/graalvm/compiler/graph/NodeBitMap;
putfield org.graalvm.compiler.phases.common.inlining.walker.InliningIterator.queuedNodes:Lorg/graalvm/compiler/graph/NodeBitMap;
4: getstatic org.graalvm.compiler.phases.common.inlining.walker.InliningIterator.$assertionsDisabled:Z
ifne 5
aload 0
getfield org.graalvm.compiler.phases.common.inlining.walker.InliningIterator.start:Lorg/graalvm/compiler/nodes/StartNode;
invokevirtual org.graalvm.compiler.nodes.StartNode.isAlive:()Z
ifne 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals: org.graalvm.compiler.phases.common.inlining.walker.InliningIterator org.graalvm.compiler.nodes.StructuredGraph
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/phases/common/inlining/walker/InliningIterator;
0 6 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
MethodParameters:
Name Flags
graph
public java.util.LinkedList<org.graalvm.compiler.nodes.Invoke> apply();
descriptor: ()Ljava/util/LinkedList;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
astore 1
start local 1 1: aload 0
aload 0
getfield org.graalvm.compiler.phases.common.inlining.walker.InliningIterator.start:Lorg/graalvm/compiler/nodes/StartNode;
invokevirtual org.graalvm.compiler.phases.common.inlining.walker.InliningIterator.forcedQueue:(Lorg/graalvm/compiler/graph/Node;)V
2: goto 27
start local 2 3: StackMap locals: java.util.LinkedList org.graalvm.compiler.nodes.FixedNode
StackMap stack:
getstatic org.graalvm.compiler.phases.common.inlining.walker.InliningIterator.$assertionsDisabled:Z
ifne 4
aload 2
invokevirtual org.graalvm.compiler.nodes.FixedNode.isAlive:()Z
ifne 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 2
instanceof org.graalvm.compiler.nodes.Invoke
ifeq 9
aload 2
checkcast org.graalvm.compiler.nodes.Invoke
invokeinterface org.graalvm.compiler.nodes.Invoke.callTarget:()Lorg/graalvm/compiler/nodes/CallTargetNode;
instanceof org.graalvm.compiler.nodes.java.MethodCallTargetNode
ifeq 9
5: aload 2
aload 0
getfield org.graalvm.compiler.phases.common.inlining.walker.InliningIterator.start:Lorg/graalvm/compiler/nodes/StartNode;
if_acmpeq 7
6: aload 1
aload 2
checkcast org.graalvm.compiler.nodes.Invoke
invokevirtual java.util.LinkedList.addLast:(Ljava/lang/Object;)V
7: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual org.graalvm.compiler.phases.common.inlining.walker.InliningIterator.queueSuccessors:(Lorg/graalvm/compiler/nodes/FixedNode;)V
8: goto 27
StackMap locals:
StackMap stack:
9: aload 2
instanceof org.graalvm.compiler.nodes.LoopBeginNode
ifeq 12
10: aload 0
aload 2
invokevirtual org.graalvm.compiler.phases.common.inlining.walker.InliningIterator.queueSuccessors:(Lorg/graalvm/compiler/nodes/FixedNode;)V
11: goto 27
StackMap locals:
StackMap stack:
12: aload 2
instanceof org.graalvm.compiler.nodes.LoopEndNode
ifne 27
13: aload 2
instanceof org.graalvm.compiler.nodes.AbstractMergeNode
ifeq 16
14: aload 0
aload 2
invokevirtual org.graalvm.compiler.phases.common.inlining.walker.InliningIterator.queueSuccessors:(Lorg/graalvm/compiler/nodes/FixedNode;)V
15: goto 27
StackMap locals:
StackMap stack:
16: aload 2
instanceof org.graalvm.compiler.nodes.FixedWithNextNode
ifeq 19
17: aload 0
aload 2
invokevirtual org.graalvm.compiler.phases.common.inlining.walker.InliningIterator.queueSuccessors:(Lorg/graalvm/compiler/nodes/FixedNode;)V
18: goto 27
StackMap locals:
StackMap stack:
19: aload 2
instanceof org.graalvm.compiler.nodes.EndNode
ifeq 22
20: aload 0
aload 2
checkcast org.graalvm.compiler.nodes.EndNode
invokevirtual org.graalvm.compiler.phases.common.inlining.walker.InliningIterator.queueMerge:(Lorg/graalvm/compiler/nodes/AbstractEndNode;)V
21: goto 27
StackMap locals:
StackMap stack:
22: aload 2
instanceof org.graalvm.compiler.nodes.ControlSinkNode
ifne 27
23: aload 2
instanceof org.graalvm.compiler.nodes.ControlSplitNode
ifeq 26
24: aload 0
aload 2
invokevirtual org.graalvm.compiler.phases.common.inlining.walker.InliningIterator.queueSuccessors:(Lorg/graalvm/compiler/nodes/FixedNode;)V
25: goto 27
26: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.phases.common.inlining.walker.InliningIterator.$assertionsDisabled:Z
ifne 27
new java.lang.AssertionError
dup
aload 2
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 2 27: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.phases.common.inlining.walker.InliningIterator.nextQueuedNode:()Lorg/graalvm/compiler/nodes/FixedNode;
dup
astore 2
start local 2 28: ifnonnull 3
29: getstatic org.graalvm.compiler.phases.common.inlining.walker.InliningIterator.$assertionsDisabled:Z
ifne 30
aload 1
invokevirtual java.util.LinkedList.size:()I
aload 0
getfield org.graalvm.compiler.phases.common.inlining.walker.InliningIterator.start:Lorg/graalvm/compiler/nodes/StartNode;
invokevirtual org.graalvm.compiler.nodes.StartNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getInvokes:()Ljava/lang/Iterable;
invokestatic org.graalvm.compiler.phases.common.inlining.walker.InliningIterator.count:(Ljava/lang/Iterable;)I
if_icmpeq 30
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
30: StackMap locals: org.graalvm.compiler.nodes.FixedNode
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lorg/graalvm/compiler/phases/common/inlining/walker/InliningIterator;
1 31 1 invokes Ljava/util/LinkedList<Lorg/graalvm/compiler/nodes/Invoke;>;
3 27 2 current Lorg/graalvm/compiler/nodes/FixedNode;
28 31 2 current Lorg/graalvm/compiler/nodes/FixedNode;
Signature: ()Ljava/util/LinkedList<Lorg/graalvm/compiler/nodes/Invoke;>;
private void queueSuccessors(org.graalvm.compiler.nodes.FixedNode);
descriptor: (Lorg/graalvm/compiler/nodes/FixedNode;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: 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 3
goto 3
StackMap locals: org.graalvm.compiler.phases.common.inlining.walker.InliningIterator org.graalvm.compiler.nodes.FixedNode 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 0
aload 2
invokevirtual org.graalvm.compiler.phases.common.inlining.walker.InliningIterator.queue:(Lorg/graalvm/compiler/graph/Node;)V
end local 2 3: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/phases/common/inlining/walker/InliningIterator;
0 5 1 x Lorg/graalvm/compiler/nodes/FixedNode;
2 3 2 node Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
x
private void queue(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 2
aload 0
getfield org.graalvm.compiler.phases.common.inlining.walker.InliningIterator.queuedNodes:Lorg/graalvm/compiler/graph/NodeBitMap;
aload 1
invokevirtual org.graalvm.compiler.graph.NodeBitMap.isMarked:(Lorg/graalvm/compiler/graph/Node;)Z
ifne 2
1: aload 0
aload 1
invokevirtual org.graalvm.compiler.phases.common.inlining.walker.InliningIterator.forcedQueue:(Lorg/graalvm/compiler/graph/Node;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/phases/common/inlining/walker/InliningIterator;
0 3 1 node Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
node
private void forcedQueue(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.phases.common.inlining.walker.InliningIterator.queuedNodes:Lorg/graalvm/compiler/graph/NodeBitMap;
aload 1
invokevirtual org.graalvm.compiler.graph.NodeBitMap.mark:(Lorg/graalvm/compiler/graph/Node;)V
1: aload 0
getfield org.graalvm.compiler.phases.common.inlining.walker.InliningIterator.nodeQueue:Ljava/util/Deque;
aload 1
checkcast org.graalvm.compiler.nodes.FixedNode
invokeinterface java.util.Deque.addFirst:(Ljava/lang/Object;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/phases/common/inlining/walker/InliningIterator;
0 3 1 node Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
node
private org.graalvm.compiler.nodes.FixedNode nextQueuedNode();
descriptor: ()Lorg/graalvm/compiler/nodes/FixedNode;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.phases.common.inlining.walker.InliningIterator.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.common.inlining.walker.InliningIterator.nodeQueue:Ljava/util/Deque;
invokeinterface java.util.Deque.removeFirst:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.FixedNode
astore 1
start local 1 3: getstatic org.graalvm.compiler.phases.common.inlining.walker.InliningIterator.$assertionsDisabled:Z
ifne 4
aload 0
getfield org.graalvm.compiler.phases.common.inlining.walker.InliningIterator.queuedNodes:Lorg/graalvm/compiler/graph/NodeBitMap;
aload 1
invokevirtual org.graalvm.compiler.graph.NodeBitMap.isMarked:(Lorg/graalvm/compiler/graph/Node;)Z
ifne 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals: org.graalvm.compiler.nodes.FixedNode
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/phases/common/inlining/walker/InliningIterator;
3 5 1 result Lorg/graalvm/compiler/nodes/FixedNode;
private void queueMerge(org.graalvm.compiler.nodes.AbstractEndNode);
descriptor: (Lorg/graalvm/compiler/nodes/AbstractEndNode;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.graalvm.compiler.nodes.AbstractEndNode.merge:()Lorg/graalvm/compiler/nodes/AbstractMergeNode;
astore 2
start local 2 1: aload 0
getfield org.graalvm.compiler.phases.common.inlining.walker.InliningIterator.queuedNodes:Lorg/graalvm/compiler/graph/NodeBitMap;
aload 2
invokevirtual org.graalvm.compiler.graph.NodeBitMap.isMarked:(Lorg/graalvm/compiler/graph/Node;)Z
ifne 4
aload 0
aload 2
invokevirtual org.graalvm.compiler.phases.common.inlining.walker.InliningIterator.visitedAllEnds:(Lorg/graalvm/compiler/nodes/AbstractMergeNode;)Z
ifeq 4
2: aload 0
getfield org.graalvm.compiler.phases.common.inlining.walker.InliningIterator.queuedNodes:Lorg/graalvm/compiler/graph/NodeBitMap;
aload 2
invokevirtual org.graalvm.compiler.graph.NodeBitMap.mark:(Lorg/graalvm/compiler/graph/Node;)V
3: aload 0
getfield org.graalvm.compiler.phases.common.inlining.walker.InliningIterator.nodeQueue:Ljava/util/Deque;
aload 2
invokeinterface java.util.Deque.add:(Ljava/lang/Object;)Z
pop
4: StackMap locals: org.graalvm.compiler.nodes.AbstractMergeNode
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/phases/common/inlining/walker/InliningIterator;
0 5 1 end Lorg/graalvm/compiler/nodes/AbstractEndNode;
1 5 2 merge Lorg/graalvm/compiler/nodes/AbstractMergeNode;
MethodParameters:
Name Flags
end
private boolean visitedAllEnds(org.graalvm.compiler.nodes.AbstractMergeNode);
descriptor: (Lorg/graalvm/compiler/nodes/AbstractMergeNode;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 0
getfield org.graalvm.compiler.phases.common.inlining.walker.InliningIterator.queuedNodes:Lorg/graalvm/compiler/graph/NodeBitMap;
aload 1
iload 2
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 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 1
invokevirtual org.graalvm.compiler.nodes.AbstractMergeNode.forwardEndCount:()I
if_icmplt 2
end local 2 6: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/phases/common/inlining/walker/InliningIterator;
0 7 1 merge Lorg/graalvm/compiler/nodes/AbstractMergeNode;
1 6 2 i I
MethodParameters:
Name Flags
merge
private static int count(java.lang.Iterable<org.graalvm.compiler.nodes.Invoke>);
descriptor: (Ljava/lang/Iterable;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=3, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 2
start local 2 2: goto 5
3: StackMap locals: int java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
pop
4: iinc 1 1
5: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: iload 1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 invokes Ljava/lang/Iterable<Lorg/graalvm/compiler/nodes/Invoke;>;
1 7 1 count I
2 7 2 iterator Ljava/util/Iterator<Lorg/graalvm/compiler/nodes/Invoke;>;
Signature: (Ljava/lang/Iterable<Lorg/graalvm/compiler/nodes/Invoke;>;)I
MethodParameters:
Name Flags
invokes
}
SourceFile: "InliningIterator.java"