f54c0a3b9b
- Use null instead of empty array for the initial constants set, as fields dropped during snapshot are populated with null. - Remove assumption that canonicalization will always be bottom-up. Deserialization clusters will cause canonicalization to be ordered by class instead of by depth. Bug: https://github.com/dart-lang/sdk/issues/41974 Change-Id: Ia3ab68281c783299e682f6c60a744c320c19e981 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/165160 Commit-Queue: Ryan Macnak <rmacnak@google.com> Reviewed-by: Régis Crelier <regis@google.com>