v8/test
Shu-yu Guo 1b450a1752 Remove per-parameter position var scope
The spec was normatively changed to simplify var scopes for parameter
expressions. Previously there was a per-parameter var scope in sloppy
mode so direct evals could introduce vars that did not escape the
parameter position. That semantics is complex both for the programmer
and implementation and has resulted in bugs in the past. Furthermore, it
has never been fully interoperable (with Safari in particular). The spec
was instead changed to be simpler: to have a single var scope for
sloppy evals in parameters that encloses the parameter scope and body
scope.

This simplification lets us remove expression-scope-reparenter.

Drive-by removal of stale reference to PatternRewriter.

Bug: v8:7532
Change-Id: Iade5594abe0009f7f3f6a1adad18628b17e1e779
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1962471
Reviewed-by: Toon Verwaest <verwaest@chromium.org>
Commit-Queue: Shu-yu Guo <syg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#65517}
2019-12-19 10:38:00 +00:00
..
benchmarks Remove 'embedded_builtins' variant 2019-10-22 12:58:02 +00:00
cctest Reland "[wasm] Share native modules compiled from the same bytes" 2019-12-18 14:40:28 +00:00
common [wasm] Clean up WASM_CALL_INDIRECT macros 2019-11-28 14:44:06 +00:00
debugger Remove and update some outdated TODO(mstarzinger). 2019-12-13 10:18:04 +00:00
fuzzer Reland "[wasm] Share native modules compiled from the same bytes" 2019-12-18 14:40:28 +00:00
inspector [wasm] Support remove breakpoint 2019-12-18 18:43:58 +00:00
intl Implement the localeMatcher: "best fit" 2019-12-18 20:58:08 +00:00
js-perf-test [js-perf-tests] Adds performance tests for BigInt subtraction 2019-10-22 13:32:09 +00:00
memory [owners] Remove redundant OWNERS files in test/ 2019-06-24 12:44:32 +00:00
message V8 Wasm locations should always be based on byte offsets 2019-11-05 14:53:45 +00:00
mjsunit Remove per-parameter position var scope 2019-12-19 10:38:00 +00:00
mkgrokdump [heap] Enable Verify for RO_SPACE when it is shared 2019-11-04 09:55:45 +00:00
mozilla Remove and update some outdated TODO(mstarzinger). 2019-12-13 10:18:04 +00:00
test262 Remove per-parameter position var scope 2019-12-19 10:38:00 +00:00
torque [torque] Enum language feature 2019-12-18 16:24:48 +00:00
unittests [torque] Enum language feature 2019-12-18 16:24:48 +00:00
wasm-api-tests [wasm] Clean up WASM_CALL_INDIRECT macros 2019-11-28 14:44:06 +00:00
wasm-js [wasm] Update wasm spec tests 2019-12-16 14:14:39 +00:00
wasm-spec-tests [mips][wasm] Update wasm spec tests 2019-12-17 10:40:06 +00:00
webkit [class] Improve error message for calling anonymous class constructors 2019-12-05 21:13:07 +00:00
BUILD.gn [preparser] deprecate stand-alone "preparser" test-suite 2019-11-20 08:52:59 +00:00
OWNERS Use relative paths to OWNERS files 2019-08-12 13:52:52 +00:00