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 boolean useGuardIdAsDebugId;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
void <init>(boolean);
descriptor: (Z)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 // org.graalvm.compiler.phases.common.GuardLoweringPhase$LowerGuards this
start local 1 // boolean useGuardIdAsDebugId
0: .line 64
aload 0 /* this */
invokespecial org.graalvm.compiler.phases.graph.ScheduledNodeIterator.<init>:()V
1: .line 65
aload 0 /* this */
iload 1 /* useGuardIdAsDebugId */
putfield org.graalvm.compiler.phases.common.GuardLoweringPhase$LowerGuards.useGuardIdAsDebugId:Z
2: .line 66
return
end local 1 // boolean useGuardIdAsDebugId
end local 0 // org.graalvm.compiler.phases.common.GuardLoweringPhase$LowerGuards this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/phases/common/GuardLoweringPhase$LowerGuards;
0 3 1 useGuardIdAsDebugId Z
MethodParameters:
Name Flags
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 // org.graalvm.compiler.phases.common.GuardLoweringPhase$LowerGuards this
start local 1 // org.graalvm.compiler.graph.Node node
0: .line 70
aload 1 /* node */
instanceof org.graalvm.compiler.nodes.GuardNode
ifeq 7
1: .line 71
aload 1 /* node */
checkcast org.graalvm.compiler.nodes.GuardNode
astore 2 /* guard */
start local 2 // org.graalvm.compiler.nodes.GuardNode guard
2: .line 72
aload 2 /* guard */
invokevirtual org.graalvm.compiler.nodes.GuardNode.lowerGuard:()Lorg/graalvm/compiler/nodes/FixedWithNextNode;
astore 3 /* lowered */
start local 3 // org.graalvm.compiler.nodes.FixedWithNextNode lowered
3: .line 73
aload 3 /* lowered */
ifnull 6
4: .line 74
aload 0 /* this */
aload 3 /* lowered */
invokevirtual org.graalvm.compiler.phases.common.GuardLoweringPhase$LowerGuards.replaceCurrent:(Lorg/graalvm/compiler/nodes/FixedWithNextNode;)V
5: .line 75
goto 7
6: .line 76
StackMap locals: org.graalvm.compiler.nodes.GuardNode org.graalvm.compiler.nodes.FixedWithNextNode
StackMap stack:
aload 0 /* this */
aload 2 /* guard */
invokevirtual org.graalvm.compiler.phases.common.GuardLoweringPhase$LowerGuards.lowerToIf:(Lorg/graalvm/compiler/nodes/GuardNode;)V
end local 3 // org.graalvm.compiler.nodes.FixedWithNextNode lowered
end local 2 // org.graalvm.compiler.nodes.GuardNode guard
7: .line 79
StackMap locals:
StackMap stack:
return
end local 1 // org.graalvm.compiler.graph.Node node
end local 0 // org.graalvm.compiler.phases.common.GuardLoweringPhase$LowerGuards this
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 // org.graalvm.compiler.phases.common.GuardLoweringPhase$LowerGuards this
start local 1 // org.graalvm.compiler.nodes.GuardNode guard
0: .line 83
aconst_null
astore 2
aconst_null
astore 3
1: aload 1 /* guard */
invokevirtual org.graalvm.compiler.nodes.GuardNode.withNodeSourcePosition:()Lorg/graalvm/compiler/debug/DebugCloseable;
astore 4 /* position */
start local 4 // org.graalvm.compiler.debug.DebugCloseable position
2: .line 84
aload 1 /* guard */
invokevirtual org.graalvm.compiler.nodes.GuardNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 5 /* graph */
start local 5 // org.graalvm.compiler.nodes.StructuredGraph graph
3: .line 85
aload 5 /* graph */
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 /* fastPath */
start local 6 // org.graalvm.compiler.nodes.AbstractBeginNode fastPath
4: .line 86
aload 6 /* fastPath */
aload 1 /* guard */
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: .line 88
aload 0 /* this */
getfield org.graalvm.compiler.phases.common.GuardLoweringPhase$LowerGuards.useGuardIdAsDebugId:Z
ifeq 6
aload 1 /* guard */
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 /* debugId */
start local 7 // int debugId
8: .line 89
aload 5 /* graph */
new org.graalvm.compiler.nodes.DeoptimizeNode
dup
aload 1 /* guard */
invokevirtual org.graalvm.compiler.nodes.GuardNode.getAction:()Ljdk/vm/ci/meta/DeoptimizationAction;
aload 1 /* guard */
invokevirtual org.graalvm.compiler.nodes.GuardNode.getReason:()Ljdk/vm/ci/meta/DeoptimizationReason;
iload 7 /* debugId */
aload 1 /* guard */
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 /* deopt */
start local 8 // org.graalvm.compiler.nodes.DeoptimizeNode deopt
9: .line 90
aload 8 /* deopt */
invokestatic org.graalvm.compiler.nodes.BeginNode.begin:(Lorg/graalvm/compiler/nodes/FixedNode;)Lorg/graalvm/compiler/nodes/AbstractBeginNode;
astore 9 /* deoptBranch */
start local 9 // org.graalvm.compiler.nodes.AbstractBeginNode deoptBranch
10: .line 93
aload 1 /* guard */
invokevirtual org.graalvm.compiler.nodes.GuardNode.isNegated:()Z
ifeq 14
11: .line 94
aload 9 /* deoptBranch */
astore 10 /* trueSuccessor */
start local 10 // org.graalvm.compiler.nodes.AbstractBeginNode trueSuccessor
12: .line 95
aload 6 /* fastPath */
astore 11 /* falseSuccessor */
start local 11 // org.graalvm.compiler.nodes.AbstractBeginNode falseSuccessor
13: .line 96
goto 16
end local 11 // org.graalvm.compiler.nodes.AbstractBeginNode falseSuccessor
end local 10 // org.graalvm.compiler.nodes.AbstractBeginNode trueSuccessor
14: .line 97
StackMap locals: int org.graalvm.compiler.nodes.DeoptimizeNode org.graalvm.compiler.nodes.AbstractBeginNode
StackMap stack:
aload 6 /* fastPath */
astore 10 /* trueSuccessor */
start local 10 // org.graalvm.compiler.nodes.AbstractBeginNode trueSuccessor
15: .line 98
aload 9 /* deoptBranch */
astore 11 /* falseSuccessor */
start local 11 // org.graalvm.compiler.nodes.AbstractBeginNode falseSuccessor
16: .line 100
StackMap locals: org.graalvm.compiler.nodes.AbstractBeginNode org.graalvm.compiler.nodes.AbstractBeginNode
StackMap stack:
aload 5 /* graph */
17: new org.graalvm.compiler.nodes.IfNode
dup
aload 1 /* guard */
invokevirtual org.graalvm.compiler.nodes.GuardNode.getCondition:()Lorg/graalvm/compiler/nodes/LogicNode;
aload 10 /* trueSuccessor */
aload 11 /* falseSuccessor */
aload 10 /* trueSuccessor */
aload 6 /* fastPath */
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 /* ifNode */
start local 12 // org.graalvm.compiler.nodes.IfNode ifNode
20: .line 101
aload 1 /* guard */
aload 6 /* fastPath */
invokevirtual org.graalvm.compiler.nodes.GuardNode.replaceAndDelete:(Lorg/graalvm/compiler/graph/Node;)V
21: .line 102
aload 0 /* this */
aload 12 /* ifNode */
aload 6 /* fastPath */
invokevirtual org.graalvm.compiler.phases.common.GuardLoweringPhase$LowerGuards.insert:(Lorg/graalvm/compiler/nodes/FixedNode;Lorg/graalvm/compiler/nodes/FixedWithNextNode;)V
end local 12 // org.graalvm.compiler.nodes.IfNode ifNode
end local 11 // org.graalvm.compiler.nodes.AbstractBeginNode falseSuccessor
end local 10 // org.graalvm.compiler.nodes.AbstractBeginNode trueSuccessor
end local 9 // org.graalvm.compiler.nodes.AbstractBeginNode deoptBranch
end local 8 // org.graalvm.compiler.nodes.DeoptimizeNode deopt
end local 7 // int debugId
end local 6 // org.graalvm.compiler.nodes.AbstractBeginNode fastPath
end local 5 // org.graalvm.compiler.nodes.StructuredGraph graph
22: .line 103
aload 4 /* position */
ifnull 28
aload 4 /* position */
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 /* position */
ifnull 24
aload 4 /* position */
invokeinterface org.graalvm.compiler.debug.DebugCloseable.close:()V
end local 4 // org.graalvm.compiler.debug.DebugCloseable position
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: .line 104
StackMap locals:
StackMap stack:
return
end local 1 // org.graalvm.compiler.nodes.GuardNode guard
end local 0 // org.graalvm.compiler.phases.common.GuardLoweringPhase$LowerGuards this
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;
8 22 7 debugId I
9 22 8 deopt Lorg/graalvm/compiler/nodes/DeoptimizeNode;
10 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
}
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