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

Issue 2458653002: [modules] Move MODULE variable back to Scopes, before resolution (Closed)

Created:
4 years, 1 month ago by adamk
Modified:
4 years, 1 month ago
Reviewers:
neis
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[modules] Move MODULE variable back to Scopes, before resolution Unlike other variable allocation logic, MODULE allocation does not depend on resolution. So in order to give hole check elimination (which runs during resolution) access to the information "is this variable an import", simply allocate all modules variables prior to resolution. BUG=v8:1569 Committed: https://crrev.com/84bbdc7648926fc143529a04d15b57b8d1a6cb89 Cr-Commit-Position: refs/heads/master@{#40621}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -25 lines) Patch
M src/ast/scopes.h View 1 chunk +3 lines, -3 lines 0 comments Download
M src/ast/scopes.cc View 1 3 chunks +11 lines, -4 lines 0 comments Download
M src/parsing/parser.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/parsing/parser.cc View 3 chunks +4 lines, -17 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
adamk
Will see what the try jobs say, this looks a little funny.
4 years, 1 month ago (2016-10-27 11:45:44 UTC) #4
neis
lgtm with nit https://codereview.chromium.org/2458653002/diff/1/src/ast/scopes.cc File src/ast/scopes.cc (right): https://codereview.chromium.org/2458653002/diff/1/src/ast/scopes.cc#newcode1083 src/ast/scopes.cc:1083: // Module export variables must be ...
4 years, 1 month ago (2016-10-27 12:06:04 UTC) #5
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/2458653002/20001
4 years, 1 month ago (2016-10-27 12:09:59 UTC) #8
adamk
https://codereview.chromium.org/2458653002/diff/1/src/ast/scopes.cc File src/ast/scopes.cc (right): https://codereview.chromium.org/2458653002/diff/1/src/ast/scopes.cc#newcode1083 src/ast/scopes.cc:1083: // Module export variables must be allocated before variable ...
4 years, 1 month ago (2016-10-27 12:10:01 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-10-27 12:37:27 UTC) #10
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:15:33 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/84bbdc7648926fc143529a04d15b57b8d1a6cb89
Cr-Commit-Position: refs/heads/master@{#40621}

Powered by Google App Engine
This is Rietveld 408576698