v8/test/inspector
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
..
console [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
cpu-profiler [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
debugger Make non-Module generators only context allocate parameters. 2017-05-24 13:54:57 +00:00
heap-profiler [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
runtime Make non-Module generators only context allocate parameters. 2017-05-24 13:54:57 +00:00
BUILD.gn [inspector] Merge InspectorClientImpl into IsolateData 2017-05-22 00:48:27 +00:00
DEPS [inspector] introduce limit for amount of stored async stacks 2016-12-18 17:04:40 +00:00
inspector-test.cc [inspector] Cleanup inspector test 2017-05-22 20:46:42 +00:00
inspector.gyp [inspector] Merge InspectorClientImpl into IsolateData 2017-05-22 00:48:27 +00:00
inspector.isolate [build] Remove remaining disable-inspector options in GN 2017-04-05 17:59:07 +00:00
inspector.status [js] Avoid %_ClassOf for collection builtins. 2017-05-05 10:22:17 +00:00
isolate-data.cc [inspector] Cleanup inspector test 2017-05-22 20:46:42 +00:00
isolate-data.h [inspector] Cleanup inspector test 2017-05-22 20:46:42 +00:00
json-parse-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
json-parse.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
OWNERS Add COMPONENT tags to OWNERS files where appropriate 2017-05-22 10:15:28 +00:00
protocol-test.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
task-runner.cc [inspector] Cleanup inspector test 2017-05-22 20:46:42 +00:00
task-runner.h [inspector] Cleanup inspector test 2017-05-22 20:46:42 +00:00
testcfg.py [inspector] always include user scripts in the snapshot. 2017-04-26 15:13:14 +00:00