public abstract class com.oracle.truffle.js.nodes.CompileRegexNode extends com.oracle.truffle.js.nodes.JavaScriptBaseNode
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.oracle.truffle.js.nodes.CompileRegexNode
super_class: com.oracle.truffle.js.nodes.JavaScriptBaseNode
{
private com.oracle.truffle.js.runtime.util.TRegexUtil$CompileRegexNode executeCompilerNode;
descriptor: Lcom/oracle/truffle/js/runtime/util/TRegexUtil$CompileRegexNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private final com.oracle.truffle.js.runtime.JSContext context;
descriptor: Lcom/oracle/truffle/js/runtime/JSContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected void <init>(com.oracle.truffle.js.runtime.JSContext);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial com.oracle.truffle.js.nodes.JavaScriptBaseNode.<init>:()V
1: aload 0
invokestatic com.oracle.truffle.js.runtime.util.TRegexUtil$CompileRegexNode.create:()Lcom/oracle/truffle/js/runtime/util/TRegexUtil$CompileRegexNode;
putfield com.oracle.truffle.js.nodes.CompileRegexNode.executeCompilerNode:Lcom/oracle/truffle/js/runtime/util/TRegexUtil$CompileRegexNode;
2: aload 0
aload 1
putfield com.oracle.truffle.js.nodes.CompileRegexNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/nodes/CompileRegexNode;
0 4 1 context Lcom/oracle/truffle/js/runtime/JSContext;
MethodParameters:
Name Flags
context
public static com.oracle.truffle.js.nodes.CompileRegexNode create(com.oracle.truffle.js.runtime.JSContext);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/CompileRegexNode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tCompileRegexNodeGen cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
context
public final java.lang.Object compile(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc ""
invokevirtual com.oracle.truffle.js.nodes.CompileRegexNode.compile:(Ljava/lang/CharSequence;Ljava/lang/String;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/CompileRegexNode;
0 1 1 pattern Ljava/lang/String;
MethodParameters:
Name Flags
pattern
public final java.lang.Object compile(java.lang.CharSequence, java.lang.String);
descriptor: (Ljava/lang/CharSequence;Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual com.oracle.truffle.js.nodes.CompileRegexNode.executeCompile:(Ljava/lang/CharSequence;Ljava/lang/String;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/CompileRegexNode;
0 1 1 pattern Ljava/lang/CharSequence;
0 1 2 flags Ljava/lang/String;
MethodParameters:
Name Flags
pattern
flags
protected abstract java.lang.Object executeCompile(java.lang.CharSequence, java.lang.String);
descriptor: (Ljava/lang/CharSequence;Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
pattern
flags
protected java.lang.Object getCached(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, 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 5
areturn
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 1 0 this Lcom/oracle/truffle/js/nodes/CompileRegexNode;
0 1 1 pattern Ljava/lang/String;
0 1 2 flags Ljava/lang/String;
0 1 3 cachedPattern Ljava/lang/String;
0 1 4 cachedFlags Ljava/lang/String;
0 1 5 cachedCompiledRegex Ljava/lang/Object;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"stringEquals(pattern, cachedPattern)", "stringEquals(flags, cachedFlags)"}, limit = "MaxCompiledRegexCacheLength")
RuntimeInvisibleParameterAnnotations:
0:
1:
2:
com.oracle.truffle.api.dsl.Cached(value = "pattern")
3:
com.oracle.truffle.api.dsl.Cached(value = "flags")
4:
com.oracle.truffle.api.dsl.Cached(value = "doCompile(pattern, flags)")
MethodParameters:
Name Flags
pattern
flags
cachedPattern
cachedFlags
cachedCompiledRegex
protected static boolean stringEquals(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Z
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 a Ljava/lang/String;
0 1 1 b Ljava/lang/String;
MethodParameters:
Name Flags
a
b
protected java.lang.Object doCompileNoTrimCache(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual com.oracle.truffle.js.nodes.CompileRegexNode.doCompile:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/CompileRegexNode;
0 1 1 pattern Ljava/lang/String;
0 1 2 flags Ljava/lang/String;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"!TrimCompiledRegexCache"})
MethodParameters:
Name Flags
pattern
flags
protected java.lang.Object doCompile(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
aload 0
getfield com.oracle.truffle.js.nodes.CompileRegexNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
aload 0
getfield com.oracle.truffle.js.nodes.CompileRegexNode.executeCompilerNode:Lcom/oracle/truffle/js/runtime/util/TRegexUtil$CompileRegexNode;
invokestatic com.oracle.truffle.js.runtime.RegexCompilerInterface.compile:(Ljava/lang/String;Ljava/lang/String;Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/runtime/util/TRegexUtil$CompileRegexNode;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/CompileRegexNode;
0 1 1 pattern Ljava/lang/String;
0 1 2 flags Ljava/lang/String;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(replaces = {"getCached"})
RuntimeInvisibleAnnotations:
com.oracle.truffle.api.dsl.ReportPolymorphism$Megamorphic()
MethodParameters:
Name Flags
pattern
flags
}
SourceFile: "CompileRegexNode.java"
InnerClasses:
public abstract Megamorphic = com.oracle.truffle.api.dsl.ReportPolymorphism$Megamorphic of com.oracle.truffle.api.dsl.ReportPolymorphism
public abstract Child = com.oracle.truffle.api.nodes.Node$Child of com.oracle.truffle.api.nodes.Node
public abstract CompileRegexNode = com.oracle.truffle.js.runtime.util.TRegexUtil$CompileRegexNode of com.oracle.truffle.js.runtime.util.TRegexUtil
RuntimeInvisibleAnnotations:
com.oracle.truffle.api.dsl.ImportStatic(value = {Lcom/oracle/truffle/js/runtime/JSConfig;})