class org.graalvm.compiler.phases.common.GuardLoweringPhase$LowerGuards extends org.graalvm.compiler.phases.graph.ScheduledNodeIterator
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.graalvm.compiler.phases.common.GuardLoweringPhase$LowerGuards
super_class: org.graalvm.compiler.phases.graph.ScheduledNodeIterator
{
private final org.graalvm.compiler.nodes.cfg.Block block;
descriptor: Lorg/graalvm/compiler/nodes/cfg/Block;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean useGuardIdAsDebugId;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
void <init>(org.graalvm.compiler.nodes.cfg.Block, boolean);
descriptor: (Lorg/graalvm/compiler/nodes/cfg/Block;Z)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.graalvm.compiler.phases.graph.ScheduledNodeIterator.<init>:()V
1: aload 0
aload 1
putfield org.graalvm.compiler.phases.common.GuardLoweringPhase$LowerGuards.block:Lorg/graalvm/compiler/nodes/cfg/Block;
2: aload 0
iload 2
putfield org.graalvm.compiler.phases.common.GuardLoweringPhase$LowerGuards.useGuardIdAsDebugId:Z
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/phases/common/GuardLoweringPhase$LowerGuards;
0 4 1 block Lorg/graalvm/compiler/nodes/cfg/Block;
0 4 2 useGuardIdAsDebugId Z
MethodParameters:
Name Flags
block
useGuardIdAsDebugId
protected void processNode(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.graalvm.compiler.nodes.GuardNode
ifeq 7
1: aload 1
checkcast org.graalvm.compiler.nodes.GuardNode
astore 2
start local 2 2: aload 2
invokevirtual org.graalvm.compiler.nodes.GuardNode.lowerGuard:()Lorg/graalvm/compiler/nodes/FixedWithNextNode;
astore 3
start local 3 3: aload 3
ifnull 6
4: aload 0
aload 3
invokevirtual org.graalvm.compiler.phases.common.GuardLoweringPhase$LowerGuards.replaceCurrent:(Lorg/graalvm/compiler/nodes/FixedWithNextNode;)V
5: goto 7
6: StackMap locals: org.graalvm.compiler.nodes.GuardNode org.graalvm.compiler.nodes.FixedWithNextNode
StackMap stack:
aload 0
aload 2
invokevirtual org.graalvm.compiler.phases.common.GuardLoweringPhase$LowerGuards.lowerToIf:(Lorg/graalvm/compiler/nodes/GuardNode;)V
end local 3 end local 2 7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/graalvm/compiler/phases/common/GuardLoweringPhase$LowerGuards;
0 8 1 node Lorg/graalvm/compiler/graph/Node;
2 7 2 guard Lorg/graalvm/compiler/nodes/GuardNode;
3 7 3 lowered Lorg/graalvm/compiler/nodes/FixedWithNextNode;
MethodParameters:
Name Flags
node
private void lowerToIf(org.graalvm.compiler.nodes.GuardNode);
descriptor: (Lorg/graalvm/compiler/nodes/GuardNode;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=13, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
aconst_null
astore 3
1: aload 1
invokevirtual org.graalvm.compiler.nodes.GuardNode.withNodeSourcePosition:()Lorg/graalvm/compiler/debug/DebugCloseable;
astore 4
start local 4 2: aload 1
invokevirtual org.graalvm.compiler.nodes.GuardNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 5
start local 5 3: aload 5
new org.graalvm.compiler.nodes.BeginNode
dup
invokespecial org.graalvm.compiler.nodes.BeginNode.<init>:()V
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.add:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.AbstractBeginNode
astore 6
start local 6 4: aload 6
aload 1
invokevirtual org.graalvm.compiler.nodes.GuardNode.getNoDeoptSuccessorPosition:()Lorg/graalvm/compiler/graph/NodeSourcePosition;
invokevirtual org.graalvm.compiler.nodes.AbstractBeginNode.setNodeSourcePosition:(Lorg/graalvm/compiler/graph/NodeSourcePosition;)V
5: aload 0
getfield org.graalvm.compiler.phases.common.GuardLoweringPhase$LowerGuards.useGuardIdAsDebugId:Z
ifeq 6
aload 1
invokevirtual org.graalvm.compiler.nodes.GuardNode.getId:()I
goto 7
StackMap locals: org.graalvm.compiler.phases.common.GuardLoweringPhase$LowerGuards org.graalvm.compiler.nodes.GuardNode java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugCloseable org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.AbstractBeginNode
StackMap stack:
6: iconst_0
StackMap locals:
StackMap stack: int
7: istore 7
start local 7 8: aload 5
new org.graalvm.compiler.nodes.DeoptimizeNode
dup
aload 1
invokevirtual org.graalvm.compiler.nodes.GuardNode.getAction:()Ljdk/vm/ci/meta/DeoptimizationAction;
aload 1
invokevirtual org.graalvm.compiler.nodes.GuardNode.getReason:()Ljdk/vm/ci/meta/DeoptimizationReason;
iload 7
aload 1
invokevirtual org.graalvm.compiler.nodes.GuardNode.getSpeculation:()Ljdk/vm/ci/meta/SpeculationLog$Speculation;
aconst_null
invokespecial org.graalvm.compiler.nodes.DeoptimizeNode.<init>:(Ljdk/vm/ci/meta/DeoptimizationAction;Ljdk/vm/ci/meta/DeoptimizationReason;ILjdk/vm/ci/meta/SpeculationLog$Speculation;Lorg/graalvm/compiler/nodes/FrameState;)V
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.add:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.DeoptimizeNode
astore 8
start local 8 9: aload 8
invokestatic org.graalvm.compiler.nodes.BeginNode.begin:(Lorg/graalvm/compiler/nodes/FixedNode;)Lorg/graalvm/compiler/nodes/AbstractBeginNode;
astore 9
start local 9 10: aload 0
aload 8
invokevirtual org.graalvm.compiler.phases.common.GuardLoweringPhase$LowerGuards.insertLoopExits:(Lorg/graalvm/compiler/nodes/DeoptimizeNode;)V
11: aload 1
invokevirtual org.graalvm.compiler.nodes.GuardNode.isNegated:()Z
ifeq 15
12: aload 9
astore 10
start local 10 13: aload 6
astore 11
start local 11 14: goto 17
end local 11 end local 10 15: StackMap locals: int org.graalvm.compiler.nodes.DeoptimizeNode org.graalvm.compiler.nodes.AbstractBeginNode
StackMap stack:
aload 6
astore 10
start local 10 16: aload 9
astore 11
start local 11 17: StackMap locals: org.graalvm.compiler.nodes.AbstractBeginNode org.graalvm.compiler.nodes.AbstractBeginNode
StackMap stack:
aload 5
18: new org.graalvm.compiler.nodes.IfNode
dup
aload 1
invokevirtual org.graalvm.compiler.nodes.GuardNode.getCondition:()Lorg/graalvm/compiler/nodes/LogicNode;
aload 10
aload 11
aload 10
aload 6
if_acmpne 19
iconst_1
goto 20
StackMap locals: org.graalvm.compiler.phases.common.GuardLoweringPhase$LowerGuards org.graalvm.compiler.nodes.GuardNode java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugCloseable org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.AbstractBeginNode int org.graalvm.compiler.nodes.DeoptimizeNode org.graalvm.compiler.nodes.AbstractBeginNode org.graalvm.compiler.nodes.AbstractBeginNode org.graalvm.compiler.nodes.AbstractBeginNode
StackMap stack: org.graalvm.compiler.nodes.StructuredGraph new 18 new 18 org.graalvm.compiler.nodes.LogicNode org.graalvm.compiler.nodes.AbstractBeginNode org.graalvm.compiler.nodes.AbstractBeginNode
19: iconst_0
StackMap locals: org.graalvm.compiler.phases.common.GuardLoweringPhase$LowerGuards org.graalvm.compiler.nodes.GuardNode java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugCloseable org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.AbstractBeginNode int org.graalvm.compiler.nodes.DeoptimizeNode org.graalvm.compiler.nodes.AbstractBeginNode org.graalvm.compiler.nodes.AbstractBeginNode org.graalvm.compiler.nodes.AbstractBeginNode
StackMap stack: org.graalvm.compiler.nodes.StructuredGraph new 18 new 18 org.graalvm.compiler.nodes.LogicNode org.graalvm.compiler.nodes.AbstractBeginNode org.graalvm.compiler.nodes.AbstractBeginNode int
20: i2d
invokespecial org.graalvm.compiler.nodes.IfNode.<init>:(Lorg/graalvm/compiler/nodes/LogicNode;Lorg/graalvm/compiler/nodes/AbstractBeginNode;Lorg/graalvm/compiler/nodes/AbstractBeginNode;D)V
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.add:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.IfNode
astore 12
start local 12 21: aload 1
aload 6
invokevirtual org.graalvm.compiler.nodes.GuardNode.replaceAndDelete:(Lorg/graalvm/compiler/graph/Node;)V
22: aload 0
aload 12
aload 6
invokevirtual org.graalvm.compiler.phases.common.GuardLoweringPhase$LowerGuards.insert:(Lorg/graalvm/compiler/nodes/FixedNode;Lorg/graalvm/compiler/nodes/FixedWithNextNode;)V
end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 23: aload 4
ifnull 29
aload 4
invokeinterface org.graalvm.compiler.debug.DebugCloseable.close:()V
goto 29
StackMap locals: org.graalvm.compiler.phases.common.GuardLoweringPhase$LowerGuards org.graalvm.compiler.nodes.GuardNode java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugCloseable
StackMap stack: java.lang.Throwable
24: astore 2
aload 4
ifnull 25
aload 4
invokeinterface org.graalvm.compiler.debug.DebugCloseable.close:()V
end local 4 StackMap locals:
StackMap stack:
25: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
26: astore 3
aload 2
ifnonnull 27
aload 3
astore 2
goto 28
StackMap locals:
StackMap stack:
27: aload 2
aload 3
if_acmpeq 28
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
28: aload 2
athrow
29: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lorg/graalvm/compiler/phases/common/GuardLoweringPhase$LowerGuards;
0 30 1 guard Lorg/graalvm/compiler/nodes/GuardNode;
2 25 4 position Lorg/graalvm/compiler/debug/DebugCloseable;
3 23 5 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
4 23 6 fastPath Lorg/graalvm/compiler/nodes/AbstractBeginNode;
8 23 7 debugId I
9 23 8 deopt Lorg/graalvm/compiler/nodes/DeoptimizeNode;
10 23 9 deoptBranch Lorg/graalvm/compiler/nodes/AbstractBeginNode;
13 15 10 trueSuccessor Lorg/graalvm/compiler/nodes/AbstractBeginNode;
16 23 10 trueSuccessor Lorg/graalvm/compiler/nodes/AbstractBeginNode;
14 15 11 falseSuccessor Lorg/graalvm/compiler/nodes/AbstractBeginNode;
17 23 11 falseSuccessor Lorg/graalvm/compiler/nodes/AbstractBeginNode;
21 23 12 ifNode Lorg/graalvm/compiler/nodes/IfNode;
Exception table:
from to target type
2 23 24 any
1 26 26 any
MethodParameters:
Name Flags
guard
private void insertLoopExits(org.graalvm.compiler.nodes.DeoptimizeNode);
descriptor: (Lorg/graalvm/compiler/nodes/DeoptimizeNode;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.phases.common.GuardLoweringPhase$LowerGuards.block:Lorg/graalvm/compiler/nodes/cfg/Block;
invokevirtual org.graalvm.compiler.nodes.cfg.Block.getLoop:()Lorg/graalvm/compiler/core/common/cfg/Loop;
astore 2
start local 2 1: aload 1
invokevirtual org.graalvm.compiler.nodes.DeoptimizeNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 3
start local 3 2: goto 6
3: StackMap locals: org.graalvm.compiler.core.common.cfg.Loop org.graalvm.compiler.nodes.StructuredGraph
StackMap stack:
aload 3
new org.graalvm.compiler.nodes.LoopExitNode
dup
aload 2
invokevirtual org.graalvm.compiler.core.common.cfg.Loop.getHeader:()Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
checkcast org.graalvm.compiler.nodes.cfg.Block
invokevirtual org.graalvm.compiler.nodes.cfg.Block.getBeginNode:()Lorg/graalvm/compiler/nodes/AbstractBeginNode;
checkcast org.graalvm.compiler.nodes.LoopBeginNode
invokespecial org.graalvm.compiler.nodes.LoopExitNode.<init>:(Lorg/graalvm/compiler/nodes/LoopBeginNode;)V
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.add:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.LoopExitNode
astore 4
start local 4 4: aload 3
aload 1
aload 4
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.addBeforeFixed:(Lorg/graalvm/compiler/nodes/FixedNode;Lorg/graalvm/compiler/nodes/FixedWithNextNode;)V
5: aload 2
invokevirtual org.graalvm.compiler.core.common.cfg.Loop.getParent:()Lorg/graalvm/compiler/core/common/cfg/Loop;
astore 2
end local 4 6: StackMap locals:
StackMap stack:
aload 2
ifnonnull 3
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/common/GuardLoweringPhase$LowerGuards;
0 8 1 deopt Lorg/graalvm/compiler/nodes/DeoptimizeNode;
1 8 2 loop Lorg/graalvm/compiler/core/common/cfg/Loop<Lorg/graalvm/compiler/nodes/cfg/Block;>;
2 8 3 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
4 6 4 exit Lorg/graalvm/compiler/nodes/LoopExitNode;
MethodParameters:
Name Flags
deopt
}
SourceFile: "GuardLoweringPhase.java"
NestHost: org.graalvm.compiler.phases.common.GuardLoweringPhase
InnerClasses:
public Speculation = jdk.vm.ci.meta.SpeculationLog$Speculation of jdk.vm.ci.meta.SpeculationLog
private LowerGuards = org.graalvm.compiler.phases.common.GuardLoweringPhase$LowerGuards of org.graalvm.compiler.phases.common.GuardLoweringPhase