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 0
getfield org.graalvm.compiler.phases.common.GuardLoweringPhase$LowerGuards.useGuardIdAsDebugId:Z
ifeq 5
aload 1
invokevirtual org.graalvm.compiler.nodes.GuardNode.getId:()I
goto 6
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:
5: iconst_0
StackMap locals:
StackMap stack: int
6: istore 7
start local 7 7: 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/JavaConstant;
aconst_null
invokespecial org.graalvm.compiler.nodes.DeoptimizeNode.<init>:(Ljdk/vm/ci/meta/DeoptimizationAction;Ljdk/vm/ci/meta/DeoptimizationReason;ILjdk/vm/ci/meta/JavaConstant;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 8: aload 8
invokestatic org.graalvm.compiler.nodes.BeginNode.begin:(Lorg/graalvm/compiler/nodes/FixedNode;)Lorg/graalvm/compiler/nodes/AbstractBeginNode;
astore 9
start local 9 9: aload 0
aload 8
invokevirtual org.graalvm.compiler.phases.common.GuardLoweringPhase$LowerGuards.insertLoopExits:(Lorg/graalvm/compiler/nodes/DeoptimizeNode;)V
10: aload 1
invokevirtual org.graalvm.compiler.nodes.GuardNode.isNegated:()Z
ifeq 14
11: aload 9
astore 10
start local 10 12: aload 6
astore 11
start local 11 13: goto 16
end local 11 end local 10 14: StackMap locals: int org.graalvm.compiler.nodes.DeoptimizeNode org.graalvm.compiler.nodes.AbstractBeginNode
StackMap stack:
aload 6
astore 10
start local 10 15: aload 9
astore 11
start local 11 16: StackMap locals: org.graalvm.compiler.nodes.AbstractBeginNode org.graalvm.compiler.nodes.AbstractBeginNode
StackMap stack:
aload 5
17: 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 18
iconst_1
goto 19
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 17 new 17 org.graalvm.compiler.nodes.LogicNode org.graalvm.compiler.nodes.AbstractBeginNode org.graalvm.compiler.nodes.AbstractBeginNode
18: 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 17 new 17 org.graalvm.compiler.nodes.LogicNode org.graalvm.compiler.nodes.AbstractBeginNode org.graalvm.compiler.nodes.AbstractBeginNode int
19: 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 20: aload 1
aload 6
invokevirtual org.graalvm.compiler.nodes.GuardNode.replaceAndDelete:(Lorg/graalvm/compiler/graph/Node;)V
21: 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 22: aload 4
ifnull 28
aload 4
invokeinterface org.graalvm.compiler.debug.DebugCloseable.close:()V
goto 28
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
23: astore 2
aload 4
ifnull 24
aload 4
invokeinterface org.graalvm.compiler.debug.DebugCloseable.close:()V
end local 4 StackMap locals:
StackMap stack:
24: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
25: astore 3
aload 2
ifnonnull 26
aload 3
astore 2
goto 27
StackMap locals:
StackMap stack:
26: aload 2
aload 3
if_acmpeq 27
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
27: aload 2
athrow
28: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lorg/graalvm/compiler/phases/common/GuardLoweringPhase$LowerGuards;
0 29 1 guard Lorg/graalvm/compiler/nodes/GuardNode;
2 24 4 position Lorg/graalvm/compiler/debug/DebugCloseable;
3 22 5 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
4 22 6 fastPath Lorg/graalvm/compiler/nodes/AbstractBeginNode;
7 22 7 debugId I
8 22 8 deopt Lorg/graalvm/compiler/nodes/DeoptimizeNode;
9 22 9 deoptBranch Lorg/graalvm/compiler/nodes/AbstractBeginNode;
12 14 10 trueSuccessor Lorg/graalvm/compiler/nodes/AbstractBeginNode;
15 22 10 trueSuccessor Lorg/graalvm/compiler/nodes/AbstractBeginNode;
13 14 11 falseSuccessor Lorg/graalvm/compiler/nodes/AbstractBeginNode;
16 22 11 falseSuccessor Lorg/graalvm/compiler/nodes/AbstractBeginNode;
20 22 12 ifNode Lorg/graalvm/compiler/nodes/IfNode;
Exception table:
from to target type
2 22 23 any
1 25 25 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:
private LowerGuards = org.graalvm.compiler.phases.common.GuardLoweringPhase$LowerGuards of org.graalvm.compiler.phases.common.GuardLoweringPhase