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

Issue 1879373004: Implement modular compilation (Closed)

Created:
4 years, 8 months ago by Jennifer Messerly
Modified:
4 years, 8 months ago
Reviewers:
vsm
CC:
dev-compiler+reviews_dartlang.org
Base URL:
git@github.com:dart-lang/dev_compiler.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Implement modular compilation Highlights * compile one module at a time * use summaries to speed up compiles * use command runner so we can add more commands later * some long needed renames and file organization * various other technical debt has been addressed Lowlights * lost node.js runner/tests (node output format still supported) * possibly lost some closure support/workarounds (format still supported) * needs more end-to-end tests of the new system R=vsm@google.com Committed: https://github.com/dart-lang/dev_compiler/commit/2607e182f7eab072c514be8f5325f50144029a4a

Patch Set 1 #

Total comments: 10

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8652 lines, -68388 lines) Patch
M bin/dartdevc.dart View 1 2 1 chunk +68 lines, -36 lines 0 comments Download
D bin/devrun.dart View 1 2 1 chunk +0 lines, -90 lines 0 comments Download
M karma.conf.js View 1 2 1 chunk +0 lines, -1 line 0 comments Download
D lib/devc.dart View 1 2 1 chunk +0 lines, -12 lines 0 comments Download
D lib/runtime/dart/_debugger.js View 1 2 1 chunk +0 lines, -565 lines 0 comments Download
D lib/runtime/dart/_foreign_helper.js View 1 2 1 chunk +0 lines, -165 lines 0 comments Download
D lib/runtime/dart/_interceptors.js View 1 2 1 chunk +0 lines, -1433 lines 0 comments Download
D lib/runtime/dart/_internal.js View 1 2 1 chunk +0 lines, -2362 lines 0 comments Download
D lib/runtime/dart/_isolate_helper.js View 1 2 1 chunk +0 lines, -1517 lines 0 comments Download
D lib/runtime/dart/_js_embedded_names.js View 1 2 1 chunk +0 lines, -70 lines 0 comments Download
D lib/runtime/dart/_js_helper.js View 1 2 1 chunk +0 lines, -1195 lines 0 comments Download
D lib/runtime/dart/_js_mirrors.js View 1 2 1 chunk +0 lines, -447 lines 0 comments Download
D lib/runtime/dart/_js_primitives.js View 1 2 1 chunk +0 lines, -29 lines 0 comments Download
D lib/runtime/dart/_metadata.js View 1 2 1 chunk +0 lines, -58 lines 0 comments Download
D lib/runtime/dart/_native_typed_data.js View 1 2 1 chunk +0 lines, -2048 lines 0 comments Download
D lib/runtime/dart/_runtime.js View 1 2 1 chunk +0 lines, -1340 lines 0 comments Download
D lib/runtime/dart/async.js View 1 2 1 chunk +0 lines, -5770 lines 0 comments Download
D lib/runtime/dart/collection.js View 1 2 1 chunk +0 lines, -5889 lines 0 comments Download
D lib/runtime/dart/convert.js View 1 2 1 chunk +0 lines, -2834 lines 0 comments Download
D lib/runtime/dart/core.js View 1 2 1 chunk +0 lines, -3291 lines 0 comments Download
D lib/runtime/dart/html_common.js View 1 2 1 chunk +0 lines, -959 lines 0 comments Download
D lib/runtime/dart/indexed_db.js View 1 2 1 chunk +0 lines, -1126 lines 0 comments Download
D lib/runtime/dart/isolate.js View 1 2 1 chunk +0 lines, -259 lines 0 comments Download
D lib/runtime/dart/js.js View 1 2 1 chunk +0 lines, -413 lines 0 comments Download
D lib/runtime/dart/math.js View 1 2 1 chunk +0 lines, -552 lines 0 comments Download
D lib/runtime/dart/mirrors.js View 1 2 1 chunk +0 lines, -139 lines 0 comments Download
D lib/runtime/dart/svg.js View 1 2 1 chunk +0 lines, -6680 lines 0 comments Download
D lib/runtime/dart/typed_data.js View 1 2 1 chunk +0 lines, -957 lines 0 comments Download
D lib/runtime/dart/web_audio.js View 1 2 1 chunk +0 lines, -1061 lines 0 comments Download
D lib/runtime/dart/web_gl.js View 1 2 1 chunk +0 lines, -2396 lines 0 comments Download
D lib/runtime/dart/web_sql.js View 1 2 1 chunk +0 lines, -207 lines 0 comments Download
M lib/runtime/dart_library.js View 1 2 5 chunks +23 lines, -46 lines 0 comments Download
D lib/runtime/harmony_feature_check.js View 1 2 1 chunk +0 lines, -26 lines 0 comments Download
D lib/src/analysis_context.dart View 1 2 1 chunk +0 lines, -76 lines 0 comments Download
A lib/src/analyzer/context.dart View 1 2 1 chunk +155 lines, -0 lines 0 comments Download
A + lib/src/analyzer/dart_sdk.dart View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
A + lib/src/analyzer/multi_package_resolver.dart View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
M lib/src/closure/closure_annotation.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M lib/src/closure/closure_annotator.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
D lib/src/codegen/ast_builder.dart View 1 2 1 chunk +0 lines, -599 lines 0 comments Download
D lib/src/codegen/html_codegen.dart View 1 2 1 chunk +0 lines, -27 lines 0 comments Download
D lib/src/codegen/js_codegen.dart View 1 2 1 chunk +0 lines, -3837 lines 0 comments Download
D lib/src/codegen/js_field_storage.dart View 1 2 1 chunk +0 lines, -91 lines 0 comments Download
D lib/src/codegen/js_interop.dart View 1 2 1 chunk +0 lines, -73 lines 0 comments Download
D lib/src/codegen/js_metalet.dart View 1 2 1 chunk +0 lines, -326 lines 0 comments Download
D lib/src/codegen/js_module_item_order.dart View 1 2 1 chunk +0 lines, -260 lines 0 comments Download
D lib/src/codegen/js_names.dart View 1 2 1 chunk +0 lines, -303 lines 0 comments Download
D lib/src/codegen/js_printer.dart View 1 2 1 chunk +0 lines, -151 lines 0 comments Download
D lib/src/codegen/js_typeref_codegen.dart View 1 2 1 chunk +0 lines, -134 lines 0 comments Download
D lib/src/codegen/module_builder.dart View 1 2 1 chunk +0 lines, -204 lines 0 comments Download
D lib/src/codegen/nullable_type_inference.dart View 1 2 1 chunk +0 lines, -323 lines 0 comments Download
D lib/src/codegen/reify_coercions.dart View 1 2 1 chunk +0 lines, -170 lines 0 comments Download
D lib/src/codegen/side_effect_analysis.dart View 1 2 1 chunk +0 lines, -138 lines 0 comments Download
D lib/src/compiler.dart View 1 2 1 chunk +0 lines, -512 lines 0 comments Download
A + lib/src/compiler/ast_builder.dart View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + lib/src/compiler/code_generator.dart View 1 2 56 chunks +689 lines, -768 lines 0 comments Download
A lib/src/compiler/command.dart View 1 2 1 chunk +74 lines, -0 lines 0 comments Download
A lib/src/compiler/compiler.dart View 1 2 1 chunk +269 lines, -0 lines 0 comments Download
A lib/src/compiler/element_helpers.dart View 1 2 1 chunk +102 lines, -0 lines 0 comments Download
A lib/src/compiler/element_loader.dart View 1 2 1 chunk +142 lines, -0 lines 0 comments Download
A + lib/src/compiler/error_helpers.dart View 1 2 2 chunks +45 lines, -78 lines 0 comments Download
A lib/src/compiler/extension_types.dart View 1 2 1 chunk +749 lines, -0 lines 0 comments Download
A + lib/src/compiler/js_field_storage.dart View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
A + lib/src/compiler/js_interop.dart View 1 2 2 chunks +5 lines, -7 lines 0 comments Download
A + lib/src/compiler/js_metalet.dart View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
A + lib/src/compiler/js_names.dart View 1 2 2 chunks +2 lines, -10 lines 0 comments Download
A + lib/src/compiler/js_typeref_codegen.dart View 1 2 3 chunks +18 lines, -26 lines 0 comments Download
A lib/src/compiler/module_builder.dart View 1 2 1 chunk +170 lines, -0 lines 0 comments Download
A + lib/src/compiler/nullable_type_inference.dart View 1 2 3 chunks +5 lines, -6 lines 0 comments Download
A + lib/src/compiler/reify_coercions.dart View 1 2 2 chunks +9 lines, -25 lines 0 comments Download
A + lib/src/compiler/side_effect_analysis.dart View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A lib/src/compiler/source_map_printer.dart View 1 2 1 chunk +89 lines, -0 lines 0 comments Download
D lib/src/dart_sdk.dart View 1 2 1 chunk +0 lines, -203 lines 0 comments Download
D lib/src/js/builder.dart View 1 2 1 chunk +0 lines, -1651 lines 0 comments Download
D lib/src/js/characters.dart View 1 2 1 chunk +0 lines, -115 lines 0 comments Download
D lib/src/js/js_ast.dart View 1 2 1 chunk +0 lines, -17 lines 0 comments Download
D lib/src/js/js_types.dart View 1 2 1 chunk +0 lines, -198 lines 0 comments Download
D lib/src/js/module_transform.dart View 1 2 1 chunk +0 lines, -25 lines 0 comments Download
D lib/src/js/nodes.dart View 1 2 1 chunk +0 lines, -1838 lines 0 comments Download
D lib/src/js/precedence.dart View 1 2 1 chunk +0 lines, -34 lines 0 comments Download
D lib/src/js/printer.dart View 1 2 1 chunk +0 lines, -1691 lines 0 comments Download
D lib/src/js/template.dart View 1 2 1 chunk +0 lines, -923 lines 0 comments Download
D lib/src/js/type_printer.dart View 1 2 1 chunk +0 lines, -226 lines 0 comments Download
A + lib/src/js_ast/builder.dart View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + lib/src/js_ast/characters.dart View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + lib/src/js_ast/js_ast.dart View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + lib/src/js_ast/js_types.dart View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + lib/src/js_ast/module_transform.dart View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + lib/src/js_ast/nodes.dart View 1 2 6 chunks +43 lines, -10 lines 0 comments Download
A + lib/src/js_ast/precedence.dart View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + lib/src/js_ast/printer.dart View 1 2 1 chunk +17 lines, -2 lines 0 comments Download
A + lib/src/js_ast/template.dart View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + lib/src/js_ast/type_printer.dart View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
D lib/src/multi_package_resolver.dart View 1 2 1 chunk +0 lines, -53 lines 0 comments Download
D lib/src/options.dart View 1 2 1 chunk +0 lines, -338 lines 0 comments Download
D lib/src/report.dart View 1 2 1 chunk +0 lines, -216 lines 0 comments Download
D lib/src/runner/file_utils.dart View 1 2 1 chunk +0 lines, -16 lines 0 comments Download
D lib/src/runner/runtime_utils.dart View 1 2 1 chunk +0 lines, -53 lines 0 comments Download
D lib/src/runner/v8_runner.dart View 1 2 1 chunk +0 lines, -102 lines 0 comments Download
D lib/src/utils.dart View 1 2 1 chunk +0 lines, -460 lines 0 comments Download
M pubspec.yaml View 1 2 3 chunks +2 lines, -10 lines 0 comments Download
M test/all_tests.dart View 1 2 2 chunks +0 lines, -2 lines 0 comments Download
M test/browser/language_tests.js View 1 2 1 chunk +381 lines, -389 lines 0 comments Download
M test/browser/runtime_tests.js View 1 2 1 chunk +4 lines, -3 lines 0 comments Download
M test/closure/closure_annotation_test.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M test/codegen/closure.dart View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M test/codegen/destructuring.dart View 1 2 1 chunk +1 line, -0 lines 0 comments Download
D test/codegen/dir/html_input_a.dart View 1 2 1 chunk +0 lines, -11 lines 0 comments Download
D test/codegen/dir/html_input_b.dart View 1 2 1 chunk +0 lines, -8 lines 0 comments Download
D test/codegen/dir/html_input_c.dart View 1 2 1 chunk +0 lines, -9 lines 0 comments Download
D test/codegen/dir/html_input_d.dart View 1 2 1 chunk +0 lines, -17 lines 0 comments Download
D test/codegen/dir/html_input_e.dart View 1 2 1 chunk +0 lines, -5 lines 0 comments Download
D test/codegen/domtest.dart View 1 2 1 chunk +0 lines, -17 lines 0 comments Download
M test/codegen/es6_modules.dart View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M test/codegen/expect/8invalid-chars.in+file_name.js View 1 2 1 chunk +10 lines, -8 lines 0 comments Download
M test/codegen/expect/8invalid-chars.in+file_name.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M test/codegen/expect/BenchmarkBase.js View 1 2 6 chunks +17 lines, -17 lines 0 comments Download
M test/codegen/expect/BenchmarkBase.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M test/codegen/expect/DeltaBlue.js View 1 2 17 chunks +238 lines, -177 lines 0 comments Download
M test/codegen/expect/DeltaBlue.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M test/codegen/expect/async_helper.js View 1 2 1 chunk +52 lines, -55 lines 0 comments Download
M test/codegen/expect/async_helper.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M test/codegen/expect/async_helper/async_helper.js View 1 2 1 chunk +53 lines, -56 lines 0 comments Download
M test/codegen/expect/async_helper/async_helper.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M test/codegen/expect/cascade.js View 1 2 6 chunks +43 lines, -53 lines 0 comments Download
M test/codegen/expect/cascade.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M test/codegen/expect/closure.js View 1 2 3 chunks +32 lines, -47 lines 0 comments Download
M test/codegen/expect/closure.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
D test/codegen/expect/collection/collection.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
D test/codegen/expect/collection/equality.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
D test/codegen/expect/collection/src/algorithms.js View 1 2 1 chunk +0 lines, -232 lines 0 comments Download
D test/codegen/expect/collection/src/algorithms.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
D test/codegen/expect/collection/src/canonicalized_map.js View 1 2 1 chunk +0 lines, -158 lines 0 comments Download
D test/codegen/expect/collection/src/canonicalized_map.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
D test/codegen/expect/collection/src/comparators.js View 1 2 1 chunk +0 lines, -265 lines 0 comments Download
D test/codegen/expect/collection/src/comparators.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
D test/codegen/expect/collection/src/equality.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
D test/codegen/expect/collection/src/iterable_zip.js View 1 2 1 chunk +0 lines, -68 lines 0 comments Download
D test/codegen/expect/collection/src/iterable_zip.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
D test/codegen/expect/collection/src/priority_queue.js View 1 2 1 chunk +0 lines, -247 lines 0 comments Download
D test/codegen/expect/collection/src/priority_queue.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
D test/codegen/expect/collection/src/queue_list.js View 1 2 1 chunk +0 lines, -235 lines 0 comments Download
D test/codegen/expect/collection/src/queue_list.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
D test/codegen/expect/collection/src/unmodifiable_wrappers.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
D test/codegen/expect/collection/src/utils.js View 1 2 1 chunk +0 lines, -29 lines 0 comments Download
D test/codegen/expect/collection/src/utils.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
D test/codegen/expect/collection/src/wrappers.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M test/codegen/expect/constructors.js View 1 2 2 chunks +90 lines, -106 lines 0 comments Download
M test/codegen/expect/constructors.txt View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M test/codegen/expect/covariance.js View 1 2 3 chunks +16 lines, -18 lines 0 comments Download
M test/codegen/expect/covariance.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M test/codegen/expect/destructuring.js View 1 2 1 chunk +53 lines, -64 lines 0 comments Download
M test/codegen/expect/destructuring.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
D test/codegen/expect/dir/html_input_a.js View 1 2 1 chunk +0 lines, -18 lines 0 comments Download
D test/codegen/expect/dir/html_input_a.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
D test/codegen/expect/dir/html_input_b.js View 1 2 1 chunk +0 lines, -10 lines 0 comments Download
D test/codegen/expect/dir/html_input_b.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
D test/codegen/expect/dir/html_input_c.js View 1 2 1 chunk +0 lines, -14 lines 0 comments Download
D test/codegen/expect/dir/html_input_c.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
D test/codegen/expect/dir/html_input_d.js View 1 2 1 chunk +0 lines, -14 lines 0 comments Download
D test/codegen/expect/dir/html_input_d.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
D test/codegen/expect/dir/html_input_e.js View 1 2 1 chunk +0 lines, -8 lines 0 comments Download
D test/codegen/expect/dir/html_input_e.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
D test/codegen/expect/dom/dom.js View 1 2 1 chunk +0 lines, -60 lines 0 comments Download
D test/codegen/expect/dom/dom.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
D test/codegen/expect/domtest.js View 1 2 1 chunk +0 lines, -20 lines 0 comments Download
D test/codegen/expect/domtest.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M test/codegen/expect/es6_modules.js View 1 2 3 chunks +20 lines, -30 lines 0 comments Download
M test/codegen/expect/es6_modules.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M test/codegen/expect/expect.js View 1 2 9 chunks +74 lines, -77 lines 0 comments Download
M test/codegen/expect/expect.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M test/codegen/expect/expect/expect.js View 1 2 9 chunks +75 lines, -78 lines 0 comments Download
M test/codegen/expect/expect/expect.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M test/codegen/expect/extensions.js View 1 2 1 chunk +17 lines, -17 lines 0 comments Download
M test/codegen/expect/extensions.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M test/codegen/expect/fieldtest.js View 1 2 3 chunks +66 lines, -77 lines 0 comments Download
M test/codegen/expect/fieldtest.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M test/codegen/expect/functions.js View 1 2 1 chunk +21 lines, -25 lines 0 comments Download
M test/codegen/expect/functions.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
D test/codegen/expect/html_input.html View 1 2 1 chunk +0 lines, -40 lines 0 comments Download
M test/codegen/expect/js/js.js View 1 2 1 chunk +20 lines, -19 lines 0 comments Download
M test/codegen/expect/js/js.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
D test/codegen/expect/js/src/varargs.js View 1 2 1 chunk +0 lines, -23 lines 0 comments Download
D test/codegen/expect/js/src/varargs.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M test/codegen/expect/js_test.txt View 1 2 1 chunk +326 lines, -327 lines 0 comments Download
M test/codegen/expect/lib-typed_data-all.js View 1 2 22 chunks +2762 lines, -2578 lines 0 comments Download
M test/codegen/expect/map_keys.js View 1 2 1 chunk +12 lines, -10 lines 0 comments Download
M test/codegen/expect/map_keys.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M test/codegen/expect/map_keys.js.map View 1 2 1 chunk +1 line, -8 lines 0 comments Download
M test/codegen/expect/methods.js View 1 2 3 chunks +22 lines, -24 lines 0 comments Download
M test/codegen/expect/methods.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M test/codegen/expect/misc.js View 1 2 2 chunks +33 lines, -38 lines 0 comments Download
M test/codegen/expect/misc.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M test/codegen/expect/names.js View 1 2 2 chunks +33 lines, -35 lines 0 comments Download
M test/codegen/expect/names.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M test/codegen/expect/node_modules.js View 1 2 1 chunk +0 lines, -49 lines 0 comments Download
M test/codegen/expect/node_modules.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M test/codegen/expect/notnull.js View 1 2 13 chunks +81 lines, -97 lines 0 comments Download
M test/codegen/expect/notnull.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M test/codegen/expect/opassign.js View 1 2 1 chunk +28 lines, -29 lines 0 comments Download
M test/codegen/expect/opassign.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M test/codegen/expect/script.js View 1 2 1 chunk +10 lines, -9 lines 0 comments Download
M test/codegen/expect/script.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
D test/codegen/expect/sunflower/circle.js View 1 2 1 chunk +0 lines, -20 lines 0 comments Download
D test/codegen/expect/sunflower/circle.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
D test/codegen/expect/sunflower/dom.js View 1 2 1 chunk +0 lines, -60 lines 0 comments Download
D test/codegen/expect/sunflower/dom.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
D test/codegen/expect/sunflower/painter.js View 1 2 1 chunk +0 lines, -55 lines 0 comments Download
D test/codegen/expect/sunflower/painter.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
D test/codegen/expect/sunflower/sunflower.html View 1 2 1 chunk +0 lines, -65 lines 0 comments Download
M test/codegen/expect/sunflower/sunflower.js View 1 2 1 chunk +103 lines, -59 lines 0 comments Download
M test/codegen/expect/sunflower/sunflower.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
A test/codegen/expect/sunflower/sunflower.js.map View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M test/codegen/expect/syncstar_syntax.js View 1 2 3 chunks +22 lines, -22 lines 0 comments Download
M test/codegen/expect/syncstar_syntax.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M test/codegen/expect/temps.js View 1 2 2 chunks +23 lines, -24 lines 0 comments Download
M test/codegen/expect/temps.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M test/codegen/expect/try_catch.js View 1 2 5 chunks +30 lines, -34 lines 0 comments Download
M test/codegen/expect/try_catch.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M test/codegen/expect/unittest.js View 1 2 3 chunks +127 lines, -52 lines 0 comments Download
M test/codegen/expect/unittest.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M test/codegen/expect/unittest/unittest.js View 1 2 3 chunks +128 lines, -53 lines 0 comments Download
M test/codegen/expect/unittest/unittest.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M test/codegen/expect/varargs.js View 1 2 1 chunk +13 lines, -12 lines 0 comments Download
M test/codegen/expect/varargs.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
D test/codegen/html_input.html View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M test/codegen/map_keys.dart View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M test/codegen/node_modules.dart View 1 2 1 chunk +1 line, -0 lines 0 comments Download
D test/codegen/sunflower/dom.dart View 1 2 1 chunk +0 lines, -247 lines 0 comments Download
M test/codegen/sunflower/painter.dart View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M test/codegen/sunflower/sunflower.dart View 1 2 3 chunks +2 lines, -4 lines 0 comments Download
M test/codegen/sunflower/sunflower.html View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M test/codegen/unittest.dart View 1 2 1 chunk +6 lines, -5 lines 0 comments Download
M test/codegen_test.dart View 1 2 3 chunks +219 lines, -225 lines 0 comments Download
M test/js/builder_test.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
D test/samples/fieldtest.dart View 1 2 1 chunk +0 lines, -28 lines 0 comments Download
D test/samples/function_type_test.dart View 1 2 1 chunk +0 lines, -14 lines 0 comments Download
D test/samples/funwithtypes.dart View 1 2 1 chunk +0 lines, -124 lines 0 comments Download
D test/samples/import_test.dart View 1 2 1 chunk +0 lines, -21 lines 0 comments Download
D test/samples/imported_file.dart View 1 2 1 chunk +0 lines, -7 lines 0 comments Download
D test/samples/return_test.dart View 1 2 1 chunk +0 lines, -37 lines 0 comments Download
D test/samples/runtimetypechecktest.dart View 1 2 1 chunk +0 lines, -33 lines 0 comments Download
D test/samples/trusttypes1.dart View 1 2 1 chunk +0 lines, -28 lines 0 comments Download
D test/samples/trusttypes2.dart View 1 2 1 chunk +0 lines, -38 lines 0 comments Download
D test/utils_test.dart View 1 2 1 chunk +0 lines, -36 lines 0 comments Download
A tool/build_sdk.dart View 1 2 1 chunk +56 lines, -0 lines 0 comments Download
M tool/build_sdk.sh View 1 2 1 chunk +12 lines, -10 lines 0 comments Download
M tool/format.sh View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tool/input_sdk/private/ddc_runtime/classes.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tool/input_sdk/private/ddc_runtime/operations.dart View 1 2 3 chunks +9 lines, -7 lines 0 comments Download
M tool/input_sdk/private/ddc_runtime/rtti.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tool/input_sdk/private/ddc_runtime/runtime.dart View 1 2 1 chunk +0 lines, -12 lines 0 comments Download
M tool/input_sdk/private/ddc_runtime/utils.dart View 1 2 2 chunks +13 lines, -14 lines 0 comments Download
D tool/node_test.sh View 1 2 1 chunk +0 lines, -45 lines 0 comments Download
M tool/patch_sdk.dart View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M tool/presubmit.sh View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M tool/sdk_expected_errors.txt View 1 2 1 chunk +600 lines, -600 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
Jennifer Messerly
This is now passing for me locally. I still need to investigate what's going on ...
4 years, 8 months ago (2016-04-13 23:42:48 UTC) #3
vsm
lgtm! https://codereview.chromium.org/1879373004/diff/1/bin/dartdevc.dart File bin/dartdevc.dart (right): https://codereview.chromium.org/1879373004/diff/1/bin/dartdevc.dart#newcode29 bin/dartdevc.dart:29: /// existing tools such as for the "link" ...
4 years, 8 months ago (2016-04-14 00:18:24 UTC) #4
Jennifer Messerly
Committed patchset #3 (id:20001) manually as 2607e182f7eab072c514be8f5325f50144029a4a (presubmit successful).
4 years, 8 months ago (2016-04-14 18:28:20 UTC) #6
Jennifer Messerly
4 years, 8 months ago (2016-04-14 18:28:40 UTC) #7
Message was sent while issue was closed.
Thanks!

