-
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.
[vm/constants-2019] Fix crashing VM by ensuring constants table is pr…
…eserved across snapshots When constants are lazily created in VM from the constants table present in the Kernel file, we have to ensure to preserve the constants table across snapshot serialization/deserialization. Also there is no need to use zone handles in the constant evaluator for local handles. Also removes some commented code and adds an assertion that we never try to partially instantiate a closure with non-null function type arguments. Issue #37357 Change-Id: I49588fd18d981b7aa07c61e845cd2e2161b122bf Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/107283 Commit-Queue: Martin Kustermann <[email protected]> Auto-Submit: Martin Kustermann <[email protected]> Reviewed-by: Alexander Markov <[email protected]>
- Loading branch information
1 parent
9de3e7c
commit fe37377
Showing
2 changed files
with
53 additions
and
59 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