DescriptionRevert of Make non-Module generators only context allocate parameters. (patchset #11 id:220001 of https://codereview.chromium.org/2898163002/ )
Reason for revert:
Speculative revert for layout test changes:
https://build.chromium.org/p/client.v8.fyi/builders/V8-Blink%20Linux%2064/builds/15868
Looks like this might have caused the change in:
inspector/sources/debugger-ui/function-generator-details.html
See also:
https://github.com/v8/v8/wiki/Blink-layout-tests
Original issue's description:
> 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}
> Committed: https://chromium.googlesource.com/v8/v8/+/a957b0f42468d632b09574e3d6719c704eebbfea
TBR=adamk@chromium.org,jgruber@chromium.org,neis@chromium.org,jarin@chromium.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=v8:6368
Patch Set 1 #Messages
Total messages: 10 (4 generated)
|