public abstract class com.oracle.truffle.regex.RegexExecRootNode extends com.oracle.truffle.regex.RegexBodyNode
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.oracle.truffle.regex.RegexExecRootNode
super_class: com.oracle.truffle.regex.RegexBodyNode
{
private final boolean mustCheckUnicodeSurrogates;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private com.oracle.truffle.regex.tregex.nodes.input.InputLengthNode lengthNode;
descriptor: Lcom/oracle/truffle/regex/tregex/nodes/input/InputLengthNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private com.oracle.truffle.regex.tregex.nodes.input.InputReadNode charAtNode;
descriptor: Lcom/oracle/truffle/regex/tregex/nodes/input/InputReadNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
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 Lcom/oracle/truffle/regex/RegexExecRootNode;
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 com.oracle.truffle.regex.RegexExecRootNode.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(com.oracle.truffle.regex.RegexLanguage, com.oracle.truffle.regex.RegexSource, boolean);
descriptor: (Lcom/oracle/truffle/regex/RegexLanguage;Lcom/oracle/truffle/regex/RegexSource;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokespecial com.oracle.truffle.regex.RegexBodyNode.<init>:(Lcom/oracle/truffle/regex/RegexLanguage;Lcom/oracle/truffle/regex/RegexSource;)V
1: aload 0
iload 3
putfield com.oracle.truffle.regex.RegexExecRootNode.mustCheckUnicodeSurrogates:Z
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/regex/RegexExecRootNode;
0 3 1 language Lcom/oracle/truffle/regex/RegexLanguage;
0 3 2 source Lcom/oracle/truffle/regex/RegexSource;
0 3 3 mustCheckUnicodeSurrogates Z
MethodParameters:
Name Flags
language
source
mustCheckUnicodeSurrogates
public final com.oracle.truffle.regex.result.RegexResult execute(com.oracle.truffle.api.frame.VirtualFrame);
descriptor: (Lcom/oracle/truffle/api/frame/VirtualFrame;)Lcom/oracle/truffle/regex/result/RegexResult;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=8, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface com.oracle.truffle.api.frame.VirtualFrame.getArguments:()[Ljava/lang/Object;
astore 2
start local 2 1: getstatic com.oracle.truffle.regex.RegexExecRootNode.$assertionsDisabled:Z
ifne 2
aload 2
arraylength
iconst_2
if_icmpeq 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: java.lang.Object[]
StackMap stack:
aload 2
iconst_0
aaload
astore 3
start local 3 3: aload 2
iconst_1
aaload
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 4
start local 4 4: iload 4
iflt 5
iload 4
aload 0
aload 3
invokevirtual com.oracle.truffle.regex.RegexExecRootNode.inputLength:(Ljava/lang/Object;)I
if_icmple 7
5: StackMap locals: java.lang.Object int
StackMap stack:
invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
6: new java.lang.IllegalArgumentException
dup
ldc "got illegal fromIndex value: %d. fromIndex must be >= 0 and <= input length (%d)"
iconst_2
anewarray java.lang.Object
dup
iconst_0
iload 4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0
aload 3
invokevirtual com.oracle.truffle.regex.RegexExecRootNode.inputLength:(Ljava/lang/Object;)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 0
aload 3
aload 0
iload 4
aload 3
invokevirtual com.oracle.truffle.regex.RegexExecRootNode.adjustFromIndex:(ILjava/lang/Object;)I
invokevirtual com.oracle.truffle.regex.RegexExecRootNode.execute:(Ljava/lang/Object;I)Lcom/oracle/truffle/regex/result/RegexResult;
areturn
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 Lcom/oracle/truffle/regex/RegexExecRootNode;
0 8 1 frame Lcom/oracle/truffle/api/frame/VirtualFrame;
1 8 2 args [Ljava/lang/Object;
3 8 3 input Ljava/lang/Object;
4 8 4 fromIndex I
MethodParameters:
Name Flags
frame
private int adjustFromIndex(int, java.lang.Object);
descriptor: (ILjava/lang/Object;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.oracle.truffle.regex.RegexExecRootNode.mustCheckUnicodeSurrogates:Z
ifeq 3
iload 1
ifle 3
iload 1
aload 0
aload 2
invokevirtual com.oracle.truffle.regex.RegexExecRootNode.inputLength:(Ljava/lang/Object;)I
if_icmpge 3
1: aload 0
aload 2
iload 1
invokevirtual com.oracle.truffle.regex.RegexExecRootNode.inputRead:(Ljava/lang/Object;I)I
i2c
invokestatic java.lang.Character.isLowSurrogate:(C)Z
ifeq 3
aload 0
aload 2
iload 1
iconst_1
isub
invokevirtual com.oracle.truffle.regex.RegexExecRootNode.inputRead:(Ljava/lang/Object;I)I
i2c
invokestatic java.lang.Character.isHighSurrogate:(C)Z
ifeq 3
2: iload 1
iconst_1
isub
ireturn
3: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/regex/RegexExecRootNode;
0 4 1 fromIndex I
0 4 2 input Ljava/lang/Object;
MethodParameters:
Name Flags
fromIndex
input
public int inputLength(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.regex.RegexExecRootNode.lengthNode:Lcom/oracle/truffle/regex/tregex/nodes/input/InputLengthNode;
ifnonnull 3
1: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
2: aload 0
aload 0
invokestatic com.oracle.truffle.regex.tregex.nodes.input.InputLengthNode.create:()Lcom/oracle/truffle/regex/tregex/nodes/input/InputLengthNode;
invokevirtual com.oracle.truffle.regex.RegexExecRootNode.insert:(Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/api/nodes/Node;
checkcast com.oracle.truffle.regex.tregex.nodes.input.InputLengthNode
putfield com.oracle.truffle.regex.RegexExecRootNode.lengthNode:Lcom/oracle/truffle/regex/tregex/nodes/input/InputLengthNode;
3: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.regex.RegexExecRootNode.lengthNode:Lcom/oracle/truffle/regex/tregex/nodes/input/InputLengthNode;
aload 1
invokevirtual com.oracle.truffle.regex.tregex.nodes.input.InputLengthNode.execute:(Ljava/lang/Object;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/regex/RegexExecRootNode;
0 4 1 input Ljava/lang/Object;
MethodParameters:
Name Flags
input
public int inputRead(java.lang.Object, int);
descriptor: (Ljava/lang/Object;I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.oracle.truffle.regex.RegexExecRootNode.charAtNode:Lcom/oracle/truffle/regex/tregex/nodes/input/InputReadNode;
ifnonnull 3
1: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
2: aload 0
aload 0
invokestatic com.oracle.truffle.regex.tregex.nodes.input.InputReadNode.create:()Lcom/oracle/truffle/regex/tregex/nodes/input/InputReadNode;
invokevirtual com.oracle.truffle.regex.RegexExecRootNode.insert:(Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/api/nodes/Node;
checkcast com.oracle.truffle.regex.tregex.nodes.input.InputReadNode
putfield com.oracle.truffle.regex.RegexExecRootNode.charAtNode:Lcom/oracle/truffle/regex/tregex/nodes/input/InputReadNode;
3: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.regex.RegexExecRootNode.charAtNode:Lcom/oracle/truffle/regex/tregex/nodes/input/InputReadNode;
aload 1
iload 2
invokevirtual com.oracle.truffle.regex.tregex.nodes.input.InputReadNode.execute:(Ljava/lang/Object;I)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/regex/RegexExecRootNode;
0 4 1 input Ljava/lang/Object;
0 4 2 i I
MethodParameters:
Name Flags
input
i
protected abstract com.oracle.truffle.regex.result.RegexResult execute(java.lang.Object, int);
descriptor: (Ljava/lang/Object;I)Lcom/oracle/truffle/regex/result/RegexResult;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
input
fromIndex
public java.lang.Object execute(com.oracle.truffle.api.frame.VirtualFrame);
descriptor: (Lcom/oracle/truffle/api/frame/VirtualFrame;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual com.oracle.truffle.regex.RegexExecRootNode.execute:(Lcom/oracle/truffle/api/frame/VirtualFrame;)Lcom/oracle/truffle/regex/result/RegexResult;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "RegexExecRootNode.java"
InnerClasses:
public abstract Child = com.oracle.truffle.api.nodes.Node$Child of com.oracle.truffle.api.nodes.Node