v8/test
Leszek Swirski 1e37ca26cc [parser] Fix reindexing of functions inside classes
A class's fields can appear twice in the class AST, via the properties
array and the synthetised initializer method. This means that the
reindexer can end up visiting the same function literal twice, since the
T in AST is no longer a T but rather a DAG.

Now, we special case the class visitor in the reindexer to avoid these
double visits where appropriate. We know what kinds of fields can be
double visisted, so we don't need a visited set, but we now also have
one for debug builds to verify that each function is visited exactly
once.

Bug: chromium:974627
Change-Id: Ib531becc6e3f3c73f420b5fb49790fe4a2022d65
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1667003
Reviewed-by: Sathya Gunasekaran <gsathya@chromium.org>
Commit-Queue: Leszek Swirski <leszeks@chromium.org>
Cr-Commit-Position: refs/heads/master@{#62282}
2019-06-19 11:27:55 +00:00
..
benchmarks [test] Skip flaky test on predictable mode 2019-05-07 13:57:18 +00:00
cctest Make frozen/sealed elements kinds disablable 2019-06-19 11:19:15 +00:00
common [turbofan] JSHeapBroker logging respects --trace-turbo-filter 2019-06-12 11:02:38 +00:00
debugger [cleanup] Add %PrepareFunctionForOptimize for tests that use %OptimizeOsr 2019-06-18 16:47:29 +00:00
fuzzer [regexp] Further narrow public API and restrict includes to regexp.h 2019-06-18 12:23:16 +00:00
inspector Fix inspector preview for detached JSTypedArray 2019-06-18 20:26:48 +00:00
intl [Intl] Fix RegExp [\W] with i flag 2019-06-12 06:18:08 +00:00
js-perf-test add micro-benchmark for proxy trap getPrototypeOf 2019-06-17 18:16:11 +00:00
memory Add OWNERS files for src and test 2019-05-30 04:51:21 +00:00
message [WeakRefs] Make unregister spec compliant 2019-06-13 08:48:16 +00:00
mjsunit [parser] Fix reindexing of functions inside classes 2019-06-19 11:27:55 +00:00
mkgrokdump [cleanup][heap] Improve heap iterator naming 2019-06-17 14:38:02 +00:00
mozilla Reland "[array] Move Array#sort pre-processing to Torque" 2019-05-24 12:13:17 +00:00
preparser Add OWNERS files for src and test 2019-05-30 04:51:21 +00:00
test262 Roll test262 2019-06-14 00:56:50 +00:00
torque [torque] Address remaining usages of @noVerifier in base.tq 2019-06-18 22:44:58 +00:00
unittests [torque] Address remaining usages of @noVerifier in base.tq 2019-06-18 22:44:58 +00:00
wasm-api-tests [wasm-c-api] Fix signature deserialization 2019-06-14 09:03:47 +00:00
wasm-js Add OWNERS files for src and test 2019-05-30 04:51:21 +00:00
wasm-spec-tests [wasm] Update spec tests 2019-05-22 14:58:45 +00:00
webkit Add quotes around unexpected token SyntaxError 2019-06-11 06:11:58 +00:00
BUILD.gn [wasm-c-api] Add tests and fixes 2019-05-28 09:57:04 +00:00
OWNERS [owners] Make test/ owned by COMMON_OWNERS 2019-06-06 20:56:09 +00:00