v8/test
Toon Verwaest a5f559c3f8 [parser] Change how catch is parsed
- Directly declares the special catch variable from the parser-base.
- Tracks Scope on PreParserBlock and finds conflicting lexical declarations by
  simply walking the VariableMap of the block inserted for the pattern; or the
  catch variable in case of identifier.
- This also enables throwing errors for duplicate let in the preparser. We may
  have to back that out if it breaks something.

Bug: v8:2728, v8:7828
Change-Id: Id2eea62062533eb99cd6670c42a4b1da87139008
Reviewed-on: https://chromium-review.googlesource.com/c/1382095
Reviewed-by: Igor Sheludko <ishell@chromium.org>
Commit-Queue: Toon Verwaest <verwaest@chromium.org>
Cr-Commit-Position: refs/heads/master@{#58353}
2018-12-19 11:02:01 +00:00
..
benchmarks
cctest Do not allocate feedback vectors and feedback metadata in lite mode 2018-12-19 10:30:48 +00:00
common [objects.h splitting] Move HeapNumber to heap-number.h 2018-12-17 17:58:09 +00:00
debugger [Compiler] Fix flaky tsan error for bytecode flushing. 2018-12-18 14:49:13 +00:00
fuzzer Reduce input size limit of parser fuzzer to 2kB 2018-12-17 13:39:05 +00:00
inspector Do not allocate feedback vectors and feedback metadata in lite mode 2018-12-19 10:30:48 +00:00
intl [Intl] Rename position to index in Intl.Segmenter 2018-12-18 05:39:35 +00:00
js-perf-test [test] Ensure random generator in JSTests does not use float arithmetic 2018-12-17 10:05:08 +00:00
memory [snapshot] Remove the builtins snapshot 2018-10-31 10:18:28 +00:00
message [parser] Change how catch is parsed 2018-12-19 11:02:01 +00:00
mjsunit [parser] Change how catch is parsed 2018-12-19 11:02:01 +00:00
mkgrokdump [ubsan] Port Map to the new design 2018-11-13 06:59:12 +00:00
mozilla Revert "[runtime] Reduce spread/apply call max arguments" 2018-11-30 09:54:47 +00:00
preparser
test262 [parser] Change how catch is parsed 2018-12-19 11:02:01 +00:00
torque [nojit] Change builtin pointers to use Smis underneath 2018-12-17 15:35:59 +00:00
unittests [iwyu] Remove include factory.h -> js-array-buffer.h 2018-12-17 15:34:54 +00:00
wasm-js [wasm] fix js-api Memory and Table constructor 2018-12-10 23:32:05 +00:00
wasm-spec-tests [wasm] Update spec tests 2018-11-28 11:42:27 +00:00
webkit Fixed typo and added new author 2018-12-18 07:27:19 +00:00
BUILD.gn Reland "[wasm] Add a new wasm-js testsuite to run js-api tests" 2018-10-18 20:18:55 +00:00