https://codereview.chromium.org/1879373004/diff/1/bin/dartdevc.dart
File bin/dartdevc.dart (right):

https://codereview.chromium.org/1879373004/diff/1/bin/dartdevc.dart#newcode29
bin/dartdevc.dart:29: ///   existing tools such as for the "link" step, or
assume users have a local
On 2016/04/14 00:18:24, vsm wrote:
> such as ??? for link step?

I was thinking of webpack: https://webpack.github.io/

There are many related/historical tools as well (browserify, requirejs, various
gulp plugins, even things like Closure Compiler fit in the "linker" category)

but yeah, I started going into detail then I meant to edit out specific tools.
Oops. Fixed :)

https://codereview.chromium.org/1879373004/diff/1/karma.conf.js
File karma.conf.js (right):

https://codereview.chromium.org/1879373004/diff/1/karma.conf.js#newcode84
karma.conf.js:84: browsers: ['Chrome', 'Electron'],
On 2016/04/14 00:18:24, vsm wrote:
> This should work now with the patch I suggested.  Note that travis on line 92
is
> still using canary.

Ah yeah, I'll try that.

Not related to this review, but: At some point should Chrome be the default for
use with DDC? It might be more reliable for Dart developers than Canary. That
said, maybe we'll always want the bleeding edge V8 goodness on Canary. Certainly
so far it's been useful to test against it. (And we have Electron anyway keeping
us honest on the older Chrome support.)

