|
Teach ModuleDescriptor about basic local exports
Add() becomes AddLocalExport, which takes an export_name and a local_name.
New parsing tests exercise this.
Also start generating exports for default exports (though this doesn't yet
handle anonymous default exports).
BUG= v8:1569
LOG=n
Committed: https://crrev.com/a538d945e39cb653674ef244973ab21d128563d7
Cr-Commit-Position: refs/heads/master@{#26758}
Total comments: 5
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+130 lines, -140 lines) |
Patch |
|
M |
src/ast-value-factory.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/messages.js
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/modules.h
|
View
|
|
2 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/modules.cc
|
View
|
|
1 chunk |
+8 lines, -9 lines |
0 comments
|
Download
|
|
M |
src/parser.h
|
View
|
1
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
src/parser.cc
|
View
|
1
|
10 chunks |
+71 lines, -52 lines |
0 comments
|
Download
|
|
M |
src/scopeinfo.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
test/cctest/cctest.status
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-parsing.cc
|
View
|
|
3 chunks |
+5 lines, -64 lines |
0 comments
|
Download
|
|
A + |
test/message/export-duplicate.js
|
View
|
1
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
A |
test/message/export-duplicate.out
|
View
|
1
|
1 chunk |
+7 lines, -0 lines |
1 comment
|
Download
|
|
A + |
test/message/export-duplicate-as.js
|
View
|
1
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
A |
test/message/export-duplicate-as.out
|
View
|
1
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
A + |
test/message/export-duplicate-default.js
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
A |
test/message/export-duplicate-default.out
|
View
|
1
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
test/message/testcfg.py
|
View
|
1
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
Total messages: 16 (5 generated)
|