Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Issue 246733003: Context-allocate all parameters in generators (Closed)

Created:
6 years, 8 months ago by wingo
Modified:
6 years, 8 months ago
Reviewers:
Yang
CC:
v8-dev
Visibility:
Public.

Description

Context-allocate all parameters in generators Generator function scopes have forced context allocation. Ensure that all variables in such scopes get context allocation -- even unused variables. This fixes an assertion when reifying generator scopes in the debugger. R=yangguo@chromium.org LOG=Y BUG=v8:3280 Committed: https://code.google.com/p/v8/source/detail?r=20883

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -1 line) Patch
M src/scopes.cc View 1 chunk +1 line, -1 line 0 comments Download
A test/mjsunit/regress/regress-3280.js View 1 chunk +25 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
wingo
6 years, 8 months ago (2014-04-22 10:37:03 UTC) #1
Yang
On 2014/04/22 10:37:03, wingo wrote: lgtm.
6 years, 8 months ago (2014-04-22 10:42:36 UTC) #2
wingo
Committed patchset #1 manually as r20883.
6 years, 8 months ago (2014-04-22 11:34:32 UTC) #3
Yang
6 years, 8 months ago (2014-04-22 15:01:08 UTC) #4
Message was sent while issue was closed.
On 2014/04/22 11:34:32, wingo wrote:
> Committed patchset #1 manually as r20883.

now that I looked, the test should be put into test/mjsunit/harmony/regress/

Powered by Google App Engine
This is Rietveld 408576698