• Jakob Gruber's avatar
    Reland "[regexp] Guarantee an allocated regexp stack" · 8f58c84e
    Jakob Gruber authored
    This is a reland of 97ed8b27
    
    Original change's description:
    > [regexp] Guarantee an allocated regexp stack
    > 
    > The regexp stack is used during execution of jitted regexp matcher
    > code.  Previously, the stack was initially not present / nullptr, and
    > we had to explicitly check for this condition and bail out in builtin
    > code.
    > 
    > This CL changes behavior to guarantee a present stack by adding a
    > statically-allocated area that is used whenever no
    > dynamically-allocated stack exists.
    > 
    > Change-Id: I52934425ae72cf0e5d13fab2b9d63d37ca76fcf3
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1852126
    > Auto-Submit: Jakob Gruber <jgruber@chromium.org>
    > Commit-Queue: Peter Marshall <petermarshall@chromium.org>
    > Reviewed-by: Peter Marshall <petermarshall@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#64326}
    
    Change-Id: If345c09bdbfc8dc6b63f016c3f10ffda811bbb6d
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1866771
    Commit-Queue: Jakob Gruber <jgruber@chromium.org>
    Reviewed-by: 's avatarPeter Marshall <petermarshall@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#64401}
    8f58c84e
regexp-stack.h 4.81 KB