|
Emit more stuff via ASTs
- Block CodeBuffer.toString() to prevent accidental loss of sourcemap info.
- keep compiled code as ASTs rather than CodeBuffers.
- class members are collected in a ClassBuilder and emitted as a js.ObjectInitializer.
- Use double quotes for JS strings more uniformly.
Unminified code is 5% larger due to corrected indentation.
This does not affect minified code.
Committed: https://code.google.com/p/dart/source/detail?r=16646
Total comments: 9
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+300 lines, -310 lines) |
Patch |
 |
M |
sdk/lib/_internal/compiler/implementation/code_buffer.dart
|
View
|
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
sdk/lib/_internal/compiler/implementation/compiler.dart
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
2 comments
|
Download
|
 |
M |
sdk/lib/_internal/compiler/implementation/dart2jslib.dart
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
sdk/lib/_internal/compiler/implementation/enqueue.dart
|
View
|
|
1 chunk |
+0 lines, -10 lines |
0 comments
|
Download
|
 |
M |
sdk/lib/_internal/compiler/implementation/js/nodes.dart
|
View
|
1
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
sdk/lib/_internal/compiler/implementation/js/printer.dart
|
View
|
1
2
|
4 chunks |
+29 lines, -8 lines |
2 comments
|
Download
|
 |
M |
sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
|
View
|
1
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart
|
View
|
1
|
36 chunks |
+144 lines, -154 lines |
0 comments
|
Download
|
 |
M |
sdk/lib/_internal/compiler/implementation/js_backend/emitter_no_eval.dart
|
View
|
1
|
2 chunks |
+9 lines, -14 lines |
0 comments
|
Download
|
 |
M |
sdk/lib/_internal/compiler/implementation/js_backend/native_emitter.dart
|
View
|
1
|
8 chunks |
+81 lines, -94 lines |
0 comments
|
Download
|
 |
M |
sdk/lib/_internal/compiler/implementation/ssa/codegen.dart
|
View
|
1
|
6 chunks |
+11 lines, -14 lines |
0 comments
|
Download
|
 |
M |
sdk/lib/_internal/compiler/implementation/universe/universe.dart
|
View
|
1
|
4 chunks |
+9 lines, -8 lines |
0 comments
|
Download
|
Total messages: 6 (0 generated)
|