v8/test
Jakob Gruber c977b65bb9 [regexp] Don't use eats_at_least for backwards loops
The eats_at_least (EAL) value is applied in forward-directions only.
Two reasons for that which are relevant to this CL:

- EAL's of neighboring nodes are combined additively, irrespective of
  their read_backward value.
- EatsAtLeastPropagator::VisitText uses the successor's
  eats_at_least_from_not_start value, which doesn't work properly for
  read_backwards successors (which may end at the start).

A symptom of this bug was that we applied an incorrect EAL of 255
starting at the initial 'x' of /x(?<=^x{4})/); for subject strings
shorter than 255 chars, this would result in an incorrect failure
result.

Bug: v8:11616
Change-Id: I4b2b1b78f0cea8f59e4beb1037ee46035d83c927
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2807596
Reviewed-by: Seth Brenith <seth.brenith@microsoft.com>
Commit-Queue: Jakob Gruber <jgruber@chromium.org>
Cr-Commit-Position: refs/heads/master@{#73848}
2021-04-08 06:09:07 +00:00
..
benchmarks IWYU: Added missing include: include/cppgc/persistent.h 2021-02-17 17:37:29 +00:00
cctest [wasm-simd] Remove ScalarLoweringForTesting 2021-04-07 18:07:06 +00:00
common [wasm][fuzzer] Stack overflow is nondeterministic 2021-03-30 11:05:11 +00:00
debugger [debugger] Consider close-by functions when setting a breakpoint 2021-03-15 07:00:49 +00:00
debugging [wasm] Rename kWasmStmt -> kWasmVoid 2021-03-22 07:58:18 +00:00
fuzzer [wasm][fuzzer] Fuzz Liftoff debug code paths 2021-04-07 14:29:16 +00:00
fuzzilli Fix unhandled promise rejections in REPRL mode 2020-09-30 13:34:23 +00:00
inspector [inspector] Skip special __proto__ property if already present. 2021-04-07 14:56:56 +00:00
intl Fix BestFitMatcher due to invalid locale id in ICU 2021-04-07 06:17:53 +00:00
js-perf-test Update OWNERS in test/* 2021-02-25 14:26:24 +00:00
memory Reland^4 "[serializer] Allocate during deserialization" 2020-10-07 08:15:50 +00:00
message PPC [simd]: enable simd on PowerPC 9 and above 2021-04-01 19:43:14 +00:00
mjsunit [regexp] Don't use eats_at_least for backwards loops 2021-04-08 06:09:07 +00:00
mkgrokdump [build] Fold v8_wrappers into v8_libbase 2021-02-25 10:56:20 +00:00
mozilla [compiler, infra] Add a --stress-concurrent-inlining flag and a bot 2021-01-29 12:05:03 +00:00
test262 [language] Fix Array.prototype.sort 2021-03-24 11:20:58 +00:00
torque [torque] Add LazyNode support 2021-02-23 16:51:53 +00:00
unittests [Jobs]: Delete item-parallel-job. 2021-04-07 15:59:16 +00:00
wasm-api-tests Reland "[no-wasm] Exclude src/wasm from compilation" 2021-03-11 14:29:26 +00:00
wasm-js [wasm] Update spec tests and un-fail SIMD tests 2021-03-29 23:00:21 +00:00
wasm-spec-tests [wasm] Update spec tests and un-fail SIMD tests 2021-03-29 23:00:21 +00:00
webkit Disallow \8 and \9 in strict mode and template literals 2020-08-03 18:05:14 +00:00
BUILD.gn [no-wasm] Exclude more targets from build 2021-03-09 11:25:54 +00:00
OWNERS Use relative paths to OWNERS files 2019-08-12 13:52:52 +00:00