v8/test
Marja Hölttä ccbda5111e [parser] Skipping inner funcs: fix saving / restoring data for hidden scopes.
In the failing case (see test), the loop variable (which should be context
allocated) is in a hidden scope, so we need to save and restore data for hidden
scopes too.

The !is_hidden() check was overly limiting - NeedsScopeData already handles the
"hidden leaf scope" case which is the one we want to avoid.

(Btw, this also means that the previous assumption "variables in hidden scopes
are not context allocated" was wrong.)

BUG=v8:5516

Change-Id: I1c6116654b19ef0cfd64e8a743b46af683a9fcd5
Reviewed-on: https://chromium-review.googlesource.com/544938
Commit-Queue: Marja Hölttä <marja@chromium.org>
Reviewed-by: Daniel Vogelheim <vogelheim@chromium.org>
Cr-Commit-Position: refs/heads/master@{#46136}
2017-06-22 14:02:03 +00:00
..
benchmarks Use --opt instead of --crankshaft in tests. 2017-04-28 14:20:39 +00:00
cctest [parser] Skipping inner funcs: Fix function name declarations 2017-06-22 13:38:26 +00:00
common [wasm] Remove the wasm-asmjs fuzzer 2017-06-21 10:59:35 +00:00
debugger [debugger] removed BreakPositionAlignment.STATEMENT_ALIGNED 2017-06-20 15:01:47 +00:00
fuzzer [wasm] Remove the wasm-asmjs fuzzer 2017-06-21 10:59:35 +00:00
inspector [inspector] expose module variables for Debugger.evaluateOnCallFrame method 2017-06-14 14:58:12 +00:00
intl Add COMPONENT tags to OWNERS files where appropriate 2017-05-22 10:15:28 +00:00
js-perf-test [inspector] added simple js-perf-test for inspector 2017-06-20 10:32:05 +00:00
memory
message [parser] Better error msg for destructuring non iterable 2017-06-19 17:44:21 +00:00
mjsunit [parser] Skipping inner funcs: fix saving / restoring data for hidden scopes. 2017-06-22 14:02:03 +00:00
mkgrokdump Fix compilation failure due to overload of virtual function 2017-05-24 21:19:48 +00:00
mozilla [parser] Treat \ufffe as non-whitespace. 2017-06-20 16:44:51 +00:00
preparser
promises-aplus
test262 [test262] Remove outdated SKIPs from status file. 2017-06-21 14:59:47 +00:00
unittests [heap] Implement workstealing bag based on segments 2017-06-22 09:05:30 +00:00
wasm-spec-tests PPC/S390: Disable skip-stack-guard-page.js test in simulator build 2017-06-12 15:49:52 +00:00
webkit Use ICU for ID_START, ID_CONTINUE and WhiteSpace check 2017-06-14 20:32:49 +00:00
bot_default.gyp [wasm] Add wasm spec tests to the v8 test runner 2017-04-27 13:00:13 +00:00
bot_default.isolate [wasm] Add wasm spec tests to the v8 test runner 2017-04-27 13:00:13 +00:00
BUILD.gn [wasm] Remove the wasm-asmjs fuzzer 2017-06-21 10:59:35 +00:00
default.gyp [wasm] Add wasm spec tests to the v8 test runner 2017-04-27 13:00:13 +00:00
default.isolate [wasm] Add wasm spec tests to the v8 test runner 2017-04-27 13:00:13 +00:00
optimize_for_size.gyp
optimize_for_size.isolate [debugger] basic test infrastructure for new debugger test api. 2016-10-21 06:38:05 +00:00
perf.gyp
perf.isolate Remove SIMD.js from V8. 2017-02-14 06:57:25 +00:00