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

Issue 1235563003: Add interfaces for a new compiler API. (Closed)

Created:
5 years, 5 months ago by Johnni Winther
Modified:
5 years, 5 months ago
CC:
reviews_dartlang.org
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Add interfaces for a new compiler API. Main changes are in the added files, compiler/compiler.dart, src/compiler.dart and src/apiimpl.dart. Start by looking at compiler/compiler_new.dart and compiler/compiler.dart. BUG= R=floitsch@google.com Committed: https://github.com/dart-lang/sdk/commit/0da5b343058dd8bac3c118ec25af809662f9e0a0

Patch Set 1 #

Total comments: 18

Patch Set 2 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+680 lines, -622 lines) Patch
M pkg/compiler/lib/compiler.dart View 2 chunks +22 lines, -20 lines 0 comments Download
A pkg/compiler/lib/compiler_new.dart View 1 1 chunk +179 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/apiimpl.dart View 1 7 chunks +8 lines, -8 lines 0 comments Download
M pkg/compiler/lib/src/compiler.dart View 5 chunks +5 lines, -26 lines 0 comments Download
M pkg/compiler/lib/src/dart2js.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/dart2jslib.dart View 2 chunks +2 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/mirrors/analyze.dart View 2 chunks +11 lines, -9 lines 0 comments Download
A pkg/compiler/lib/src/null_compiler_output.dart View 1 chunk +40 lines, -0 lines 0 comments Download
A pkg/compiler/lib/src/old_to_new_api.dart View 1 1 chunk +52 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/source_file_provider.dart View 1 6 chunks +18 lines, -6 lines 0 comments Download
M pkg/dart2js_incremental/lib/caching_compiler.dart View 1 chunk +3 lines, -3 lines 0 comments Download
M pkg/dart2js_incremental/lib/compiler.dart View 3 chunks +12 lines, -4 lines 0 comments Download
M pkg/dart2js_incremental/lib/dart2js_incremental.dart View 2 chunks +8 lines, -8 lines 0 comments Download
M pkg/docgen/lib/src/generator.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/analyze_helper.dart View 1 3 chunks +8 lines, -6 lines 0 comments Download
M tests/compiler/dart2js/bad_loop_test.dart View 2 chunks +9 lines, -7 lines 0 comments Download
M tests/compiler/dart2js/bad_output_io_test.dart View 1 1 chunk +4 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/codegen_helper.dart View 2 chunks +4 lines, -4 lines 0 comments Download
M tests/compiler/dart2js/deferred_custom_element_test.dart View 1 chunk +4 lines, -23 lines 0 comments Download
M tests/compiler/dart2js/deferred_dont_inline_deferred_constants_test.dart View 2 chunks +13 lines, -47 lines 0 comments Download
M tests/compiler/dart2js/deferred_dont_inline_deferred_globals_test.dart View 2 chunks +11 lines, -45 lines 0 comments Download
M tests/compiler/dart2js/deferred_emit_type_checks_test.dart View 1 chunk +10 lines, -18 lines 0 comments Download
M tests/compiler/dart2js/deferred_follow_constant_dependencies_test.dart View 1 chunk +3 lines, -23 lines 0 comments Download
M tests/compiler/dart2js/deferred_inline_restrictions_test.dart View 2 chunks +11 lines, -45 lines 0 comments Download
M tests/compiler/dart2js/deferred_load_graph_segmentation2_test.dart View 1 chunk +4 lines, -23 lines 0 comments Download
M tests/compiler/dart2js/deferred_load_graph_segmentation_test.dart View 1 chunk +6 lines, -29 lines 0 comments Download
M tests/compiler/dart2js/deferred_not_in_main_test.dart View 1 chunk +5 lines, -27 lines 0 comments Download
M tests/compiler/dart2js/diagnose_ambiguous_test.dart View 1 chunk +16 lines, -27 lines 0 comments Download
M tests/compiler/dart2js/exit_code_test.dart View 4 chunks +34 lines, -30 lines 0 comments Download
M tests/compiler/dart2js/incremental/compile_all.dart View 2 chunks +5 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/incremental/hello_test.dart View 2 chunks +7 lines, -4 lines 0 comments Download
M tests/compiler/dart2js/library_resolution_test.dart View 5 chunks +12 lines, -12 lines 0 comments Download
M tests/compiler/dart2js/memory_compiler.dart View 1 7 chunks +72 lines, -34 lines 0 comments Download
M tests/compiler/dart2js/memory_source_file_helper.dart View 1 chunk +3 lines, -0 lines 0 comments Download
M tests/compiler/dart2js/message_kind_helper.dart View 2 chunks +3 lines, -1 line 0 comments Download
M tests/compiler/dart2js/mirror_tree_shaking_test.dart View 1 chunk +11 lines, -38 lines 0 comments Download
M tests/compiler/dart2js/mirrors_test.dart View 1 chunk +1 line, -2 lines 0 comments Download
M tests/compiler/dart2js/mirrors_used_test.dart View 2 chunks +5 lines, -1 line 0 comments Download
M tests/compiler/dart2js/missing_file_test.dart View 2 chunks +13 lines, -41 lines 0 comments Download
M tests/compiler/dart2js/mock_compiler.dart View 2 chunks +2 lines, -1 line 0 comments Download
M tests/compiler/dart2js/output_collector.dart View 3 chunks +23 lines, -4 lines 0 comments Download
M tests/compiler/dart2js/sourcemaps/sourcemap_helper.dart View 1 3 chunks +7 lines, -4 lines 0 comments Download
M tests/compiler/dart2js/unneeded_part_js_test.dart View 1 chunk +11 lines, -34 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
Johnni Winther
5 years, 5 months ago (2015-07-13 15:34:25 UTC) #2
Siggi Cherem (dart-lang)
nice! https://codereview.chromium.org/1235563003/diff/1/pkg/compiler/lib/compiler_new.dart File pkg/compiler/lib/compiler_new.dart (right): https://codereview.chromium.org/1235563003/diff/1/pkg/compiler/lib/compiler_new.dart#newcode57 pkg/compiler/lib/compiler_new.dart:57: EventSink<String> createEventSink(String name, String extension); EventSink seems like ...
5 years, 5 months ago (2015-07-13 17:28:37 UTC) #4
Johnni Winther
https://codereview.chromium.org/1235563003/diff/1/pkg/compiler/lib/compiler_new.dart File pkg/compiler/lib/compiler_new.dart (right): https://codereview.chromium.org/1235563003/diff/1/pkg/compiler/lib/compiler_new.dart#newcode57 pkg/compiler/lib/compiler_new.dart:57: EventSink<String> createEventSink(String name, String extension); On 2015/07/13 17:28:37, Siggi ...
5 years, 5 months ago (2015-07-13 17:45:19 UTC) #5
Siggi Cherem (dart-lang)
https://codereview.chromium.org/1235563003/diff/1/pkg/compiler/lib/compiler_new.dart File pkg/compiler/lib/compiler_new.dart (right): https://codereview.chromium.org/1235563003/diff/1/pkg/compiler/lib/compiler_new.dart#newcode84 pkg/compiler/lib/compiler_new.dart:84: final compiler; On 2015/07/13 17:45:19, Johnni Winther wrote: > ...
5 years, 5 months ago (2015-07-13 18:08:06 UTC) #6
floitsch
LGTM. https://codereview.chromium.org/1235563003/diff/1/pkg/compiler/lib/compiler_new.dart File pkg/compiler/lib/compiler_new.dart (right): https://codereview.chromium.org/1235563003/diff/1/pkg/compiler/lib/compiler_new.dart#newcode144 pkg/compiler/lib/compiler_new.dart:144: /// If the compilation fails, the future's `CompilationResult.isSuccess` ...
5 years, 5 months ago (2015-07-13 18:16:49 UTC) #7
Johnni Winther
https://codereview.chromium.org/1235563003/diff/1/pkg/compiler/lib/compiler_new.dart File pkg/compiler/lib/compiler_new.dart (right): https://codereview.chromium.org/1235563003/diff/1/pkg/compiler/lib/compiler_new.dart#newcode144 pkg/compiler/lib/compiler_new.dart:144: /// If the compilation fails, the future's `CompilationResult.isSuccess` will ...
5 years, 5 months ago (2015-07-13 19:02:22 UTC) #8
Johnni Winther
Committed patchset #2 (id:20001) manually as 0da5b343058dd8bac3c118ec25af809662f9e0a0 (presubmit successful).
5 years, 5 months ago (2015-07-13 19:15:34 UTC) #9
Siggi Cherem (dart-lang)
5 years, 5 months ago (2015-07-13 19:18:35 UTC) #10
Message was sent while issue was closed.
lgtm too

Powered by Google App Engine
This is Rietveld 408576698