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

Issue 2229373002: Fix CollectNonLocals (Closed)

Created:
4 years, 4 months ago by Toon Verwaest
Modified:
4 years, 4 months ago
Reviewers:
Yang, marja
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Fix CollectNonLocals Now it actually collects free variables of the target function, rather than any reference to a non-stack-allocated variable in any of the inner scopes. BUG= Committed: https://crrev.com/58524d6df343911c2ea1f3793718cb012f7e813c Cr-Commit-Position: refs/heads/master@{#38534}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Undo spurious change #

Patch Set 3 : Address offline comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -59 lines) Patch
M src/ast/scopes.h View 1 3 chunks +11 lines, -7 lines 0 comments Download
M src/ast/scopes.cc View 1 2 4 chunks +37 lines, -25 lines 0 comments Download
M src/debug/debug-scopes.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/debug/debug-scopes.cc View 3 chunks +29 lines, -25 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
Toon Verwaest
ptal will add a test
4 years, 4 months ago (2016-08-10 09:52:44 UTC) #2
marja
https://codereview.chromium.org/2229373002/diff/1/src/ast/scopes.h File src/ast/scopes.h (right): https://codereview.chromium.org/2229373002/diff/1/src/ast/scopes.h#newcode590 src/ast/scopes.h:590: // If a ParseInfo* is passed, non-free variables will ...
4 years, 4 months ago (2016-08-10 09:56:53 UTC) #3
Yang
On 2016/08/10 09:56:53, marja wrote: > https://codereview.chromium.org/2229373002/diff/1/src/ast/scopes.h > File src/ast/scopes.h (right): > > https://codereview.chromium.org/2229373002/diff/1/src/ast/scopes.h#newcode590 > ...
4 years, 4 months ago (2016-08-10 10:34:39 UTC) #4
Toon Verwaest
https://codereview.chromium.org/2229373002/diff/1/src/ast/scopes.h File src/ast/scopes.h (right): https://codereview.chromium.org/2229373002/diff/1/src/ast/scopes.h#newcode590 src/ast/scopes.h:590: // If a ParseInfo* is passed, non-free variables will ...
4 years, 4 months ago (2016-08-10 10:52:24 UTC) #5
marja
lgtm (w/ the dcheck_nes we discussed offline)
4 years, 4 months ago (2016-08-10 11:10:20 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2229373002/40001
4 years, 4 months ago (2016-08-10 11:25:35 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-08-10 11:49:27 UTC) #10
commit-bot: I haz the power
4 years, 4 months ago (2016-08-10 11:49:50 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/58524d6df343911c2ea1f3793718cb012f7e813c
Cr-Commit-Position: refs/heads/master@{#38534}

Powered by Google App Engine
This is Rietveld 408576698