public abstract class com.oracle.truffle.js.nodes.intl.CreateRegExpNode 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.intl.CreateRegExpNode
super_class: com.oracle.truffle.js.nodes.JavaScriptBaseNode
{
private com.oracle.truffle.js.runtime.util.TRegexUtil$InteropReadMemberNode readNamedCG;
descriptor: Lcom/oracle/truffle/js/runtime/util/TRegexUtil$InteropReadMemberNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private com.oracle.truffle.js.runtime.util.TRegexUtil$InteropIsNullNode isNamedCGNull;
descriptor: Lcom/oracle/truffle/js/runtime/util/TRegexUtil$InteropIsNullNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private com.oracle.truffle.js.nodes.access.PropertySetNode setLastIndex;
descriptor: Lcom/oracle/truffle/js/nodes/access/PropertySetNode;
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=7, 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$InteropReadMemberNode.create:()Lcom/oracle/truffle/js/runtime/util/TRegexUtil$InteropReadMemberNode;
putfield com.oracle.truffle.js.nodes.intl.CreateRegExpNode.readNamedCG:Lcom/oracle/truffle/js/runtime/util/TRegexUtil$InteropReadMemberNode;
2: aload 0
invokestatic com.oracle.truffle.js.runtime.util.TRegexUtil$InteropIsNullNode.create:()Lcom/oracle/truffle/js/runtime/util/TRegexUtil$InteropIsNullNode;
putfield com.oracle.truffle.js.nodes.intl.CreateRegExpNode.isNamedCGNull:Lcom/oracle/truffle/js/runtime/util/TRegexUtil$InteropIsNullNode;
3: aload 0
aload 1
putfield com.oracle.truffle.js.nodes.intl.CreateRegExpNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
4: aload 0
ldc "lastIndex"
iconst_0
aload 1
iconst_1
iconst_1
invokestatic com.oracle.truffle.js.runtime.objects.JSAttributes.notConfigurableNotEnumerableWritable:()I
invokestatic com.oracle.truffle.js.nodes.access.PropertySetNode.createImpl:(Ljava/lang/Object;ZLcom/oracle/truffle/js/runtime/JSContext;ZZI)Lcom/oracle/truffle/js/nodes/access/PropertySetNode;
putfield com.oracle.truffle.js.nodes.intl.CreateRegExpNode.setLastIndex:Lcom/oracle/truffle/js/nodes/access/PropertySetNode;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/truffle/js/nodes/intl/CreateRegExpNode;
0 6 1 context Lcom/oracle/truffle/js/runtime/JSContext;
MethodParameters:
Name Flags
context
public static com.oracle.truffle.js.nodes.intl.CreateRegExpNode create(com.oracle.truffle.js.runtime.JSContext);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/intl/CreateRegExpNode;
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\tCreateRegExpNodeGen 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 com.oracle.truffle.api.object.DynamicObject createRegExp(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_1
invokevirtual com.oracle.truffle.js.nodes.intl.CreateRegExpNode.createRegExp:(Ljava/lang/Object;Z)Lcom/oracle/truffle/api/object/DynamicObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/intl/CreateRegExpNode;
0 1 1 compiledRegex Ljava/lang/Object;
MethodParameters:
Name Flags
compiledRegex
public com.oracle.truffle.api.object.DynamicObject createRegExp(java.lang.Object, boolean);
descriptor: (Ljava/lang/Object;Z)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
invokevirtual com.oracle.truffle.js.nodes.intl.CreateRegExpNode.execute:(Ljava/lang/Object;Z)Lcom/oracle/truffle/api/object/DynamicObject;
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/intl/CreateRegExpNode;
0 1 1 compiledRegex Ljava/lang/Object;
0 1 2 legacyFeaturesEnabled Z
MethodParameters:
Name Flags
compiledRegex
legacyFeaturesEnabled
protected abstract com.oracle.truffle.api.object.DynamicObject execute(java.lang.Object, boolean);
descriptor: (Ljava/lang/Object;Z)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
compiledRegex
legacyFeaturesEnabled
protected com.oracle.truffle.api.object.DynamicObject createWithoutNamedCG(java.lang.Object, boolean);
descriptor: (Ljava/lang/Object;Z)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.oracle.truffle.js.nodes.intl.CreateRegExpNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
aload 1
aconst_null
iload 2
invokestatic com.oracle.truffle.js.runtime.builtins.JSRegExp.create:(Lcom/oracle/truffle/js/runtime/JSContext;Ljava/lang/Object;Lcom/oracle/truffle/js/runtime/builtins/JSObjectFactory;Z)Lcom/oracle/truffle/api/object/DynamicObject;
astore 3
start local 3 1: aload 0
getfield com.oracle.truffle.js.nodes.intl.CreateRegExpNode.setLastIndex:Lcom/oracle/truffle/js/nodes/access/PropertySetNode;
aload 3
iconst_0
invokevirtual com.oracle.truffle.js.nodes.access.PropertySetNode.setValueInt:(Ljava/lang/Object;I)V
2: aload 3
areturn
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/js/nodes/intl/CreateRegExpNode;
0 3 1 compiledRegex Ljava/lang/Object;
0 3 2 legacyFeaturesEnabled Z
1 3 3 reObj Lcom/oracle/truffle/api/object/DynamicObject;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"!hasNamedCG(compiledRegex)"})
MethodParameters:
Name Flags
compiledRegex
legacyFeaturesEnabled
protected com.oracle.truffle.api.object.DynamicObject createWithNamedCG(java.lang.Object, boolean);
descriptor: (Ljava/lang/Object;Z)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.oracle.truffle.js.nodes.intl.CreateRegExpNode.readNamedCG:Lcom/oracle/truffle/js/runtime/util/TRegexUtil$InteropReadMemberNode;
aload 1
ldc "groups"
invokevirtual com.oracle.truffle.js.runtime.util.TRegexUtil$InteropReadMemberNode.execute:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
astore 3
start local 3 1: aload 0
getfield com.oracle.truffle.js.nodes.intl.CreateRegExpNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
aload 1
aload 0
getfield com.oracle.truffle.js.nodes.intl.CreateRegExpNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
aload 3
invokestatic com.oracle.truffle.js.runtime.builtins.JSRegExp.buildGroupsFactory:(Lcom/oracle/truffle/js/runtime/JSContext;Ljava/lang/Object;)Lcom/oracle/truffle/js/runtime/builtins/JSObjectFactory;
iload 2
invokestatic com.oracle.truffle.js.runtime.builtins.JSRegExp.create:(Lcom/oracle/truffle/js/runtime/JSContext;Ljava/lang/Object;Lcom/oracle/truffle/js/runtime/builtins/JSObjectFactory;Z)Lcom/oracle/truffle/api/object/DynamicObject;
astore 4
start local 4 2: aload 0
getfield com.oracle.truffle.js.nodes.intl.CreateRegExpNode.setLastIndex:Lcom/oracle/truffle/js/nodes/access/PropertySetNode;
aload 4
iconst_0
invokevirtual com.oracle.truffle.js.nodes.access.PropertySetNode.setValueInt:(Ljava/lang/Object;I)V
3: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/nodes/intl/CreateRegExpNode;
0 4 1 compiledRegex Ljava/lang/Object;
0 4 2 legacyFeaturesEnabled Z
1 4 3 namedCaptureGroups Ljava/lang/Object;
2 4 4 reObj Lcom/oracle/truffle/api/object/DynamicObject;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"hasNamedCG(compiledRegex)"})
MethodParameters:
Name Flags
compiledRegex
legacyFeaturesEnabled
protected boolean hasNamedCG(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.nodes.intl.CreateRegExpNode.readNamedCG:Lcom/oracle/truffle/js/runtime/util/TRegexUtil$InteropReadMemberNode;
aload 1
ldc "groups"
invokevirtual com.oracle.truffle.js.runtime.util.TRegexUtil$InteropReadMemberNode.execute:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
astore 2
start local 2 1: aload 0
getfield com.oracle.truffle.js.nodes.intl.CreateRegExpNode.isNamedCGNull:Lcom/oracle/truffle/js/runtime/util/TRegexUtil$InteropIsNullNode;
aload 2
invokevirtual com.oracle.truffle.js.runtime.util.TRegexUtil$InteropIsNullNode.execute:(Ljava/lang/Object;)Z
ifeq 2
iconst_0
goto 3
StackMap locals: java.lang.Object
StackMap stack:
2: iconst_1
StackMap locals:
StackMap stack: int
3: ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/nodes/intl/CreateRegExpNode;
0 4 1 compiledRegex Ljava/lang/Object;
1 4 2 namedCaptureGroups Ljava/lang/Object;
MethodParameters:
Name Flags
compiledRegex
}
SourceFile: "CreateRegExpNode.java"
InnerClasses:
public abstract Child = com.oracle.truffle.api.nodes.Node$Child of com.oracle.truffle.api.nodes.Node
public abstract InteropIsNullNode = com.oracle.truffle.js.runtime.util.TRegexUtil$InteropIsNullNode of com.oracle.truffle.js.runtime.util.TRegexUtil
public abstract InteropReadMemberNode = com.oracle.truffle.js.runtime.util.TRegexUtil$InteropReadMemberNode of com.oracle.truffle.js.runtime.util.TRegexUtil