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

Issue 2684943003: [Kernel] Enable Kernel Isolate to use Fasta instead of DartK. (Closed)

Created:
3 years, 10 months ago by Vyacheslav Egorov (Google)
Modified:
3 years, 10 months ago
Reviewers:
ahe, kustermann
CC:
reviews_dartlang.org, dart-fe-team+reviews_google.com
Target Ref:
refs/heads/master
Visibility:
Public.

Description

[Kernel] Enable Kernel Isolate to use Fasta instead of DartK. We are not switching yet, but now everybody can try fasta by doing: $ dart -DDFE_USE_FASTA=true --dfe=utils/kernel-service.dart hello.dart Note that when using fasta we expect that patched_sdk contains platform.dill Kernel binary containing compiled patched sdk. This file can be obtained by doing: $ export DART_AOT_SDK=<path-to-patched_sdk> $ dart pkg/front_end/lib/src/fasta/bin/compile_platform.dart \ ${DART_AOT_SDK}/platform.dill We are also adding --use-fasta to testing script to allow end-to-end testing of fasta (though platform.dill file needs to be generated manually prior to running tests): $ tools/test.py -c dartk -m release -a x64 --nobatch --use-fasta Current test status: $ tools/test.py -c dartk -m release -a x64 --nobatch --use-fasta [27:34 | 100% | +12566 | - 1941] BUG= R=ahe@google.com, kustermann@google.com Committed: https://github.com/dart-lang/sdk/commit/d5a11f3d340fd4c2686c1e2c7489c32d5dbb2605

Patch Set 1 #

Patch Set 2 : Done #

Total comments: 23

Patch Set 3 : In progress #

Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -49 lines) Patch
M tools/testing/dart/compiler_configuration.dart View 5 chunks +16 lines, -6 lines 0 comments Download
M tools/testing/dart/runtime_configuration.dart View 1 chunk +1 line, -1 line 0 comments Download
M tools/testing/dart/test_options.dart View 1 chunk +4 lines, -1 line 0 comments Download
M utils/kernel-service/kernel-service.dart View 1 2 5 chunks +83 lines, -41 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
Vyacheslav Egorov (Google)
PTAL
3 years, 10 months ago (2017-02-08 13:57:49 UTC) #2
ahe
lgtm Thank you! https://codereview.chromium.org/2684943003/diff/20001/utils/kernel-service/kernel-service.dart File utils/kernel-service/kernel-service.dart (right): https://codereview.chromium.org/2684943003/diff/20001/utils/kernel-service/kernel-service.dart#newcode38 utils/kernel-service/kernel-service.dart:38: // Nit: this comment should probably ...
3 years, 10 months ago (2017-02-08 14:13:08 UTC) #3
kustermann
lgtm https://codereview.chromium.org/2684943003/diff/20001/utils/kernel-service/kernel-service.dart File utils/kernel-service/kernel-service.dart (right): https://codereview.chromium.org/2684943003/diff/20001/utils/kernel-service/kernel-service.dart#newcode146 utils/kernel-service/kernel-service.dart:146: no 2 line requirement here :) https://codereview.chromium.org/2684943003/diff/20001/utils/kernel-service/kernel-service.dart#newcode162 utils/kernel-service/kernel-service.dart:162: ...
3 years, 10 months ago (2017-02-08 15:10:41 UTC) #4
Vyacheslav Egorov (Google)
Thanks for the review! https://codereview.chromium.org/2684943003/diff/20001/utils/kernel-service/kernel-service.dart File utils/kernel-service/kernel-service.dart (right): https://codereview.chromium.org/2684943003/diff/20001/utils/kernel-service/kernel-service.dart#newcode38 utils/kernel-service/kernel-service.dart:38: // On 2017/02/08 14:13:08, ahe ...
3 years, 10 months ago (2017-02-08 15:46:19 UTC) #5
Vyacheslav Egorov (Google)
3 years, 10 months ago (2017-02-08 15:48:39 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
d5a11f3d340fd4c2686c1e2c7489c32d5dbb2605 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698