https://codereview.chromium.org/1879373004/diff/1/lib/runtime/dart_library.js
File lib/runtime/dart_library.js (right):

https://codereview.chromium.org/1879373004/diff/1/lib/runtime/dart_library.js...
lib/runtime/dart_library.js:79: let result = new LibraryLoader(name,
defaultValue, imports, lazyImports, loader);
On 2016/04/14 00:18:24, vsm wrote:
> Drop lazyImports in the two lines above.  :-)

oops, good catch. I thought I'd searched this file for "lazy". DOH.

https://codereview.chromium.org/1879373004/diff/1/lib/src/compiler/code_gener...
File lib/src/compiler/code_generator.dart (right):

https://codereview.chromium.org/1879373004/diff/1/lib/src/compiler/code_gener...
lib/src/compiler/code_generator.dart:842: /// Gets the JS pper for this Dart
type, if any, otherwise null.
On 2016/04/14 00:18:24, vsm wrote:
> pper -> peer

Done.

https://codereview.chromium.org/1879373004/diff/1/lib/src/compiler/compiler.dart
File lib/src/compiler/compiler.dart (right):

https://codereview.chromium.org/1879373004/diff/1/lib/src/compiler/compiler.d...
lib/src/compiler/compiler.dart:22: /// For a single [BuildUnit] definition, this
will produce a [JSModuleFile] output.
On 2016/04/14 00:18:24, vsm wrote:
> nit length

Done.

Powered by Google App Engine
This is Rietveld 408576698