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

Issue 2164943002: Split NewScope into NewScope and NewScopeWithParent (Closed)

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

Split NewScope into NewScope and NewScopeWithParent NewScope automatically uses scope(), whereas NewScopeWithParent can pass along any local Scope* as outer scope. The number of calls to NewScopeWithParent should be reduced over time. BUG=v8:5209 Committed: https://crrev.com/2ca608041bc0375d20340e59a3d941987f95314e Cr-Commit-Position: refs/heads/master@{#37912}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Addressed comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -34 lines) Patch
M src/parsing/parser.h View 1 2 chunks +8 lines, -3 lines 0 comments Download
M src/parsing/parser.cc View 1 17 chunks +18 lines, -18 lines 0 comments Download
M src/parsing/parser-base.h View 1 1 chunk +8 lines, -1 line 0 comments Download
M src/parsing/preparser.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/parsing/preparser.cc View 1 10 chunks +10 lines, -10 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
Toon Verwaest
ptal
4 years, 5 months ago (2016-07-20 09:04:31 UTC) #2
marja
https://codereview.chromium.org/2164943002/diff/1/src/parsing/parser.h File src/parsing/parser.h (right): https://codereview.chromium.org/2164943002/diff/1/src/parsing/parser.h#newcode547 src/parsing/parser.h:547: V8_INLINE Scope* NewManualScope(Scope* parent, ScopeType scope_type); I don't like ...
4 years, 5 months ago (2016-07-20 09:15:32 UTC) #3
Toon Verwaest
Thanks. I addressed the comment and added a comment that the constructor should be used ...
4 years, 5 months ago (2016-07-20 11:36:31 UTC) #4
marja
lgtm
4 years, 5 months ago (2016-07-20 11:39:34 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/2164943002/20001
4 years, 5 months ago (2016-07-20 14:19:10 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-20 14:42:07 UTC) #10
commit-bot: I haz the power
4 years, 5 months ago (2016-07-20 14:43:48 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/2ca608041bc0375d20340e59a3d941987f95314e
Cr-Commit-Position: refs/heads/master@{#37912}

Powered by Google App Engine
This is Rietveld 408576698