public class org.graalvm.compiler.phases.common.InsertGuardFencesPhase extends org.graalvm.compiler.phases.Phase
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.phases.common.InsertGuardFencesPhase
super_class: org.graalvm.compiler.phases.Phase
{
public static final org.graalvm.compiler.core.common.type.IntegerStamp POSITIVE_ARRAY_INDEX_STAMP;
descriptor: Lorg/graalvm/compiler/core/common/type/IntegerStamp;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, 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=5, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/phases/common/InsertGuardFencesPhase;
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.InsertGuardFencesPhase.$assertionsDisabled:Z
3: bipush 32
lconst_0
ldc 2147483646
invokestatic org.graalvm.compiler.core.common.type.StampFactory.forInteger:(IJJ)Lorg/graalvm/compiler/core/common/type/IntegerStamp;
putstatic org.graalvm.compiler.phases.common.InsertGuardFencesPhase.POSITIVE_ARRAY_INDEX_STAMP:Lorg/graalvm/compiler/core/common/type/IntegerStamp;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.graalvm.compiler.phases.Phase.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/phases/common/InsertGuardFencesPhase;
protected void run(org.graalvm.compiler.nodes.StructuredGraph);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
getstatic org.graalvm.compiler.nodes.AbstractBeginNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:(Lorg/graalvm/compiler/graph/NodeClass;)Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
astore 3
goto 18
StackMap locals: org.graalvm.compiler.phases.common.InsertGuardFencesPhase org.graalvm.compiler.nodes.StructuredGraph top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.AbstractBeginNode
astore 2
start local 2 2: aload 2
invokestatic org.graalvm.compiler.phases.common.InsertGuardFencesPhase.hasGuardUsages:(Lorg/graalvm/compiler/graph/Node;)Z
ifeq 17
3: getstatic org.graalvm.compiler.core.common.SpeculativeExecutionAttacksMitigations$Options.MitigateSpeculativeExecutionAttacks:Lorg/graalvm/compiler/options/EnumOptionKey;
aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
invokevirtual org.graalvm.compiler.options.EnumOptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
getstatic org.graalvm.compiler.core.common.SpeculativeExecutionAttacksMitigations.NonDeoptGuardTargets:Lorg/graalvm/compiler/core/common/SpeculativeExecutionAttacksMitigations;
if_acmpne 7
4: aload 2
invokestatic org.graalvm.compiler.phases.common.InsertGuardFencesPhase.isDeoptGuard:(Lorg/graalvm/compiler/nodes/AbstractBeginNode;)Z
ifeq 7
5: aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
iconst_3
ldc "Skipping deoptimizing guard speculation fence at %s"
aload 2
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(ILjava/lang/String;Ljava/lang/Object;)V
6: goto 18
7: StackMap locals: org.graalvm.compiler.phases.common.InsertGuardFencesPhase org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.AbstractBeginNode java.util.Iterator
StackMap stack:
getstatic org.graalvm.compiler.core.common.SpeculativeExecutionAttacksMitigations$Options.UseIndexMasking:Lorg/graalvm/compiler/options/OptionKey;
aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 11
8: aload 2
invokestatic org.graalvm.compiler.phases.common.InsertGuardFencesPhase.isBoundsCheckGuard:(Lorg/graalvm/compiler/nodes/AbstractBeginNode;)Z
ifeq 11
9: aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
iconst_3
ldc "Skipping bounds-check speculation fence at %s"
aload 2
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(ILjava/lang/String;Ljava/lang/Object;)V
10: goto 18
11: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
iconst_4
invokevirtual org.graalvm.compiler.debug.DebugContext.isLogEnabled:(I)Z
ifeq 14
12: aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
iconst_4
ldc "Adding speculation fence for %s at %s"
aload 2
invokestatic org.graalvm.compiler.phases.common.InsertGuardFencesPhase.guardUsages:(Lorg/graalvm/compiler/graph/Node;)Ljava/util/List;
aload 2
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(ILjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
13: goto 15
14: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
iconst_3
ldc "Adding speculation fence at %s"
aload 2
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(ILjava/lang/String;Ljava/lang/Object;)V
15: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.graalvm.compiler.nodes.AbstractBeginNode.setWithSpeculationFence:()V
16: goto 18
17: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
iconst_4
ldc "No guards on %s"
aload 2
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(ILjava/lang/String;Ljava/lang/Object;)V
end local 2 18: StackMap locals: org.graalvm.compiler.phases.common.InsertGuardFencesPhase org.graalvm.compiler.nodes.StructuredGraph top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
19: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/graalvm/compiler/phases/common/InsertGuardFencesPhase;
0 20 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
2 18 2 beginNode Lorg/graalvm/compiler/nodes/AbstractBeginNode;
MethodParameters:
Name Flags
graph
private static boolean isDeoptGuard(org.graalvm.compiler.nodes.AbstractBeginNode);
descriptor: (Lorg/graalvm/compiler/nodes/AbstractBeginNode;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.nodes.AbstractBeginNode.predecessor:()Lorg/graalvm/compiler/graph/Node;
instanceof org.graalvm.compiler.nodes.IfNode
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.nodes.AbstractBeginNode.predecessor:()Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.IfNode
astore 1
start local 1 3: aload 1
invokevirtual org.graalvm.compiler.nodes.IfNode.trueSuccessor:()Lorg/graalvm/compiler/nodes/AbstractBeginNode;
aload 0
if_acmpne 6
4: aload 1
invokevirtual org.graalvm.compiler.nodes.IfNode.falseSuccessor:()Lorg/graalvm/compiler/nodes/AbstractBeginNode;
astore 2
start local 2 5: goto 8
end local 2 6: StackMap locals: org.graalvm.compiler.nodes.IfNode
StackMap stack:
getstatic org.graalvm.compiler.phases.common.InsertGuardFencesPhase.$assertionsDisabled:Z
ifne 7
aload 1
invokevirtual org.graalvm.compiler.nodes.IfNode.falseSuccessor:()Lorg/graalvm/compiler/nodes/AbstractBeginNode;
aload 0
if_acmpeq 7
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
7: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.graalvm.compiler.nodes.IfNode.trueSuccessor:()Lorg/graalvm/compiler/nodes/AbstractBeginNode;
astore 2
start local 2 8: StackMap locals: org.graalvm.compiler.nodes.AbstractBeginNode
StackMap stack:
aload 2
invokevirtual org.graalvm.compiler.nodes.AbstractBeginNode.next:()Lorg/graalvm/compiler/nodes/FixedNode;
instanceof org.graalvm.compiler.nodes.DeoptimizeNode
ifne 10
9: iconst_0
ireturn
10: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.graalvm.compiler.nodes.AbstractBeginNode.next:()Lorg/graalvm/compiler/nodes/FixedNode;
checkcast org.graalvm.compiler.nodes.DeoptimizeNode
astore 3
start local 3 11: aload 3
invokevirtual org.graalvm.compiler.nodes.DeoptimizeNode.getAction:()Ljdk/vm/ci/meta/DeoptimizationAction;
invokevirtual jdk.vm.ci.meta.DeoptimizationAction.doesInvalidateCompilation:()Z
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 beginNode Lorg/graalvm/compiler/nodes/AbstractBeginNode;
3 12 1 ifNode Lorg/graalvm/compiler/nodes/IfNode;
5 6 2 otherBegin Lorg/graalvm/compiler/nodes/AbstractBeginNode;
8 12 2 otherBegin Lorg/graalvm/compiler/nodes/AbstractBeginNode;
11 12 3 deopt Lorg/graalvm/compiler/nodes/DeoptimizeNode;
MethodParameters:
Name Flags
beginNode
private static boolean isBoundsCheckGuard(org.graalvm.compiler.nodes.AbstractBeginNode);
descriptor: (Lorg/graalvm/compiler/nodes/AbstractBeginNode;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=7, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.nodes.AbstractBeginNode.predecessor:()Lorg/graalvm/compiler/graph/Node;
instanceof org.graalvm.compiler.nodes.IfNode
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.nodes.AbstractBeginNode.predecessor:()Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.IfNode
astore 1
start local 1 3: aload 1
invokevirtual org.graalvm.compiler.nodes.IfNode.trueSuccessor:()Lorg/graalvm/compiler/nodes/AbstractBeginNode;
aload 0
if_acmpne 6
4: aload 1
invokevirtual org.graalvm.compiler.nodes.IfNode.falseSuccessor:()Lorg/graalvm/compiler/nodes/AbstractBeginNode;
astore 2
start local 2 5: goto 8
end local 2 6: StackMap locals: org.graalvm.compiler.nodes.IfNode
StackMap stack:
getstatic org.graalvm.compiler.phases.common.InsertGuardFencesPhase.$assertionsDisabled:Z
ifne 7
aload 1
invokevirtual org.graalvm.compiler.nodes.IfNode.falseSuccessor:()Lorg/graalvm/compiler/nodes/AbstractBeginNode;
aload 0
if_acmpeq 7
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
7: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.graalvm.compiler.nodes.IfNode.trueSuccessor:()Lorg/graalvm/compiler/nodes/AbstractBeginNode;
astore 2
start local 2 8: StackMap locals: org.graalvm.compiler.nodes.AbstractBeginNode
StackMap stack:
aload 2
invokevirtual org.graalvm.compiler.nodes.AbstractBeginNode.next:()Lorg/graalvm/compiler/nodes/FixedNode;
instanceof org.graalvm.compiler.nodes.DeoptimizeNode
ifeq 12
9: aload 2
invokevirtual org.graalvm.compiler.nodes.AbstractBeginNode.next:()Lorg/graalvm/compiler/nodes/FixedNode;
checkcast org.graalvm.compiler.nodes.DeoptimizeNode
astore 3
start local 3 10: aload 3
invokevirtual org.graalvm.compiler.nodes.DeoptimizeNode.getReason:()Ljdk/vm/ci/meta/DeoptimizationReason;
getstatic jdk.vm.ci.meta.DeoptimizationReason.BoundsCheckException:Ljdk/vm/ci/meta/DeoptimizationReason;
if_acmpne 14
aload 0
invokestatic org.graalvm.compiler.phases.common.InsertGuardFencesPhase.hasMultipleGuardUsages:(Lorg/graalvm/compiler/graph/Node;)Z
ifne 14
11: iconst_1
ireturn
end local 3 12: StackMap locals:
StackMap stack:
aload 2
instanceof org.graalvm.compiler.nodes.LoopExitNode
ifeq 14
aload 0
invokevirtual org.graalvm.compiler.nodes.AbstractBeginNode.usages:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
ldc Lorg/graalvm/compiler/nodes/extended/MultiGuardNode;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.filter:(Ljava/lang/Class;)Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.isNotEmpty:()Z
ifeq 14
aload 0
invokestatic org.graalvm.compiler.phases.common.InsertGuardFencesPhase.hasMultipleGuardUsages:(Lorg/graalvm/compiler/graph/Node;)Z
ifne 14
13: iconst_1
ireturn
14: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.nodes.AbstractBeginNode.usages:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
astore 4
goto 27
StackMap locals: org.graalvm.compiler.nodes.AbstractBeginNode org.graalvm.compiler.nodes.IfNode org.graalvm.compiler.nodes.AbstractBeginNode top java.util.Iterator
StackMap stack:
15: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 3
start local 3 16: aload 3
invokevirtual org.graalvm.compiler.graph.Node.inputPositions:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 6
goto 26
StackMap locals: org.graalvm.compiler.nodes.AbstractBeginNode org.graalvm.compiler.nodes.IfNode org.graalvm.compiler.nodes.AbstractBeginNode org.graalvm.compiler.graph.Node java.util.Iterator top java.util.Iterator
StackMap stack:
17: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Position
astore 5
start local 5 18: aload 5
invokevirtual org.graalvm.compiler.graph.Position.getInputType:()Lorg/graalvm/compiler/nodeinfo/InputType;
getstatic org.graalvm.compiler.nodeinfo.InputType.Guard:Lorg/graalvm/compiler/nodeinfo/InputType;
if_acmpne 26
aload 5
aload 3
invokevirtual org.graalvm.compiler.graph.Position.get:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
aload 0
if_acmpne 26
19: aload 3
instanceof org.graalvm.compiler.nodes.PiNode
ifeq 22
20: aload 3
checkcast org.graalvm.compiler.nodes.PiNode
invokevirtual org.graalvm.compiler.nodes.PiNode.piStamp:()Lorg/graalvm/compiler/core/common/type/Stamp;
getstatic org.graalvm.compiler.phases.common.InsertGuardFencesPhase.POSITIVE_ARRAY_INDEX_STAMP:Lorg/graalvm/compiler/core/common/type/IntegerStamp;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 27
21: iconst_0
ireturn
22: StackMap locals: org.graalvm.compiler.nodes.AbstractBeginNode org.graalvm.compiler.nodes.IfNode org.graalvm.compiler.nodes.AbstractBeginNode org.graalvm.compiler.graph.Node java.util.Iterator org.graalvm.compiler.graph.Position java.util.Iterator
StackMap stack:
aload 3
instanceof org.graalvm.compiler.nodes.memory.MemoryAccess
ifeq 25
23: aload 3
checkcast org.graalvm.compiler.nodes.memory.MemoryAccess
invokeinterface org.graalvm.compiler.nodes.memory.MemoryAccess.getLocationIdentity:()Ljdk/internal/vm/compiler/word/LocationIdentity;
invokestatic org.graalvm.compiler.nodes.NamedLocationIdentity.isArrayLocation:(Ljdk/internal/vm/compiler/word/LocationIdentity;)Z
ifne 27
24: iconst_0
ireturn
25: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 5 26: StackMap locals: org.graalvm.compiler.nodes.AbstractBeginNode org.graalvm.compiler.nodes.IfNode org.graalvm.compiler.nodes.AbstractBeginNode org.graalvm.compiler.graph.Node java.util.Iterator top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 17
end local 3 27: StackMap locals: org.graalvm.compiler.nodes.AbstractBeginNode org.graalvm.compiler.nodes.IfNode org.graalvm.compiler.nodes.AbstractBeginNode top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 15
28: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 beginNode Lorg/graalvm/compiler/nodes/AbstractBeginNode;
3 29 1 ifNode Lorg/graalvm/compiler/nodes/IfNode;
5 6 2 otherBegin Lorg/graalvm/compiler/nodes/AbstractBeginNode;
8 29 2 otherBegin Lorg/graalvm/compiler/nodes/AbstractBeginNode;
10 12 3 deopt Lorg/graalvm/compiler/nodes/DeoptimizeNode;
16 27 3 usage Lorg/graalvm/compiler/graph/Node;
18 26 5 pos Lorg/graalvm/compiler/graph/Position;
MethodParameters:
Name Flags
beginNode
private static boolean hasGuardUsages(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.graph.Node.usages:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
astore 2
goto 7
StackMap locals: org.graalvm.compiler.graph.Node top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 1
start local 1 2: aload 1
invokevirtual org.graalvm.compiler.graph.Node.inputPositions:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: org.graalvm.compiler.graph.Node org.graalvm.compiler.graph.Node java.util.Iterator top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Position
astore 3
start local 3 4: aload 3
invokevirtual org.graalvm.compiler.graph.Position.getInputType:()Lorg/graalvm/compiler/nodeinfo/InputType;
getstatic org.graalvm.compiler.nodeinfo.InputType.Guard:Lorg/graalvm/compiler/nodeinfo/InputType;
if_acmpne 6
aload 3
aload 1
invokevirtual org.graalvm.compiler.graph.Position.get:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
aload 0
if_acmpne 6
5: iconst_1
ireturn
end local 3 6: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
end local 1 7: StackMap locals: org.graalvm.compiler.graph.Node top java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
8: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 n Lorg/graalvm/compiler/graph/Node;
2 7 1 usage Lorg/graalvm/compiler/graph/Node;
4 6 3 pos Lorg/graalvm/compiler/graph/Position;
MethodParameters:
Name Flags
n
private static boolean hasMultipleGuardUsages(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=6, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
invokevirtual org.graalvm.compiler.graph.Node.usages:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
astore 3
goto 10
StackMap locals: org.graalvm.compiler.graph.Node int top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 2
start local 2 3: aload 2
invokevirtual org.graalvm.compiler.graph.Node.inputPositions:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 5
goto 9
StackMap locals: org.graalvm.compiler.graph.Node int org.graalvm.compiler.graph.Node java.util.Iterator top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Position
astore 4
start local 4 5: aload 4
invokevirtual org.graalvm.compiler.graph.Position.getInputType:()Lorg/graalvm/compiler/nodeinfo/InputType;
getstatic org.graalvm.compiler.nodeinfo.InputType.Guard:Lorg/graalvm/compiler/nodeinfo/InputType;
if_acmpne 9
aload 4
aload 2
invokevirtual org.graalvm.compiler.graph.Position.get:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
aload 0
if_acmpne 9
6: iload 1
ifeq 8
7: iconst_1
ireturn
8: StackMap locals: org.graalvm.compiler.graph.Node int org.graalvm.compiler.graph.Node java.util.Iterator org.graalvm.compiler.graph.Position java.util.Iterator
StackMap stack:
iconst_1
istore 1
end local 4 9: StackMap locals: org.graalvm.compiler.graph.Node int org.graalvm.compiler.graph.Node java.util.Iterator top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
end local 2 10: StackMap locals: org.graalvm.compiler.graph.Node int top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
11: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 n Lorg/graalvm/compiler/graph/Node;
1 12 1 foundOne Z
3 10 2 usage Lorg/graalvm/compiler/graph/Node;
5 9 4 pos Lorg/graalvm/compiler/graph/Position;
MethodParameters:
Name Flags
n
private static java.util.List<org.graalvm.compiler.graph.Node> guardUsages(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=6, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 0
invokevirtual org.graalvm.compiler.graph.Node.usages:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
astore 3
goto 8
StackMap locals: org.graalvm.compiler.graph.Node java.util.List top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 2
start local 2 3: aload 2
invokevirtual org.graalvm.compiler.graph.Node.inputPositions:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 5
goto 7
StackMap locals: org.graalvm.compiler.graph.Node java.util.List org.graalvm.compiler.graph.Node java.util.Iterator top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Position
astore 4
start local 4 5: aload 4
invokevirtual org.graalvm.compiler.graph.Position.getInputType:()Lorg/graalvm/compiler/nodeinfo/InputType;
getstatic org.graalvm.compiler.nodeinfo.InputType.Guard:Lorg/graalvm/compiler/nodeinfo/InputType;
if_acmpne 7
aload 4
aload 2
invokevirtual org.graalvm.compiler.graph.Position.get:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
aload 0
if_acmpne 7
6: aload 1
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 7: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
end local 2 8: StackMap locals: org.graalvm.compiler.graph.Node java.util.List top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
9: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 n Lorg/graalvm/compiler/graph/Node;
1 10 1 ret Ljava/util/List<Lorg/graalvm/compiler/graph/Node;>;
3 8 2 usage Lorg/graalvm/compiler/graph/Node;
5 7 4 pos Lorg/graalvm/compiler/graph/Position;
Signature: (Lorg/graalvm/compiler/graph/Node;)Ljava/util/List<Lorg/graalvm/compiler/graph/Node;>;
MethodParameters:
Name Flags
n
}
SourceFile: "InsertGuardFencesPhase.java"
InnerClasses:
public Options = org.graalvm.compiler.core.common.SpeculativeExecutionAttacksMitigations$Options of org.graalvm.compiler.core.common.SpeculativeExecutionAttacksMitigations