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 java.util.Map<java.lang.String, org.graalvm.compiler.core.match.MatchContext$NamedNode> namedNodes;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<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:Ljava/util/Map;
ifnonnull 2
1: aload 0
new java.util.HashMap
dup
iconst_2
invokespecial java.util.HashMap.<init>:(I)V
putfield org.graalvm.compiler.core.match.MatchContext.namedNodes:Ljava/util/Map;
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.core.match.MatchContext.namedNodes:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.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:Ljava/util/Map;
aload 1
aload 4
invokeinterface java.util.Map.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=4, locals=5, 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 21
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 20
aload 2
instanceof org.graalvm.compiler.nodes.calc.FloatingNode
ifeq 5
4: goto 20
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 20
StackMap locals:
StackMap stack:
6: aload 2
aload 0
getfield org.graalvm.compiler.core.match.MatchContext.root:Lorg/graalvm/compiler/graph/Node;
if_acmpeq 20
7: getstatic org.graalvm.compiler.debug.GraalDebugConfig$Options.LogVerbose:Lorg/graalvm/compiler/options/OptionValue;
invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 19
8: ldc "unexpected node %s"
aload 2
invokestatic org.graalvm.compiler.debug.Debug.log:(Ljava/lang/String;Ljava/lang/Object;)V
9: aload 0
getfield org.graalvm.compiler.core.match.MatchContext.startIndex:I
istore 3
start local 3 10: goto 18
11: StackMap locals: int
StackMap stack:
aload 0
getfield org.graalvm.compiler.core.match.MatchContext.nodes:Ljava/util/List;
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 4
start local 4 12: ldc "%s(%s) %1s"
aload 0
getfield org.graalvm.compiler.core.match.MatchContext.consumed:Ljava/util/ArrayList;
ifnull 13
aload 0
getfield org.graalvm.compiler.core.match.MatchContext.consumed:Ljava/util/ArrayList;
aload 4
invokevirtual java.util.ArrayList.contains:(Ljava/lang/Object;)Z
ifne 14
StackMap locals: org.graalvm.compiler.core.match.MatchContext int org.graalvm.compiler.graph.Node int org.graalvm.compiler.graph.Node
StackMap stack: java.lang.String
13: aload 4
aload 0
getfield org.graalvm.compiler.core.match.MatchContext.root:Lorg/graalvm/compiler/graph/Node;
if_acmpne 15
StackMap locals:
StackMap stack: java.lang.String
14: ldc "*"
goto 16
StackMap locals:
StackMap stack: java.lang.String
15: ldc " "
StackMap locals: org.graalvm.compiler.core.match.MatchContext int org.graalvm.compiler.graph.Node int org.graalvm.compiler.graph.Node
StackMap stack: java.lang.String java.lang.String
16: aload 4
invokevirtual org.graalvm.compiler.graph.Node.getUsageCount:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 4
invokestatic org.graalvm.compiler.debug.Debug.log:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V
end local 4 17: iinc 3 1
StackMap locals:
StackMap stack:
18: iload 3
aload 0
getfield org.graalvm.compiler.core.match.MatchContext.endIndex:I
if_icmple 11
end local 3 19: 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 20: StackMap locals:
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
21: iload 1
aload 0
getfield org.graalvm.compiler.core.match.MatchContext.endIndex:I
if_icmple 2
end local 1 22: 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 23 0 this Lorg/graalvm/compiler/core/match/MatchContext;
1 22 1 i I
3 20 2 node Lorg/graalvm/compiler/graph/Node;
10 19 3 j I
12 17 4 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=3, locals=5, 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: invokestatic org.graalvm.compiler.debug.Debug.isLogEnabled:()Z
ifeq 4
2: 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;
invokestatic org.graalvm.compiler.debug.Debug.log:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
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;
invokestatic org.graalvm.compiler.debug.Debug.log:(Ljava/lang/String;Ljava/lang/Object;)V
4: StackMap locals: org.graalvm.compiler.core.match.ComplexMatchValue
StackMap stack:
aload 0
getfield org.graalvm.compiler.core.match.MatchContext.consumed:Ljava/util/ArrayList;
ifnull 9
5: aload 0
getfield org.graalvm.compiler.core.match.MatchContext.consumed:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 4
goto 8
StackMap locals: org.graalvm.compiler.core.match.MatchContext org.graalvm.compiler.core.match.ComplexMatchResult org.graalvm.compiler.core.match.ComplexMatchValue top java.util.Iterator
StackMap stack:
6: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 3
start local 3 7: aload 0
getfield org.graalvm.compiler.core.match.MatchContext.builder:Lorg/graalvm/compiler/core/gen/NodeLIRBuilder;
aload 3
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 3 8: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
9: StackMap locals: org.graalvm.compiler.core.match.MatchContext org.graalvm.compiler.core.match.ComplexMatchResult org.graalvm.compiler.core.match.ComplexMatchValue
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
10: return
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 result Lorg/graalvm/compiler/core/match/ComplexMatchResult;
1 11 2 value Lorg/graalvm/compiler/core/match/ComplexMatchValue;
7 8 3 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
invokevirtual org.graalvm.compiler.graph.Node.getUsageCount:()I
iconst_1
if_icmple 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:Ljava/util/Map;
ifnull 4
1: aload 0
getfield org.graalvm.compiler.core.match.MatchContext.namedNodes:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.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
public Options = org.graalvm.compiler.debug.GraalDebugConfig$Options of org.graalvm.compiler.debug.GraalDebugConfig