public class org.graalvm.compiler.core.match.MatchContext
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.core.match.MatchContext
super_class: java.lang.Object
{
private final org.graalvm.compiler.graph.Node root;
descriptor: Lorg/graalvm/compiler/graph/Node;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<org.graalvm.compiler.graph.Node> nodes;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/graalvm/compiler/graph/Node;>;
private final org.graalvm.compiler.core.match.MatchStatement rule;
descriptor: Lorg/graalvm/compiler/core/match/MatchStatement;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.graalvm.util.EconomicMap<java.lang.String, org.graalvm.compiler.core.match.MatchContext$NamedNode> namedNodes;
descriptor: Lorg/graalvm/util/EconomicMap;
flags: (0x0002) ACC_PRIVATE
Signature: Lorg/graalvm/util/EconomicMap<Ljava/lang/String;Lorg/graalvm/compiler/core/match/MatchContext$NamedNode;>;
private java.util.ArrayList<org.graalvm.compiler.graph.Node> consumed;
descriptor: Ljava/util/ArrayList;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/ArrayList<Lorg/graalvm/compiler/graph/Node;>;
private int startIndex;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int endIndex;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final org.graalvm.compiler.core.gen.NodeLIRBuilder builder;
descriptor: Lorg/graalvm/compiler/core/gen/NodeLIRBuilder;
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/core/match/MatchContext;
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.core.match.MatchContext.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.graalvm.compiler.core.gen.NodeLIRBuilder, org.graalvm.compiler.core.match.MatchStatement, int, org.graalvm.compiler.graph.Node, java.util.List<org.graalvm.compiler.graph.Node>);
descriptor: (Lorg/graalvm/compiler/core/gen/NodeLIRBuilder;Lorg/graalvm/compiler/core/match/MatchStatement;ILorg/graalvm/compiler/graph/Node;Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.graalvm.compiler.core.match.MatchContext.builder:Lorg/graalvm/compiler/core/gen/NodeLIRBuilder;
2: aload 0
aload 2
putfield org.graalvm.compiler.core.match.MatchContext.rule:Lorg/graalvm/compiler/core/match/MatchStatement;
3: aload 0
aload 4
putfield org.graalvm.compiler.core.match.MatchContext.root:Lorg/graalvm/compiler/graph/Node;
4: aload 0
aload 5
putfield org.graalvm.compiler.core.match.MatchContext.nodes:Ljava/util/List;
5: getstatic org.graalvm.compiler.core.match.MatchContext.$assertionsDisabled:Z
ifne 6
iload 3
aload 5
aload 4
invokeinterface java.util.List.indexOf:(Ljava/lang/Object;)I
if_icmpeq 6
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
6: StackMap locals: org.graalvm.compiler.core.match.MatchContext org.graalvm.compiler.core.gen.NodeLIRBuilder org.graalvm.compiler.core.match.MatchStatement int org.graalvm.compiler.graph.Node java.util.List
StackMap stack:
aload 0
aload 0
iload 3
dup_x1
putfield org.graalvm.compiler.core.match.MatchContext.endIndex:I
putfield org.graalvm.compiler.core.match.MatchContext.startIndex:I
7: return
end local 5 end local 4 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/core/match/MatchContext;
0 8 1 builder Lorg/graalvm/compiler/core/gen/NodeLIRBuilder;
0 8 2 rule Lorg/graalvm/compiler/core/match/MatchStatement;
0 8 3 index I
0 8 4 node Lorg/graalvm/compiler/graph/Node;
0 8 5 nodes Ljava/util/List<Lorg/graalvm/compiler/graph/Node;>;
Signature: (Lorg/graalvm/compiler/core/gen/NodeLIRBuilder;Lorg/graalvm/compiler/core/match/MatchStatement;ILorg/graalvm/compiler/graph/Node;Ljava/util/List<Lorg/graalvm/compiler/graph/Node;>;)V
MethodParameters:
Name Flags
builder
rule
index
node
nodes
public org.graalvm.compiler.graph.Node getRoot();
descriptor: ()Lorg/graalvm/compiler/graph/Node;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.core.match.MatchContext.root:Lorg/graalvm/compiler/graph/Node;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/match/MatchContext;
public org.graalvm.compiler.core.match.MatchPattern$Result captureNamedValue(java.lang.String, java.lang.Class<? extends org.graalvm.compiler.graph.Node>, org.graalvm.compiler.graph.Node);
descriptor: (Ljava/lang/String;Ljava/lang/Class;Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/core/match/MatchPattern$Result;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.graalvm.compiler.core.match.MatchContext.namedNodes:Lorg/graalvm/util/EconomicMap;
ifnonnull 2
1: aload 0
getstatic org.graalvm.util.Equivalence.DEFAULT:Lorg/graalvm/util/Equivalence;
invokestatic org.graalvm.util.EconomicMap.create:(Lorg/graalvm/util/Equivalence;)Lorg/graalvm/util/EconomicMap;
putfield org.graalvm.compiler.core.match.MatchContext.namedNodes:Lorg/graalvm/util/EconomicMap;
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.core.match.MatchContext.namedNodes:Lorg/graalvm/util/EconomicMap;
aload 1
invokeinterface org.graalvm.util.EconomicMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.compiler.core.match.MatchContext$NamedNode
astore 4
start local 4 3: aload 4
ifnonnull 7
4: new org.graalvm.compiler.core.match.MatchContext$NamedNode
dup
aload 2
aload 3
invokespecial org.graalvm.compiler.core.match.MatchContext$NamedNode.<init>:(Ljava/lang/Class;Lorg/graalvm/compiler/graph/Node;)V
astore 4
5: aload 0
getfield org.graalvm.compiler.core.match.MatchContext.namedNodes:Lorg/graalvm/util/EconomicMap;
aload 1
aload 4
invokeinterface org.graalvm.util.EconomicMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: getstatic org.graalvm.compiler.core.match.MatchPattern$Result.OK:Lorg/graalvm/compiler/core/match/MatchPattern$Result;
areturn
7: StackMap locals: org.graalvm.compiler.core.match.MatchContext$NamedNode
StackMap stack:
aload 4
getfield org.graalvm.compiler.core.match.MatchContext$NamedNode.value:Lorg/graalvm/compiler/graph/Node;
aload 3
if_acmpne 8
aload 4
getfield org.graalvm.compiler.core.match.MatchContext$NamedNode.type:Ljava/lang/Class;
aload 2
if_acmpeq 9
8: StackMap locals:
StackMap stack:
aload 3
aload 0
getfield org.graalvm.compiler.core.match.MatchContext.rule:Lorg/graalvm/compiler/core/match/MatchStatement;
invokevirtual org.graalvm.compiler.core.match.MatchStatement.getPattern:()Lorg/graalvm/compiler/core/match/MatchPattern;
invokestatic org.graalvm.compiler.core.match.MatchPattern$Result.namedValueMismatch:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/core/match/MatchPattern;)Lorg/graalvm/compiler/core/match/MatchPattern$Result;
areturn
9: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.core.match.MatchPattern$Result.OK:Lorg/graalvm/compiler/core/match/MatchPattern$Result;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/graalvm/compiler/core/match/MatchContext;
0 10 1 name Ljava/lang/String;
0 10 2 type Ljava/lang/Class<+Lorg/graalvm/compiler/graph/Node;>;
0 10 3 value Lorg/graalvm/compiler/graph/Node;
3 10 4 current Lorg/graalvm/compiler/core/match/MatchContext$NamedNode;
Signature: (Ljava/lang/String;Ljava/lang/Class<+Lorg/graalvm/compiler/graph/Node;>;Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/core/match/MatchPattern$Result;
MethodParameters:
Name Flags
name
type
value
public org.graalvm.compiler.core.match.MatchPattern$Result validate();
descriptor: ()Lorg/graalvm/compiler/core/match/MatchPattern$Result;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.core.match.MatchContext.startIndex:I
istore 1
start local 1 1: goto 22
2: StackMap locals: int
StackMap stack:
aload 0
getfield org.graalvm.compiler.core.match.MatchContext.nodes:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 2
start local 2 3: aload 2
instanceof org.graalvm.compiler.nodes.virtual.VirtualObjectNode
ifne 21
aload 2
instanceof org.graalvm.compiler.nodes.calc.FloatingNode
ifeq 5
4: goto 21
5: StackMap locals: org.graalvm.compiler.graph.Node
StackMap stack:
aload 0
getfield org.graalvm.compiler.core.match.MatchContext.consumed:Ljava/util/ArrayList;
ifnull 6
aload 0
getfield org.graalvm.compiler.core.match.MatchContext.consumed:Ljava/util/ArrayList;
aload 2
invokevirtual java.util.ArrayList.contains:(Ljava/lang/Object;)Z
ifne 21
StackMap locals:
StackMap stack:
6: aload 2
aload 0
getfield org.graalvm.compiler.core.match.MatchContext.root:Lorg/graalvm/compiler/graph/Node;
if_acmpeq 21
7: getstatic org.graalvm.compiler.debug.DebugOptions.LogVerbose:Lorg/graalvm/compiler/options/OptionKey;
aload 0
getfield org.graalvm.compiler.core.match.MatchContext.root:Lorg/graalvm/compiler/graph/Node;
invokevirtual org.graalvm.compiler.graph.Node.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 20
8: aload 0
getfield org.graalvm.compiler.core.match.MatchContext.root:Lorg/graalvm/compiler/graph/Node;
invokevirtual org.graalvm.compiler.graph.Node.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
astore 3
start local 3 9: aload 3
ldc "unexpected node %s"
aload 2
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(Ljava/lang/String;Ljava/lang/Object;)V
10: aload 0
getfield org.graalvm.compiler.core.match.MatchContext.startIndex:I
istore 4
start local 4 11: goto 19
12: StackMap locals: org.graalvm.compiler.debug.DebugContext int
StackMap stack:
aload 0
getfield org.graalvm.compiler.core.match.MatchContext.nodes:Ljava/util/List;
iload 4
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 5
start local 5 13: aload 3
ldc "%s(%s) %1s"
aload 0
getfield org.graalvm.compiler.core.match.MatchContext.consumed:Ljava/util/ArrayList;
ifnull 14
aload 0
getfield org.graalvm.compiler.core.match.MatchContext.consumed:Ljava/util/ArrayList;
aload 5
invokevirtual java.util.ArrayList.contains:(Ljava/lang/Object;)Z
ifne 15
StackMap locals: org.graalvm.compiler.core.match.MatchContext int org.graalvm.compiler.graph.Node org.graalvm.compiler.debug.DebugContext int org.graalvm.compiler.graph.Node
StackMap stack: org.graalvm.compiler.debug.DebugContext java.lang.String
14: aload 5
aload 0
getfield org.graalvm.compiler.core.match.MatchContext.root:Lorg/graalvm/compiler/graph/Node;
if_acmpne 16
StackMap locals: org.graalvm.compiler.core.match.MatchContext int org.graalvm.compiler.graph.Node org.graalvm.compiler.debug.DebugContext int org.graalvm.compiler.graph.Node
StackMap stack: org.graalvm.compiler.debug.DebugContext java.lang.String
15: ldc "*"
goto 17
StackMap locals: org.graalvm.compiler.core.match.MatchContext int org.graalvm.compiler.graph.Node org.graalvm.compiler.debug.DebugContext int org.graalvm.compiler.graph.Node
StackMap stack: org.graalvm.compiler.debug.DebugContext java.lang.String
16: ldc " "
StackMap locals: org.graalvm.compiler.core.match.MatchContext int org.graalvm.compiler.graph.Node org.graalvm.compiler.debug.DebugContext int org.graalvm.compiler.graph.Node
StackMap stack: org.graalvm.compiler.debug.DebugContext java.lang.String java.lang.String
17: aload 5
invokevirtual org.graalvm.compiler.graph.Node.getUsageCount:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 5
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V
end local 5 18: iinc 4 1
StackMap locals:
StackMap stack:
19: iload 4
aload 0
getfield org.graalvm.compiler.core.match.MatchContext.endIndex:I
if_icmple 12
end local 4 end local 3 20: StackMap locals:
StackMap stack:
aload 2
aload 0
getfield org.graalvm.compiler.core.match.MatchContext.rule:Lorg/graalvm/compiler/core/match/MatchStatement;
invokevirtual org.graalvm.compiler.core.match.MatchStatement.getPattern:()Lorg/graalvm/compiler/core/match/MatchPattern;
invokestatic org.graalvm.compiler.core.match.MatchPattern$Result.notSafe:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/core/match/MatchPattern;)Lorg/graalvm/compiler/core/match/MatchPattern$Result;
areturn
end local 2 21: StackMap locals:
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
22: iload 1
aload 0
getfield org.graalvm.compiler.core.match.MatchContext.endIndex:I
if_icmple 2
end local 1 23: getstatic org.graalvm.compiler.core.match.MatchPattern$Result.OK:Lorg/graalvm/compiler/core/match/MatchPattern$Result;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/graalvm/compiler/core/match/MatchContext;
1 23 1 i I
3 21 2 node Lorg/graalvm/compiler/graph/Node;
9 20 3 debug Lorg/graalvm/compiler/debug/DebugContext;
11 20 4 j I
13 18 5 theNode Lorg/graalvm/compiler/graph/Node;
public void setResult(org.graalvm.compiler.core.match.ComplexMatchResult);
descriptor: (Lorg/graalvm/compiler/core/match/ComplexMatchResult;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: new org.graalvm.compiler.core.match.ComplexMatchValue
dup
aload 1
invokespecial org.graalvm.compiler.core.match.ComplexMatchValue.<init>:(Lorg/graalvm/compiler/core/match/ComplexMatchResult;)V
astore 2
start local 2 1: aload 0
getfield org.graalvm.compiler.core.match.MatchContext.root:Lorg/graalvm/compiler/graph/Node;
invokevirtual org.graalvm.compiler.graph.Node.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
astore 3
start local 3 2: aload 3
invokevirtual org.graalvm.compiler.debug.DebugContext.isLogEnabled:()Z
ifeq 5
3: aload 3
ldc "matched %s %s"
aload 0
getfield org.graalvm.compiler.core.match.MatchContext.rule:Lorg/graalvm/compiler/core/match/MatchStatement;
invokevirtual org.graalvm.compiler.core.match.MatchStatement.getName:()Ljava/lang/String;
aload 0
getfield org.graalvm.compiler.core.match.MatchContext.rule:Lorg/graalvm/compiler/core/match/MatchStatement;
invokevirtual org.graalvm.compiler.core.match.MatchStatement.getPattern:()Lorg/graalvm/compiler/core/match/MatchPattern;
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
4: aload 3
ldc "with nodes %s"
aload 0
getfield org.graalvm.compiler.core.match.MatchContext.rule:Lorg/graalvm/compiler/core/match/MatchStatement;
aload 0
getfield org.graalvm.compiler.core.match.MatchContext.root:Lorg/graalvm/compiler/graph/Node;
invokevirtual org.graalvm.compiler.core.match.MatchStatement.formatMatch:(Lorg/graalvm/compiler/graph/Node;)Ljava/lang/String;
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(Ljava/lang/String;Ljava/lang/Object;)V
5: StackMap locals: org.graalvm.compiler.core.match.ComplexMatchValue org.graalvm.compiler.debug.DebugContext
StackMap stack:
aload 0
getfield org.graalvm.compiler.core.match.MatchContext.consumed:Ljava/util/ArrayList;
ifnull 10
6: aload 0
getfield org.graalvm.compiler.core.match.MatchContext.consumed:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 5
goto 9
StackMap locals: org.graalvm.compiler.core.match.MatchContext org.graalvm.compiler.core.match.ComplexMatchResult org.graalvm.compiler.core.match.ComplexMatchValue org.graalvm.compiler.debug.DebugContext top java.util.Iterator
StackMap stack:
7: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 4
start local 4 8: aload 0
getfield org.graalvm.compiler.core.match.MatchContext.builder:Lorg/graalvm/compiler/core/gen/NodeLIRBuilder;
aload 4
getstatic org.graalvm.compiler.core.match.ComplexMatchValue.INTERIOR_MATCH:Ljdk/vm/ci/meta/Value;
invokevirtual org.graalvm.compiler.core.gen.NodeLIRBuilder.setMatchResult:(Lorg/graalvm/compiler/graph/Node;Ljdk/vm/ci/meta/Value;)V
end local 4 9: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
10: StackMap locals: org.graalvm.compiler.core.match.MatchContext org.graalvm.compiler.core.match.ComplexMatchResult org.graalvm.compiler.core.match.ComplexMatchValue org.graalvm.compiler.debug.DebugContext
StackMap stack:
aload 0
getfield org.graalvm.compiler.core.match.MatchContext.builder:Lorg/graalvm/compiler/core/gen/NodeLIRBuilder;
aload 0
getfield org.graalvm.compiler.core.match.MatchContext.root:Lorg/graalvm/compiler/graph/Node;
aload 2
invokevirtual org.graalvm.compiler.core.gen.NodeLIRBuilder.setMatchResult:(Lorg/graalvm/compiler/graph/Node;Ljdk/vm/ci/meta/Value;)V
11: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/graalvm/compiler/core/match/MatchContext;
0 12 1 result Lorg/graalvm/compiler/core/match/ComplexMatchResult;
1 12 2 value Lorg/graalvm/compiler/core/match/ComplexMatchValue;
2 12 3 debug Lorg/graalvm/compiler/debug/DebugContext;
8 9 4 node Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
result
public org.graalvm.compiler.core.match.MatchPattern$Result consume(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/core/match/MatchPattern$Result;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.core.match.MatchContext.$assertionsDisabled:Z
ifne 1
aload 1
invokestatic org.graalvm.compiler.core.match.MatchPattern.isSingleValueUser:(Lorg/graalvm/compiler/graph/Node;)Z
ifne 1
new java.lang.AssertionError
dup
ldc "should have already been checked"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.core.match.MatchContext.nodes:Ljava/util/List;
aload 1
invokeinterface java.util.List.indexOf:(Ljava/lang/Object;)I
istore 2
start local 2 2: iload 2
iconst_m1
if_icmpne 4
3: aload 1
aload 0
getfield org.graalvm.compiler.core.match.MatchContext.rule:Lorg/graalvm/compiler/core/match/MatchStatement;
invokevirtual org.graalvm.compiler.core.match.MatchStatement.getPattern:()Lorg/graalvm/compiler/core/match/MatchPattern;
invokestatic org.graalvm.compiler.core.match.MatchPattern$Result.notInBlock:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/core/match/MatchPattern;)Lorg/graalvm/compiler/core/match/MatchPattern$Result;
areturn
4: StackMap locals: int
StackMap stack:
aload 0
getfield org.graalvm.compiler.core.match.MatchContext.builder:Lorg/graalvm/compiler/core/gen/NodeLIRBuilder;
aload 1
invokevirtual org.graalvm.compiler.core.gen.NodeLIRBuilder.hasOperand:(Lorg/graalvm/compiler/graph/Node;)Z
ifeq 6
5: aload 1
aload 0
getfield org.graalvm.compiler.core.match.MatchContext.rule:Lorg/graalvm/compiler/core/match/MatchStatement;
invokevirtual org.graalvm.compiler.core.match.MatchStatement.getPattern:()Lorg/graalvm/compiler/core/match/MatchPattern;
invokestatic org.graalvm.compiler.core.match.MatchPattern$Result.alreadyUsed:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/core/match/MatchPattern;)Lorg/graalvm/compiler/core/match/MatchPattern$Result;
areturn
6: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.graalvm.compiler.core.match.MatchContext.startIndex:I
iload 2
invokestatic java.lang.Math.min:(II)I
putfield org.graalvm.compiler.core.match.MatchContext.startIndex:I
7: aload 0
getfield org.graalvm.compiler.core.match.MatchContext.consumed:Ljava/util/ArrayList;
ifnonnull 9
8: aload 0
new java.util.ArrayList
dup
iconst_2
invokespecial java.util.ArrayList.<init>:(I)V
putfield org.graalvm.compiler.core.match.MatchContext.consumed:Ljava/util/ArrayList;
9: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.core.match.MatchContext.consumed:Ljava/util/ArrayList;
aload 1
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
10: getstatic org.graalvm.compiler.core.match.MatchPattern$Result.OK:Lorg/graalvm/compiler/core/match/MatchPattern$Result;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/graalvm/compiler/core/match/MatchContext;
0 11 1 node Lorg/graalvm/compiler/graph/Node;
2 11 2 index I
MethodParameters:
Name Flags
node
public org.graalvm.compiler.graph.Node namedNode(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/graalvm/compiler/graph/Node;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.core.match.MatchContext.namedNodes:Lorg/graalvm/util/EconomicMap;
ifnull 4
1: aload 0
getfield org.graalvm.compiler.core.match.MatchContext.namedNodes:Lorg/graalvm/util/EconomicMap;
aload 1
invokeinterface org.graalvm.util.EconomicMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.compiler.core.match.MatchContext$NamedNode
astore 2
start local 2 2: aload 2
ifnull 4
3: aload 2
getfield org.graalvm.compiler.core.match.MatchContext$NamedNode.value:Lorg/graalvm/compiler/graph/Node;
areturn
end local 2 4: StackMap locals:
StackMap stack:
new org.graalvm.compiler.debug.GraalError
dup
ldc "missing node %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokespecial org.graalvm.compiler.debug.GraalError.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/core/match/MatchContext;
0 5 1 name Ljava/lang/String;
2 4 2 value Lorg/graalvm/compiler/core/match/MatchContext$NamedNode;
MethodParameters:
Name Flags
name
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: ldc "%s %s (%d, %d) consumed %s"
iconst_5
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.graalvm.compiler.core.match.MatchContext.rule:Lorg/graalvm/compiler/core/match/MatchStatement;
aastore
dup
iconst_1
aload 0
getfield org.graalvm.compiler.core.match.MatchContext.root:Lorg/graalvm/compiler/graph/Node;
aastore
dup
iconst_2
aload 0
getfield org.graalvm.compiler.core.match.MatchContext.startIndex:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
aload 0
getfield org.graalvm.compiler.core.match.MatchContext.endIndex:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
aload 0
getfield org.graalvm.compiler.core.match.MatchContext.consumed:Ljava/util/ArrayList;
ifnull 1
aload 0
getfield org.graalvm.compiler.core.match.MatchContext.consumed:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.toArray:()[Ljava/lang/Object;
invokestatic java.util.Arrays.toString:([Ljava/lang/Object;)Ljava/lang/String;
goto 2
StackMap locals: org.graalvm.compiler.core.match.MatchContext
StackMap stack: java.lang.String java.lang.Object[] java.lang.Object[] int
1: ldc ""
StackMap locals: org.graalvm.compiler.core.match.MatchContext
StackMap stack: java.lang.String java.lang.Object[] java.lang.Object[] int java.lang.String
2: aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/core/match/MatchContext;
}
SourceFile: "MatchContext.java"
NestMembers:
org.graalvm.compiler.core.match.MatchContext$NamedNode
InnerClasses:
private NamedNode = org.graalvm.compiler.core.match.MatchContext$NamedNode of org.graalvm.compiler.core.match.MatchContext
Result = org.graalvm.compiler.core.match.MatchPattern$Result of org.graalvm.compiler.core.match.MatchPattern