v8/test
Adam Klein 082009fc3d [parser] RewritableExpressions should keep track of their Scope directly
Previously, the Parser stored a Scope alongside a RewritableExpression
for each potential destructuring assignment. This Scope was later used
during rewriting to set the correct context for the rewriting. But this
approach failed if a new Scope was inserted into the Scope chain between
the time the assignment was parsed and when it was rewritten.

By storing the Scope directly in RewritableExpression,
ReparentExpressionScopes() is able to appropriately re-scope such
expressions prior to their rewriting.

Bug: chromium:779457
Change-Id: Ieb429a3da841f76d5798610af59da4fccb000652
Reviewed-on: https://chromium-review.googlesource.com/767666
Commit-Queue: Adam Klein <adamk@chromium.org>
Reviewed-by: Marja Hölttä <marja@chromium.org>
Cr-Commit-Position: refs/heads/master@{#49368}
2017-11-14 20:30:14 +00:00
..
benchmarks [test] Let flags from test case have precedence 2017-10-27 13:22:39 +00:00
cctest Reland "[Memory] Use OS::Allocate for all OS memory allocations." 2017-11-14 17:21:58 +00:00
common [wasm] Support block parameters 2017-10-24 11:44:26 +00:00
debugger [test] Let flags from test case have precedence 2017-10-27 13:22:39 +00:00
fuzzer [cleanup] use unique_ptr for the DefaultPlatform 2017-11-14 09:57:18 +00:00
inspector [cleanup] use unique_ptr for the DefaultPlatform 2017-11-14 09:57:18 +00:00
intl Revert "Make intl/overrides/caching.js more 'robust'" 2017-11-13 19:13:13 +00:00
js-perf-test [inspector] perf test for inspector async instrumentation 2017-11-14 19:06:15 +00:00
memory [snapshot] add tracking for builtin snapshot size. 2017-08-31 07:29:31 +00:00
message [test/message] Allow numbers to have more than one leading digit. 2017-11-03 15:25:25 +00:00
mjsunit [parser] RewritableExpressions should keep track of their Scope directly 2017-11-14 20:30:14 +00:00
mkgrokdump [cleanup] use unique_ptr for the DefaultPlatform 2017-11-14 09:57:18 +00:00
mozilla [d8] Report errors in setTimeout 2017-11-03 12:21:53 +00:00
preparser [test] Let flags from test case have precedence 2017-10-27 13:22:39 +00:00
promises-aplus [test] Let flags from test case have precedence 2017-10-27 13:22:39 +00:00
test262 [test] Re-enable all Unicode property tests 2017-11-10 09:09:20 +00:00
unittests Reland "[Memory] Use OS::Allocate for all OS memory allocations." 2017-11-14 17:21:58 +00:00
wasm-spec-tests [test] Let flags from test case have precedence 2017-10-27 13:22:39 +00:00
webkit Temporary GC fuzzer. 2017-11-10 14:23:38 +00:00
bot_default.gyp
bot_default.isolate
BUILD.gn [wasm] Remove the wasm-asmjs fuzzer 2017-06-21 10:59:35 +00:00
default.gyp
default.isolate
optimize_for_size.gyp
optimize_for_size.isolate
perf.gyp
perf.isolate