b7de866bee
Canonical hashes are only stored during a round of canonicalization to avoid expontential time in cases such as those in tests/language_2/canonicalization_hasing_*. Clearing them avoids the GC spending time to visit them. Bug: https://github.com/dart-lang/sdk/issues/37523 Change-Id: Icad1fad30dcb7eb95864bea8a26991aeccd7adc6 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/125760 Reviewed-by: Alexander Markov <alexmarkov@google.com> Reviewed-by: Siva Annamalai <asiva@google.com> Commit-Queue: Ryan Macnak <rmacnak@google.com>