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

Issue 2233473002: Redirect most NewUnresolved calls over Parser (Closed)

Created:
4 years, 4 months ago by Toon Verwaest
Modified:
4 years, 4 months ago
Reviewers:
adamk
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

Redirect most NewUnresolved calls over Parser BUG=v8:5209 Committed: https://crrev.com/748517f7d4329c100e9eead235e1929f76cc2e35 Cr-Commit-Position: refs/heads/master@{#38575}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Rebase #

Patch Set 3 : Addressed comments #

Total comments: 2

Patch Set 4 : Addressed comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -91 lines) Patch
M src/ast/scopes.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M src/parsing/parser.h View 1 2 3 2 chunks +7 lines, -6 lines 0 comments Download
M src/parsing/parser.cc View 1 2 3 17 chunks +51 lines, -64 lines 0 comments Download
M src/parsing/parser-base.h View 7 chunks +11 lines, -11 lines 0 comments Download
M src/parsing/pattern-rewriter.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M src/parsing/preparser.h View 3 chunks +5 lines, -7 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
Toon Verwaest
ptal https://codereview.chromium.org/2233473002/diff/1/src/parsing/parser.cc File src/parsing/parser.cc (right): https://codereview.chromium.org/2233473002/diff/1/src/parsing/parser.cc#newcode1957 src/parsing/parser.cc:1957: return NewUnresolved(name, Variable::NORMAL, scanner()->location().beg_pos, Not exactly sure about ...
4 years, 4 months ago (2016-08-09 19:20:03 UTC) #2
adamk
https://codereview.chromium.org/2233473002/diff/1/src/parsing/parser.cc File src/parsing/parser.cc (right): https://codereview.chromium.org/2233473002/diff/1/src/parsing/parser.cc#newcode279 src/parsing/parser.cc:279: ast_value_factory()->this_function_string(), Variable::NORMAL, pos); I don't think we want callers ...
4 years, 4 months ago (2016-08-09 20:11:45 UTC) #3
Toon Verwaest
Addressed comments. https://codereview.chromium.org/2233473002/diff/60001/src/parsing/parser.cc File src/parsing/parser.cc (right): https://codereview.chromium.org/2233473002/diff/60001/src/parsing/parser.cc#newcode1967 src/parsing/parser.cc:1967: IsLexicalVariableMode(mode) ? this->scope() : GetDeclarationScope(); Now only ...
4 years, 4 months ago (2016-08-10 06:47:53 UTC) #5
adamk
lgtm except for pattern-rewriter Again, this looks like a big improvement (love the various random ...
4 years, 4 months ago (2016-08-10 17:37:43 UTC) #6
Toon Verwaest
Addressed comment. I'm not 100% sure it's better, since we can't reresolve that VariableProxy to ...
4 years, 4 months ago (2016-08-11 11:33:28 UTC) #7
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/2233473002/80001
4 years, 4 months ago (2016-08-11 11:33:53 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 4 months ago (2016-08-11 12:04:12 UTC) #11
commit-bot: I haz the power
4 years, 4 months ago (2016-08-11 12:04:29 UTC) #13
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/748517f7d4329c100e9eead235e1929f76cc2e35
Cr-Commit-Position: refs/heads/master@{#38575}

Powered by Google App Engine
This is Rietveld 408576698