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

Issue 2160593002: Introduce parent ScopeState class and track the scope through the state in the parser (Closed)

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

Description

Introduce parent ScopeState class and track the scope through the state in the parser This will allow us to move more state from Scope into ScopeState and lazily allocate full Scopes only when needed. BUG=v8:5209 Committed: https://crrev.com/4f552f5a17913385075e595310ddec9de87b3106 Cr-Commit-Position: refs/heads/master@{#37858}

Patch Set 1 #

Patch Set 2 : fixes #

Patch Set 3 : Add module() helper #

Total comments: 4

Patch Set 4 : Addressed comments #

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+292 lines, -282 lines) Patch
M src/parsing/parser.cc View 1 2 3 4 102 chunks +180 lines, -181 lines 0 comments Download
M src/parsing/parser-base.h View 1 2 3 4 28 chunks +61 lines, -52 lines 0 comments Download
M src/parsing/preparser.h View 1 2 3 4 4 chunks +9 lines, -8 lines 0 comments Download
M src/parsing/preparser.cc View 1 2 3 4 16 chunks +42 lines, -41 lines 0 comments Download

Messages

Total messages: 15 (7 generated)
Toon Verwaest
ptal
4 years, 5 months ago (2016-07-18 14:26:58 UTC) #2
adamk
https://codereview.chromium.org/2160593002/diff/40001/src/parsing/parser-base.h File src/parsing/parser-base.h (right): https://codereview.chromium.org/2160593002/diff/40001/src/parsing/parser-base.h#newcode253 src/parsing/parser-base.h:253: // FunctionState and BlockState together implement the parser's scope ...
4 years, 5 months ago (2016-07-18 17:14:45 UTC) #4
adamk
I would also find it really useful if this had a tracking bug associated with ...
4 years, 5 months ago (2016-07-18 17:33:01 UTC) #5
marja
+1 to adamk@'s comments lgtm from my side, assuming you do the changes he suggested. ...
4 years, 5 months ago (2016-07-19 07:54:42 UTC) #6
Toon Verwaest
Addressed comments. this->scope() I used whenever there was another local variable called scope. I think ...
4 years, 5 months ago (2016-07-19 09:36:47 UTC) #8
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/2160593002/80001
4 years, 5 months ago (2016-07-19 09:44:10 UTC) #11
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 5 months ago (2016-07-19 10:06:46 UTC) #13
commit-bot: I haz the power
4 years, 5 months ago (2016-07-19 10:08:20 UTC) #15
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/4f552f5a17913385075e595310ddec9de87b3106
Cr-Commit-Position: refs/heads/master@{#37858}

Powered by Google App Engine
This is Rietveld 408576698