v8/test
jameslahm 9641ce6438 [compiler] Optimize String#includes
This CL adds the reduction for String#includes
and merges the reduction of String#indexOf and
String#includes in JSCallReducer.

This CL does two things:
- Add StringIndexOfIncludesVariant to distinguish
String#indexOf and String#includes.
- Add ReduceStringPrototypeIndexOfIncludes to reduce
for String#indexOf and String#includes.

Bug: v8:12732
Change-Id: Ied75485cf1511956e97ef986fc34a711aae3d1ce
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3552279
Reviewed-by: Jakob Gruber <jgruber@chromium.org>
Reviewed-by: Tobias Tebbi <tebbi@chromium.org>
Commit-Queue: Tobias Tebbi <tebbi@chromium.org>
Cr-Commit-Position: refs/heads/main@{#79648}
2022-03-29 10:24:08 +00:00
..
benchmarks [tests] Skip slow tests on certain configurations 2022-01-31 13:52:22 +00:00
bigint [bigint][test] Better random input generation 2021-09-08 15:39:27 +00:00
cctest [heap] Initialize pages with placement-new 2022-03-28 09:18:55 +00:00
common [wasm-gc] Merge anyref and externref 2022-03-01 22:12:59 +00:00
debugger [ic] name Set/Define/Store property operations more consistently 2022-03-08 18:48:16 +00:00
debugging [d8][mjsunit][tools] Improve d8 file API 2021-06-01 13:37:57 +00:00
fuzzer [inspector-test] Gracefully handle termination. 2022-03-21 12:36:59 +00:00
fuzzilli Fix unhandled promise rejections in REPRL mode 2020-09-30 13:34:23 +00:00
inspector [maglev] Create test variant 2022-03-23 10:12:52 +00:00
intl [maglev] Create test variant 2022-03-23 10:12:52 +00:00
js-perf-test [test] Add js-perf-test for object destructuring assignment 2022-03-21 13:42:20 +00:00
memory [snapshot] Fix the Memory.json benchmark 2021-04-28 07:54:34 +00:00
message [test] Pretty print object properties on assert failure 2022-03-04 14:30:51 +00:00
mjsunit [compiler] Optimize String#includes 2022-03-29 10:24:08 +00:00
mkgrokdump [heap] Add flag for disabling map space 2022-02-18 09:03:07 +00:00
mozilla [test] Clean up Py2 code 2022-03-17 09:12:36 +00:00
test262 [Temporal] Add Temporal.Calendar.prototype.year 2022-03-26 23:18:06 +00:00
torque Reland "Reland "[Torque] Generalize Torque literals to larger size"" 2022-02-04 09:40:24 +00:00
unittests [heap] Initialize pages with placement-new 2022-03-28 09:18:55 +00:00
wasm-api-tests [test] Clean up Py2 code 2022-03-17 09:12:36 +00:00
wasm-js [wasm] Update spec tests 2022-02-10 13:15:08 +00:00
wasm-spec-tests [wasm] Update spec tests 2022-02-10 13:15:08 +00:00
webkit [test] Disable failing MSVC test 2021-12-01 15:51:59 +00:00
BUILD.gn Reland^2 "[bigint] Karatsuba multiplication" 2021-06-07 11:01:14 +00:00
OWNERS