9dcb026b26
This change renames Class::is_cycle_free to Class::is_declaration_loaded and under the hood replaces cycle_free and type_finalized bits with class loading state enum. Also, added new assertions to check is_declaration_loaded(). Change-Id: Ib43e12731d0dc782e273be8e55912494e102cd79 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/104920 Reviewed-by: Régis Crelier <regis@google.com> Commit-Queue: Alexander Markov <alexmarkov@google.com>