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

Issue 2262393004: Let LookupRecursive bind to NonLocals properly. (Closed)

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

Description

Let LookupRecursive bind to NonLocals properly. This gets rid of the BindingsKind flag. It replaces the factory argument with a bool that indicates whether free variables should be resolved as well. BUG= Committed: https://crrev.com/ff40125ed882b0ead44d773f651f268d7b06506e Cr-Commit-Position: refs/heads/master@{#38844}

Patch Set 1 #

Patch Set 2 : cleanup #

Total comments: 7

Patch Set 3 : Simplify #

Total comments: 7

Patch Set 4 : Make sure we don't create nested script scopes upon deserialization #

Patch Set 5 : Addressed comments #

Total comments: 1

Patch Set 6 : Addressed comment, fixed comment #

Patch Set 7 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -173 lines) Patch
M src/ast/scopes.h View 1 2 3 4 5 3 chunks +15 lines, -54 lines 0 comments Download
M src/ast/scopes.cc View 1 2 3 4 5 11 chunks +73 lines, -117 lines 0 comments Download
M src/debug/debug-scopes.cc View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 22 (14 generated)
Toon Verwaest
ptal https://codereview.chromium.org/2262393004/diff/20001/src/ast/scopes.cc File src/ast/scopes.cc (right): https://codereview.chromium.org/2262393004/diff/20001/src/ast/scopes.cc#newcode1265 src/ast/scopes.cc:1265: if (var == nullptr) return var; If we ...
4 years, 4 months ago (2016-08-23 17:25:46 UTC) #2
adamk
lgtm besides a few nits, feel free to submit once handled. https://codereview.chromium.org/2262393004/diff/40001/src/ast/scopes.cc File src/ast/scopes.cc (right): ...
4 years, 4 months ago (2016-08-23 18:15:10 UTC) #5
Toon Verwaest
Addressed comments. ptal again, the change wasn't entirely trivial. https://codereview.chromium.org/2262393004/diff/40001/src/ast/scopes.cc File src/ast/scopes.cc (right): https://codereview.chromium.org/2262393004/diff/40001/src/ast/scopes.cc#newcode425 src/ast/scopes.cc:425: ...
4 years, 4 months ago (2016-08-23 20:09:11 UTC) #12
adamk
lgtm https://codereview.chromium.org/2262393004/diff/80001/src/ast/scopes.h File src/ast/scopes.h (right): https://codereview.chromium.org/2262393004/diff/80001/src/ast/scopes.h#newcode641 src/ast/scopes.h:641: scope_info_ = scope_info; What ScopeInfo was in there ...
4 years, 4 months ago (2016-08-23 20:44:42 UTC) #15
Toon Verwaest
Addressed, thanks!
4 years, 4 months ago (2016-08-23 20:51:46 UTC) #16
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/2262393004/120001
4 years, 4 months ago (2016-08-23 20:53:14 UTC) #19
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 4 months ago (2016-08-23 21:17:03 UTC) #20
commit-bot: I haz the power
4 years, 4 months ago (2016-08-23 21:17:33 UTC) #22
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/ff40125ed882b0ead44d773f651f268d7b06506e
Cr-Commit-Position: refs/heads/master@{#38844}

Powered by Google App Engine
This is Rietveld 408576698