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

Issue 2270743002: Scopes: simplfy scope creation for with scopes. (Closed)

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

Scopes: simplify scope creation. With scopes: Don't call the ctor which wants a ScopeInfo if we don't want to pass it, instead call a ctor which doesn't need it. In addition, remove inner_scope from ctors and adjust it explicitly afterwards. It's confusing that some ctors get passed inner scopes and some outer scopes. BUG=v8:5209 Committed: https://crrev.com/7eaeb5aea51a8c1858f39da4ad6539c01711b871 Cr-Commit-Position: refs/heads/master@{#38859}

Patch Set 1 #

Patch Set 2 : fixing #

Patch Set 3 : rebased #

Total comments: 1

Patch Set 4 : removed inner scopes from ctors #

Patch Set 5 : rebased #

Patch Set 6 : leaner version #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -42 lines) Patch
M src/ast/scopes.h View 1 2 3 4 3 chunks +4 lines, -7 lines 0 comments Download
M src/ast/scopes.cc View 1 2 3 4 5 7 chunks +35 lines, -35 lines 0 comments Download

Messages

Total messages: 27 (22 generated)
marja
4 years, 4 months ago (2016-08-23 12:32:06 UTC) #12
Toon Verwaest
lgtm https://codereview.chromium.org/2270743002/diff/40001/src/ast/scopes.cc File src/ast/scopes.cc (right): https://codereview.chromium.org/2270743002/diff/40001/src/ast/scopes.cc#newcode272 src/ast/scopes.cc:272: with_scope->AddInnerScope(current_scope); Perhaps we should just pull this out ...
4 years, 4 months ago (2016-08-23 12:33:27 UTC) #13
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/2270743002/100001
4 years, 4 months ago (2016-08-24 08:57:59 UTC) #23
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 4 months ago (2016-08-24 09:27:06 UTC) #25
commit-bot: I haz the power
4 years, 4 months ago (2016-08-24 09:27:23 UTC) #27
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/7eaeb5aea51a8c1858f39da4ad6539c01711b871
Cr-Commit-Position: refs/heads/master@{#38859}

Powered by Google App Engine
This is Rietveld 408576698