-
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.
Revert "Account for @pragma("vm:entry-point") creating additional "ro…
…ot" libraries when partitioning the program into loading units." This reverts commit 9c2a91f. Reason for revert: breaks google3 (b/237016312) Original change's description: > Account for @pragma("vm:entry-point") creating additional "root" libraries when partitioning the program into loading units. > > If a library contained an entry point but was not reachable from the root library, it was not assigned to any loading unit and caused a null dereference in gen_snapshot. This is not possible with the standalone embedder, but is possible in Flutter because it passes multiple sources to frontend_server. E.g., `--source dart_plugin_registrant.dart`. > > TEST=gallery > Bug: flutter/gallery#545 > Change-Id: I9c67f0e39f7509094ee873610d80851a702a0cf2 > Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/249640 > Reviewed-by: Alexander Markov <alexmarkov@google.com> > Commit-Queue: Ryan Macnak <rmacnak@google.com> TBR=rmacnak@google.com,alexmarkov@google.com Change-Id: I3e17bf29b8f29e4797abfca35fa82b9ca3b5a160 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: flutter/gallery#545 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/249681 Reviewed-by: Daco Harkes <dacoharkes@google.com> Commit-Queue: Emmanuel Pellereau <emmanuelp@google.com> Reviewed-by: Emmanuel Pellereau <emmanuelp@google.com>
- Loading branch information
1 parent
d9d7d30
commit c13f7b0
Showing
4 changed files
with
8 additions
and
69 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
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