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

Issue 2671653003: Split the Kernel transformations into modular and global ones (Closed)

Created:
3 years, 10 months ago by Kevin Millikin (Google)
Modified:
3 years, 10 months ago
Reviewers:
asgerf
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Split the Kernel transformations into modular and global ones Target-specific modular transformations have to be able to cope with external libraries. Target-specific global transformations should be optimizations, and not required for correctness, since a simple linker may choose not to perform them. Make mixin resolution modular by making it fail when a mixed-in class comes from an external library. (We cannot mix in such a class because we do not necessarily have all class members.) R=asgerf@google.com Committed: https://github.com/dart-lang/sdk/commit/3057283f0cb329c8caf499c92a69e95e1066d636

Patch Set 1 #

Patch Set 2 : Revert inadvertent change #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -14 lines) Patch
M pkg/kernel/bin/dartk.dart View 1 chunk +6 lines, -2 lines 0 comments Download
M pkg/kernel/lib/target/flutter.dart View 1 chunk +4 lines, -1 line 2 comments Download
M pkg/kernel/lib/target/targets.dart View 2 chunks +14 lines, -2 lines 0 comments Download
M pkg/kernel/lib/target/vm.dart View 2 chunks +11 lines, -5 lines 0 comments Download
M pkg/kernel/lib/target/vmcc.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/kernel/lib/transformations/mixin_full_resolution.dart View 3 chunks +10 lines, -0 lines 0 comments Download
M utils/kernel-service/kernel-service.dart View 1 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
Kevin Millikin (Google)
3 years, 10 months ago (2017-02-02 09:27:06 UTC) #2
asgerf
lgtm https://codereview.chromium.org/2671653003/diff/20001/pkg/kernel/lib/target/flutter.dart File pkg/kernel/lib/target/flutter.dart (right): https://codereview.chromium.org/2671653003/diff/20001/pkg/kernel/lib/target/flutter.dart#newcode57 pkg/kernel/lib/target/flutter.dart:57: void performGlobalTransformations(Program program) { The transformations here are ...
3 years, 10 months ago (2017-02-02 11:46:00 UTC) #3
Kevin Millikin (Google)
Thanks for the review. https://codereview.chromium.org/2671653003/diff/20001/pkg/kernel/lib/target/flutter.dart File pkg/kernel/lib/target/flutter.dart (right): https://codereview.chromium.org/2671653003/diff/20001/pkg/kernel/lib/target/flutter.dart#newcode57 pkg/kernel/lib/target/flutter.dart:57: void performGlobalTransformations(Program program) { On ...
3 years, 10 months ago (2017-02-02 12:03:48 UTC) #4
Kevin Millikin (Google)
3 years, 10 months ago (2017-02-02 12:08:35 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
3057283f0cb329c8caf499c92a69e95e1066d636 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698