v8/test
jarin a957b0f424 Make non-Module generators only context allocate parameters.
In particular, local variables should be allocated on stack (in bytecode register), and stored/loaded to the generator object on generator suspend/resume.

The CL is based on @adamk's change to scoping/parsers (https://chromium-review.googlesource.com/c/498538/), I only made the debugger cope with this change.

I should note that the CL changes the scope type of suspended generators from ScopeType.Closure to ScopeType.Local. In the future we might want to introduce ScopeType.SuspendedGenerator to make the distinction explicit.

Some of the changes in the tests have been made because the debugger functions do not return scopes of closed generators anymore. Generators should be allowed to throw away their internal state when they finish.

BUG=v8:6368

Review-Url: https://codereview.chromium.org/2898163002
Cr-Commit-Position: refs/heads/master@{#45515}
2017-05-24 13:54:57 +00:00
..
benchmarks Use --opt instead of --crankshaft in tests. 2017-04-28 14:20:39 +00:00
cctest Make non-Module generators only context allocate parameters. 2017-05-24 13:54:57 +00:00
common [cleanup] Remove return after UNREACHABLE 2017-05-22 13:10:01 +00:00
debugger Make non-Module generators only context allocate parameters. 2017-05-24 13:54:57 +00:00
fuzzer [wasm] Cleanup the wasm fuzzer corpus files. 2017-05-19 09:21:16 +00:00
inspector Make non-Module generators only context allocate parameters. 2017-05-24 13:54:57 +00:00
intl Add COMPONENT tags to OWNERS files where appropriate 2017-05-22 10:15:28 +00:00
js-perf-test Revert "[Interpreter] Improve handling of a === true / false." 2017-05-22 13:14:44 +00:00
memory
message [asm.js] Report module linking failures to the console. 2017-05-19 11:31:12 +00:00
mjsunit [turbofan] Speculatively optimize string character access. 2017-05-24 13:53:40 +00:00
mkgrokdump Replace sanitizers:deps with exe_and_shlib_deps (v8) 2017-05-19 21:52:47 +00:00
mozilla [asm.js] Widen test coverage to cctest and friends. 2017-03-28 08:00:40 +00:00
preparser
promises-aplus
test262 [collections] Port Map constructor to CSA 2017-05-23 13:21:47 +00:00
unittests [heap] Simplify and linearly scale ResourceConstraints::ConfigureDefaults. 2017-05-23 17:00:57 +00:00
wasm-spec-tests MIPS: Add tests to be skipped because of NaN representation on MIPS 2017-05-22 10:42:01 +00:00
webkit [asm.js] Widen test coverage to message tests. 2017-03-29 08:42:32 +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] Add wasm spec tests to the v8 test runner 2017-04-27 13:00:13 +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