• Patrick Thier's avatar
    Reland "[regexp] Call the regexp interpreter without CEntry overhead" · c2ee4a79
    Patrick Thier authored
    This is a reland of d4d28b73
    
    Original change's description:
    > [regexp] Call the regexp interpreter without CEntry overhead
    > 
    > Previously all RegExp calls went through Runtime_RegExpExec when --regexp-interpret-all was set.
    > 
    > This CL avoids the runtime overhead by calling into the interpreter directly from the RegExpExec Builtin when the regular expression subject was already compiled to ByteCode (i.e. after the first call).
    > 
    > Bug: v8:8954
    > Change-Id: Iae9dfcef3370b772a05b2942305335d592f6f15a
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1698391
    > Commit-Queue: Patrick Thier <pthier@google.com>
    > Reviewed-by: Jakob Gruber <jgruber@chromium.org>
    > Reviewed-by: Peter Marshall <petermarshall@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#62753}
    
    Bug: v8:8954
    Change-Id: I1f0b6de9c6da65bcb582ddb41a37419116a5c510
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1706053Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
    Commit-Queue: Patrick Thier <pthier@google.com>
    Cr-Commit-Position: refs/heads/master@{#62794}
    c2ee4a79
regexp-interpreter.h 1.77 KB