|
[modules] AST and parser rework.
Highlights:
- Record all imports and exports in the ModuleDescriptor.
- Remove ImportDeclaration; instead, introduce a new variable kind for imports.
- Set name on default exported anonymous functions.
Still to do: declaration of namespace imports.
BUG= v8:1569
Committed: https://crrev.com/0e000a87f1057e8eacc9516eb81d43664ab58d17
Cr-Commit-Position: refs/heads/master@{#37815}
Total comments: 50
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+355 lines, -413 lines) |
Patch |
|
M |
src/asmjs/asm-wasm-builder.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/ast/ast.h
|
View
|
1
2
|
3 chunks |
+1 line, -54 lines |
0 comments
|
Download
|
|
M |
src/ast/ast.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/ast/ast-expression-rewriter.cc
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/ast/ast-literal-reindexer.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/ast/ast-numbering.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/ast/modules.h
|
View
|
1
|
2 chunks |
+66 lines, -80 lines |
0 comments
|
Download
|
|
M |
src/ast/modules.cc
|
View
|
1
|
1 chunk |
+102 lines, -34 lines |
0 comments
|
Download
|
|
M |
src/ast/prettyprinter.cc
|
View
|
1
2
|
2 chunks |
+0 lines, -11 lines |
0 comments
|
Download
|
|
M |
src/ast/scopes.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/ast/variables.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/bailout-reason.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
src/compiler/ast-graph-builder.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/compiler/ast-loop-assignment-analyzer.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
src/contexts.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/crankshaft/hydrogen.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/crankshaft/typing.cc
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/full-codegen/full-codegen.cc
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -24 lines |
0 comments
|
Download
|
|
M |
src/globals.h
|
View
|
1
2
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-generator.cc
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/parsing/parser.h
|
View
|
1
2
|
3 chunks |
+14 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/parsing/parser.cc
|
View
|
1
2
|
16 chunks |
+144 lines, -131 lines |
0 comments
|
Download
|
|
M |
src/parsing/pattern-rewriter.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
test/cctest/interpreter/bytecode_expectations/Generators.golden
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-parsing.cc
|
View
|
1
|
2 chunks |
+15 lines, -26 lines |
0 comments
|
Download
|
Total messages: 23 (10 generated)
|