39719118a4
Ensure canonical clusters come first; prep for canonical objects in snapshot accounting for the possibility an existing canonical object may substitute for them. Bug: https://github.com/dart-lang/sdk/issues/41974 Change-Id: I8083f4130c359f0f86f73c25fa2869af672700e6 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/164250 Reviewed-by: Régis Crelier <regis@google.com> Commit-Queue: Ryan Macnak <rmacnak@google.com>