|
Strip Interface class of most of its logic, make it all about Module exports
This gets Variable and VariableProxy out of the business of worrying about
Interfaces.
At the same time, get rid of the notion of "module variables". In ES6, variables
that refer to modules will be simply be CONST bindings to module namespace
objects.
The only change in logic here is one more early error:
duplicate export names are now rejected.
BUG= v8:1569
LOG=n
Committed: https://crrev.com/522937cb494559d209bc53d8251458f33b4e9864
Cr-Commit-Position: refs/heads/master@{#26708}
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+134 lines, -612 lines) |
Patch |
|
M |
src/arm/full-codegen-arm.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/arm64/full-codegen-arm64.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/ast.h
|
View
|
1
2
|
12 chunks |
+11 lines, -54 lines |
0 comments
|
Download
|
|
M |
src/ast.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/ast-numbering.cc
|
View
|
|
1 chunk |
+0 lines, -7 lines |
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
|
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
src/contexts.cc
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/full-codegen.cc
|
View
|
|
5 chunks |
+5 lines, -13 lines |
0 comments
|
Download
|
|
M |
src/globals.h
|
View
|
1
2
|
2 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/hydrogen.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/ia32/full-codegen-ia32.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/interface.h
|
View
|
1
|
3 chunks |
+20 lines, -123 lines |
0 comments
|
Download
|
|
M |
src/interface.cc
|
View
|
|
4 chunks |
+24 lines, -189 lines |
0 comments
|
Download
|
|
M |
src/messages.js
|
View
|
1
2
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
src/mips/full-codegen-mips.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/mips64/full-codegen-mips64.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/parser.h
|
View
|
1
2
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
src/parser.cc
|
View
|
1
2
3
|
22 chunks |
+25 lines, -74 lines |
0 comments
|
Download
|
|
M |
src/ppc/full-codegen-ppc.cc
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/prettyprinter.cc
|
View
|
|
5 chunks |
+0 lines, -19 lines |
0 comments
|
Download
|
|
M |
src/rewriter.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
src/runtime/runtime-scopes.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/scopeinfo.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/scopeinfo.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -9 lines |
0 comments
|
Download
|
|
M |
src/scopes.h
|
View
|
1
2
|
3 chunks |
+3 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/scopes.cc
|
View
|
1
2
|
6 chunks |
+6 lines, -45 lines |
0 comments
|
Download
|
|
M |
src/typing.cc
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/variables.h
|
View
|
|
4 chunks |
+1 line, -7 lines |
0 comments
|
Download
|
|
M |
src/variables.cc
|
View
|
|
3 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/x64/full-codegen-x64.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/x87/full-codegen-x87.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-parsing.cc
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 10 (4 generated)
|