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 912563004: Get rid of PreParserScope. (Closed)

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

Description

Get rid of PreParserScope. It's unnecessary; PreParser can just use normal Scopes for the things it needs to track. Note: the only functionalities of PreParserScope were keeping track of the scope stack, and for each scope, the scope type and language mode. Those are now done by Scope. PreParser doesn't yet put variables into scopes (that will be done in a follow up). R=rossberg@chromium.org BUG= Committed: https://crrev.com/0ca9bef37fba0bbf408addf9ef3bf9e58ec8cc13 Cr-Commit-Position: refs/heads/master@{#26544}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -126 lines) Patch
M src/parser.h View 2 chunks +0 lines, -9 lines 0 comments Download
M src/parser.cc View 1 chunk +0 lines, -15 lines 0 comments Download
M src/preparser.h View 18 chunks +41 lines, -85 lines 0 comments Download
M src/preparser.cc View 6 chunks +18 lines, -17 lines 1 comment Download

Messages

Total messages: 8 (2 generated)
marja
rossberg, ptal https://codereview.chromium.org/912563004/diff/1/src/preparser.cc File src/preparser.cc (right): https://codereview.chromium.org/912563004/diff/1/src/preparser.cc#newcode1011 src/preparser.cc:1011: // scope_->SetScopeName(name); This will be fixed when ...
5 years, 10 months ago (2015-02-10 13:05:39 UTC) #1
rossberg
LGTM Always nice to see when making something more general actually simplifies code. :)
5 years, 10 months ago (2015-02-10 13:11:26 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/912563004/1
5 years, 10 months ago (2015-02-10 13:12:42 UTC) #4
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 10 months ago (2015-02-10 13:27:16 UTC) #5
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/0ca9bef37fba0bbf408addf9ef3bf9e58ec8cc13 Cr-Commit-Position: refs/heads/master@{#26544}
5 years, 10 months ago (2015-02-10 13:27:41 UTC) #6
arv (Not doing code reviews)
5 years, 10 months ago (2015-02-10 14:46:42 UTC) #8
Message was sent while issue was closed.
LGTM. This is great.

Powered by Google App Engine
This is Rietveld 408576698