Revert "[regexp] Only append to JSRegExpResult's initial map if we add descriptor"
This reverts commit dc1cc223. Reason for revert: This was already reverted in https://crrev.com/c/1768897, but the revert did not work. Original change's description: > [regexp] Only append to JSRegExpResult's initial map if we add descriptor > > Before this cl, we always added slack to JSRegExpResult's initial_map. > However, this is incorrect. Now we only add slack to JSRegExpResult's initial map > if we intend to actually append the indices descriptor. > > Bug: chromium:996099 > Change-Id: Iac23e92415a9b60409915ff1de9634326ed109c5 > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1763064 > Commit-Queue: Joshua Litt <joshualitt@chromium.org> > Reviewed-by: Jakob Gruber <jgruber@chromium.org> > Cr-Commit-Position: refs/heads/master@{#63297} TBR=jgruber@chromium.org,joshualitt@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:996099 Change-Id: I0c5df2165a3613f72bbcf674337f6f22f4506d90 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1768585Reviewed-by: Andreas Haas <ahaas@chromium.org> Commit-Queue: Andreas Haas <ahaas@chromium.org> Cr-Commit-Position: refs/heads/master@{#63383}
Showing
Please
register
or
sign in
to comment