Commit Graph

8 Commits

Author SHA1 Message Date
Nate Biggs fc88f6f20b [dart2js] Migrate test/custom_split for null safety migration.
Change-Id: I30a93071dac20c62e96a73fa65b845b64d7f796c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/279301
Reviewed-by: Mayank Patke <fishythefish@google.com>
2023-01-23 06:02:51 +00:00
Stephen Adams 5c2ca380a4 [dart2js] Tag all sources with @dart = 2.10
Change-Id: Ie9c7548dc81b58db0c1149124db79e4cf1430cc1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/239723
Reviewed-by: Nate Biggs <natebiggs@google.com>
Reviewed-by: Joshua Litt <joshualitt@google.com>
Commit-Queue: Stephen Adams <sra@google.com>
2022-04-06 21:31:45 +00:00
Joshua Litt f6ebe80d26 [dart2js] Refactor program split constraint's Fuse node.
This cl makes Fuse an unnamed ordering node, and allows ors / ands
within the fuse. For examples of the benefits of this new Fuse, please
see:
pkg/compiler/test/custom_split/data/fuse_with_and/main.dart
and
pkg/compiler/test/custom_split/data/fuse_with_or/main.dart

Change-Id: I5076abcd617d138b03dc8944737c61645e42e038
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/228685
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Commit-Queue: Joshua Litt <joshualitt@google.com>
2022-01-26 18:03:58 +00:00
Joshua Litt 0310c8e233 Reland "[dart2js] Address some feedback on constraints API."
This is a reland of 851d821556

Original change's description:
> [dart2js] Address some feedback on constraints API.
>
> * Changes default namer to use the always unique uri#prefix of a
> deferred import.
> * Changes builder api for combiner nodes to take sets.
>
> Change-Id: Iab23db94a166560682a8c2bd4a78ebfd3e734353
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/218880
> Reviewed-by: Sigmund Cherem <sigmund@google.com>
> Commit-Queue: Joshua Litt <joshualitt@google.com>

Change-Id: I6394166be1f3ddebe19cc71f70fa5f5b26e05231
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/219128
Commit-Queue: Joshua Litt <joshualitt@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2021-11-04 21:47:46 +00:00
Joshua Litt efa5a003f0 Revert "[dart2js] Address some feedback on constraints API."
This reverts commit 851d821556.

Reason for revert: Breaks release

Original change's description:
> [dart2js] Address some feedback on constraints API.
>
> * Changes default namer to use the always unique uri#prefix of a
> deferred import.
> * Changes builder api for combiner nodes to take sets.
>
> Change-Id: Iab23db94a166560682a8c2bd4a78ebfd3e734353
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/218880
> Reviewed-by: Sigmund Cherem <sigmund@google.com>
> Commit-Queue: Joshua Litt <joshualitt@google.com>

TBR=sigmund@google.com,joshualitt@google.com

Change-Id: Idb0d79221ff005127276c0d616c9a6a04ad09f44
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/219127
Reviewed-by: Joshua Litt <joshualitt@google.com>
Commit-Queue: Joshua Litt <joshualitt@google.com>
2021-11-03 22:19:15 +00:00
Joshua Litt 851d821556 [dart2js] Address some feedback on constraints API.
* Changes default namer to use the always unique uri#prefix of a
deferred import.
* Changes builder api for combiner nodes to take sets.

Change-Id: Iab23db94a166560682a8c2bd4a78ebfd3e734353
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/218880
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Commit-Queue: Joshua Litt <joshualitt@google.com>
2021-11-03 18:47:17 +00:00
Joshua Litt 39386e58d4 [dart2js] Create building blocks for programmatic constraint api.
Change-Id: Ida50217c48c39fe222589aa227ac65691a8fc982
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/216684
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Commit-Queue: Joshua Litt <joshualitt@google.com>
2021-10-26 19:38:31 +00:00
Joshua Litt 663eab5565 [dart2js] Initial support for program split constraints.
Change-Id: I7e227e05d98a27a5d38386777f94ee0f4905dcde
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/206322
Commit-Queue: Joshua Litt <joshualitt@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2021-09-01 19:50:56 +00:00