-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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>
- Loading branch information
1 parent
89ccda0
commit 851d821
Showing
14 changed files
with
156 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 13 additions & 13 deletions
26
pkg/compiler/test/custom_split/data/diamond/constraints.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,42 @@ | ||
[ | ||
{ | ||
"type": "reference", | ||
"name": "step1", | ||
"name": "memory:sdk/tests/web/native/main.dart#step1", | ||
"import": "memory:sdk/tests/web/native/main.dart#step1" | ||
}, | ||
{ | ||
"type": "reference", | ||
"name": "step2a", | ||
"name": "memory:sdk/tests/web/native/main.dart#step2a", | ||
"import": "memory:sdk/tests/web/native/main.dart#step2a" | ||
}, | ||
{ | ||
"type": "reference", | ||
"name": "step2b", | ||
"name": "memory:sdk/tests/web/native/main.dart#step2b", | ||
"import": "memory:sdk/tests/web/native/main.dart#step2b" | ||
}, | ||
{ | ||
"type": "reference", | ||
"name": "step3", | ||
"name": "memory:sdk/tests/web/native/main.dart#step3", | ||
"import": "memory:sdk/tests/web/native/main.dart#step3" | ||
}, | ||
{ | ||
"type": "order", | ||
"predecessor": "step1", | ||
"successor": "step2a" | ||
"predecessor": "memory:sdk/tests/web/native/main.dart#step1", | ||
"successor": "memory:sdk/tests/web/native/main.dart#step2a" | ||
}, | ||
{ | ||
"type": "order", | ||
"predecessor": "step1", | ||
"successor": "step2b" | ||
"predecessor": "memory:sdk/tests/web/native/main.dart#step1", | ||
"successor": "memory:sdk/tests/web/native/main.dart#step2b" | ||
}, | ||
{ | ||
"type": "order", | ||
"predecessor": "step2a", | ||
"successor": "step3" | ||
"predecessor": "memory:sdk/tests/web/native/main.dart#step2a", | ||
"successor": "memory:sdk/tests/web/native/main.dart#step3" | ||
}, | ||
{ | ||
"type": "order", | ||
"predecessor": "step2b", | ||
"successor": "step3" | ||
"predecessor": "memory:sdk/tests/web/native/main.dart#step2b", | ||
"successor": "memory:sdk/tests/web/native/main.dart#step3" | ||
} | ||
] | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 9 additions & 9 deletions
18
pkg/compiler/test/custom_split/data/diamond_and/constraints.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,40 @@ | ||
[ | ||
{ | ||
"type": "reference", | ||
"name": "step1", | ||
"name": "memory:sdk/tests/web/native/main.dart#step1", | ||
"import": "memory:sdk/tests/web/native/main.dart#step1" | ||
}, | ||
{ | ||
"type": "reference", | ||
"name": "step2a", | ||
"name": "memory:sdk/tests/web/native/main.dart#step2a", | ||
"import": "memory:sdk/tests/web/native/main.dart#step2a" | ||
}, | ||
{ | ||
"type": "reference", | ||
"name": "step2b", | ||
"name": "memory:sdk/tests/web/native/main.dart#step2b", | ||
"import": "memory:sdk/tests/web/native/main.dart#step2b" | ||
}, | ||
{ | ||
"type": "reference", | ||
"name": "step3", | ||
"name": "memory:sdk/tests/web/native/main.dart#step3", | ||
"import": "memory:sdk/tests/web/native/main.dart#step3" | ||
}, | ||
{ | ||
"type": "and", | ||
"name": "step2", | ||
"nodes": [ | ||
"step2a", | ||
"step2b" | ||
"memory:sdk/tests/web/native/main.dart#step2a", | ||
"memory:sdk/tests/web/native/main.dart#step2b" | ||
] | ||
}, | ||
{ | ||
"type": "order", | ||
"predecessor": "step1", | ||
"predecessor": "memory:sdk/tests/web/native/main.dart#step1", | ||
"successor": "step2" | ||
}, | ||
{ | ||
"type": "order", | ||
"predecessor": "step2", | ||
"successor": "step3" | ||
"successor": "memory:sdk/tests/web/native/main.dart#step3" | ||
} | ||
] | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 9 additions & 9 deletions
18
pkg/compiler/test/custom_split/data/diamond_fuse/constraints.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,40 @@ | ||
[ | ||
{ | ||
"type": "reference", | ||
"name": "step1", | ||
"name": "memory:sdk/tests/web/native/main.dart#step1", | ||
"import": "memory:sdk/tests/web/native/main.dart#step1" | ||
}, | ||
{ | ||
"type": "reference", | ||
"name": "step2a", | ||
"name": "memory:sdk/tests/web/native/main.dart#step2a", | ||
"import": "memory:sdk/tests/web/native/main.dart#step2a" | ||
}, | ||
{ | ||
"type": "reference", | ||
"name": "step2b", | ||
"name": "memory:sdk/tests/web/native/main.dart#step2b", | ||
"import": "memory:sdk/tests/web/native/main.dart#step2b" | ||
}, | ||
{ | ||
"type": "reference", | ||
"name": "step3", | ||
"name": "memory:sdk/tests/web/native/main.dart#step3", | ||
"import": "memory:sdk/tests/web/native/main.dart#step3" | ||
}, | ||
{ | ||
"type": "fuse", | ||
"name": "step2", | ||
"nodes": [ | ||
"step2a", | ||
"step2b" | ||
"memory:sdk/tests/web/native/main.dart#step2a", | ||
"memory:sdk/tests/web/native/main.dart#step2b" | ||
] | ||
}, | ||
{ | ||
"type": "order", | ||
"predecessor": "step1", | ||
"predecessor": "memory:sdk/tests/web/native/main.dart#step1", | ||
"successor": "step2" | ||
}, | ||
{ | ||
"type": "order", | ||
"predecessor": "step2", | ||
"successor": "step3" | ||
"successor": "memory:sdk/tests/web/native/main.dart#step3" | ||
} | ||
] | ||
] |
Oops, something went wrong.