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

Issue 2251683002: Move module initialization to DeclarationScope (Closed)

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

Move module initialization to DeclarationScope This moves language-mode initialization for MODULE_SCOPE from Scope::SetDefaults to the single constructor that needs to do it. The CL additionally makes it more obvious that scope-info-backed scopes always initialize language-mode unless WITH_SCOPE. BUG= Committed: https://crrev.com/095b28de219427965f5f22b9ab1757b6a6d187c8 Cr-Commit-Position: refs/heads/master@{#38650}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Unify #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -24 lines) Patch
M src/ast/scopes.cc View 1 7 chunks +28 lines, -24 lines 0 comments Download

Messages

Total messages: 9 (4 generated)
Toon Verwaest
ptal
4 years, 4 months ago (2016-08-16 09:08:20 UTC) #2
neis
lgtm https://codereview.chromium.org/2251683002/diff/1/src/ast/scopes.cc File src/ast/scopes.cc (right): https://codereview.chromium.org/2251683002/diff/1/src/ast/scopes.cc#newcode138 src/ast/scopes.cc:138: num_heap_slots_ = scope_info_->ContextLength(); Can you make these uniform ...
4 years, 4 months ago (2016-08-16 09:21:36 UTC) #3
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/2251683002/20001
4 years, 4 months ago (2016-08-16 10:38:14 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-16 10:59:55 UTC) #7
commit-bot: I haz the power
4 years, 4 months ago (2016-08-16 11:00:17 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/095b28de219427965f5f22b9ab1757b6a6d187c8
Cr-Commit-Position: refs/heads/master@{#38650}

Powered by Google App Engine
This is Rietveld 408576698