Class ConstructorBuiltins.ConstructRegExpNode

All Implemented Interfaces:
com.oracle.truffle.api.instrumentation.InstrumentableNode, com.oracle.truffle.api.nodes.NodeInterface, Cloneable
Enclosing class:
ConstructorBuiltins

public abstract static class ConstructorBuiltins.ConstructRegExpNode extends ConstructorBuiltins.ConstructWithNewTargetNode
  • Constructor Details

    • ConstructRegExpNode

      public ConstructRegExpNode(JSContext context, JSBuiltin builtin, boolean isCall, boolean isNewTargetCase)
  • Method Details

    • constructRegExp

      protected JSObject constructRegExp(JSDynamicObject newTarget, Object pattern, Object flags, com.oracle.truffle.api.nodes.Node node, IsRegExpNode isRegExpNode, com.oracle.truffle.api.profiles.InlinedBranchProfile regexpObject, com.oracle.truffle.api.profiles.InlinedBranchProfile regexpMatcherObject, com.oracle.truffle.api.profiles.InlinedBranchProfile regexpNonObject, com.oracle.truffle.api.profiles.InlinedBranchProfile regexpObjectNewFlagsBranch, com.oracle.truffle.api.profiles.InlinedConditionProfile callIsRegExpProfile, com.oracle.truffle.api.profiles.InlinedConditionProfile constructorEquivalentProfile, TRegexUtil.InteropReadStringMemberNode readPattern)
    • getIntrinsicDefaultProto

      protected JSDynamicObject getIntrinsicDefaultProto(JSRealm realm)
      Specified by:
      getIntrinsicDefaultProto in class ConstructorBuiltins.ConstructWithNewTargetNode