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

Issue 2277253003: [modules] Partial scope info support of modules (Closed)

Created:
4 years, 3 months ago by neis
Modified:
4 years, 3 months ago
Reviewers:
ulan, adamk, Toon Verwaest
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@modules-refactor
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[modules] Partial scope info support of modules This introduces a new heap object ModuleInfo, which is to ModuleDescriptor what ScopeInfo is to Scope. When deserializing a scope info that contains a module info, we deserialize the module info into a module descriptor and put it into the synthesized module scope. Currently, module infos only store exports. R=adamk@chromium.org BUG=v8:1569 Committed: https://crrev.com/840d1e84f74ebc5a596aad20b23b29025c61cf6c Cr-Commit-Position: refs/heads/master@{#39049}

Patch Set 1 #

Total comments: 11

Patch Set 2 : Comments #

Patch Set 3 : Create and use map #

Patch Set 4 : Undo 'git cl format' screwup and fix order of writes. #

Total comments: 4

Patch Set 5 : Rebase #

Patch Set 6 : Try to address comments #

Patch Set 7 : Non-trivial rebase #

Patch Set 8 : Avoid reusing module_vars_count #

Total comments: 1

Patch Set 9 : Fix C&P error and restore lost-in-merge change. #

Patch Set 10 : Yet another rebase. #

Patch Set 11 : Redo changes that mysteriously were never committed. #

Patch Set 12 : Another rebase. #

Patch Set 13 : This is so much fun. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+256 lines, -39 lines) Patch
M src/ast/scopeinfo.cc View 1 2 3 4 5 6 7 8 9 10 12 chunks +149 lines, -30 lines 0 comments Download
M src/ast/scopes.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -0 lines 0 comments Download
M src/ast/scopes.cc View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +43 lines, -1 line 0 comments Download
M src/ast/variables.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
M src/factory.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M src/factory.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +6 lines, -0 lines 0 comments Download
M src/heap/heap.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -0 lines 0 comments Download
M src/heap/heap.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M src/objects.h View 1 2 3 4 5 6 7 8 9 10 9 chunks +37 lines, -7 lines 0 comments Download
M src/objects-inl.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +11 lines, -0 lines 0 comments Download
M src/parsing/parser.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 50 (33 generated)
neis
4 years, 3 months ago (2016-08-25 14:47:22 UTC) #1
adamk
Looks like this is in something of an early state? As it comes together more ...
4 years, 3 months ago (2016-08-25 16:19:43 UTC) #7
neis
https://codereview.chromium.org/2277253003/diff/1/src/api.cc File src/api.cc (right): https://codereview.chromium.org/2277253003/diff/1/src/api.cc#newcode23 src/api.cc:23: #include "src/ast/scopeinfo.h" On 2016/08/25 16:19:43, adamk wrote: > Is ...
4 years, 3 months ago (2016-08-26 09:52:07 UTC) #8
neis
https://codereview.chromium.org/2277253003/diff/1/src/ast/scopeinfo.h File src/ast/scopeinfo.h (right): https://codereview.chromium.org/2277253003/diff/1/src/ast/scopeinfo.h#newcode15 src/ast/scopeinfo.h:15: class ModuleInfo : public FixedArray { On 2016/08/25 16:19:43, ...
4 years, 3 months ago (2016-08-26 12:10:26 UTC) #10
adamk
https://codereview.chromium.org/2277253003/diff/1/src/ast/scopeinfo.h File src/ast/scopeinfo.h (right): https://codereview.chromium.org/2277253003/diff/1/src/ast/scopeinfo.h#newcode15 src/ast/scopeinfo.h:15: class ModuleInfo : public FixedArray { On 2016/08/26 12:10:26, ...
4 years, 3 months ago (2016-08-26 16:54:44 UTC) #11
neis
Please have another look. I've tried to address your comments and I had to do ...
4 years, 3 months ago (2016-08-29 15:29:08 UTC) #19
neis
ready now
4 years, 3 months ago (2016-08-30 15:55:07 UTC) #31
Toon Verwaest
Just for the record, I don't think there's a desire to bundle up stuff in ...
4 years, 3 months ago (2016-08-30 17:23:43 UTC) #33
adamk
This lgtm now I'm happy to defer to Toon's experience if we think this should ...
4 years, 3 months ago (2016-08-30 20:21:41 UTC) #34
neis
+ulan for heap, thanks!
4 years, 3 months ago (2016-08-31 07:45:06 UTC) #36
neis
+ulan for heap, thanks!
4 years, 3 months ago (2016-08-31 07:45:09 UTC) #37
ulan
heap lgtm
4 years, 3 months ago (2016-08-31 09:30:39 UTC) #38
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/2277253003/220001
4 years, 3 months ago (2016-08-31 12:53:17 UTC) #41
commit-bot: I haz the power
Failed to apply patch for src/ast/scopes.cc: While running git apply --index -3 -p1; error: patch ...
4 years, 3 months ago (2016-08-31 13:34:46 UTC) #43
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/2277253003/240001
4 years, 3 months ago (2016-08-31 13:39:54 UTC) #46
commit-bot: I haz the power
Committed patchset #13 (id:240001)
4 years, 3 months ago (2016-08-31 14:25:38 UTC) #48
commit-bot: I haz the power
4 years, 3 months ago (2016-08-31 14:26:21 UTC) #50
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/840d1e84f74ebc5a596aad20b23b29025c61cf6c
Cr-Commit-Position: refs/heads/master@{#39049}

Powered by Google App Engine
This is Rietveld 408576698