[regexp] Use appropriate fast path check in String.matchAll
This fast path check protects the IsRegExp() path (which checks RegExp.prototype[Symbol.match]) and thus we must use the appropriate ForMatch check instead of the default check. Fixed: chromium:1238033 Change-Id: I0b7ce280f1fa9bfacf20381d80c84f9513f45163 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3177222 Auto-Submit: Jakob Gruber <jgruber@chromium.org> Reviewed-by: Patrick Thier <pthier@chromium.org> Commit-Queue: Patrick Thier <pthier@chromium.org> Cr-Commit-Position: refs/heads/main@{#77004}
Showing
Please
register
or
sign in
to comment