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

Issue 2624193003: Work in progress: front end hot reload API (Closed)

Created:
3 years, 11 months ago by Paul Berry
Modified:
3 years, 11 months ago
Reviewers:
scheglov, danrubel
CC:
reviews_dartlang.org, danrubel
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Initial implementation of front_end hot reload API. This implementation is based on the existing kernel and analysis driver logic, using proxy classes to account for interface incompatibilities between those components. In future CLs, I hope we can (a) move the necessary analysis driver logic into front_end, and (b) reduce or eliminate the number of proxy classes needed. This CL represents the very first inklings of functionality; all that is confirmed to work at this point is compilation of a single source file containing an empty `main` method. R=danrubel@google.com, scheglov@google.com Committed: https://github.com/dart-lang/sdk/commit/05a417034ad69d77dc0ee606a6aa0268b100757c

Patch Set 1 #

Patch Set 2 : First steel thread of functionality. #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+812 lines, -25 lines) Patch
M pkg/analyzer/lib/src/summary/package_bundle_reader.dart View 1 2 chunks +3 lines, -23 lines 0 comments Download
A pkg/front_end/lib/incremental_kernel_generator.dart View 1 1 chunk +92 lines, -0 lines 2 comments Download
A pkg/front_end/lib/incremental_resolved_ast_generator.dart View 1 1 chunk +104 lines, -0 lines 2 comments Download
M pkg/front_end/lib/src/base/source.dart View 1 1 chunk +27 lines, -0 lines 0 comments Download
A pkg/front_end/lib/src/incremental_kernel_generator_impl.dart View 1 1 chunk +143 lines, -0 lines 0 comments Download
A pkg/front_end/lib/src/incremental_resolved_ast_generator_impl.dart View 1 1 chunk +279 lines, -0 lines 0 comments Download
A pkg/front_end/test/incremental_kernel_generator_test.dart View 1 1 chunk +83 lines, -0 lines 0 comments Download
A pkg/front_end/test/incremental_resolved_ast_generator_test.dart View 1 1 chunk +79 lines, -0 lines 0 comments Download
M pkg/kernel/lib/analyzer/loader.dart View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
Paul Berry
Not ready to review yet. Just publishing so that we can discuss.
3 years, 11 months ago (2017-01-11 17:24:15 UTC) #1
Paul Berry
3 years, 11 months ago (2017-01-15 22:47:03 UTC) #4
scheglov
lgtm https://codereview.chromium.org/2624193003/diff/20001/pkg/front_end/lib/incremental_kernel_generator.dart File pkg/front_end/lib/incremental_kernel_generator.dart (right): https://codereview.chromium.org/2624193003/diff/20001/pkg/front_end/lib/incremental_kernel_generator.dart#newcode21 pkg/front_end/lib/incremental_kernel_generator.dart:21: final Map<Uri, Program> newState; Program? I don't know ...
3 years, 11 months ago (2017-01-16 19:24:58 UTC) #5
danrubel
LGTM.
3 years, 11 months ago (2017-01-17 01:41:56 UTC) #6
Paul Berry
https://codereview.chromium.org/2624193003/diff/20001/pkg/front_end/lib/incremental_kernel_generator.dart File pkg/front_end/lib/incremental_kernel_generator.dart (right): https://codereview.chromium.org/2624193003/diff/20001/pkg/front_end/lib/incremental_kernel_generator.dart#newcode21 pkg/front_end/lib/incremental_kernel_generator.dart:21: final Map<Uri, Program> newState; On 2017/01/16 19:24:58, scheglov wrote: ...
3 years, 11 months ago (2017-01-17 13:45:31 UTC) #7
Paul Berry
3 years, 11 months ago (2017-01-17 14:10:12 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
05a417034ad69d77dc0ee606a6aa0268b100757c (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698