0231b2ae1f
After the switch to the new type system more code is unnecessary. - Clean up logic for deferring classes because the new type system allows us to flatten the search to just the immediate superclass. - Delete more `emit<xxx>Type` helper methods. - Further differentiate emitting a Type vs a reference to a Class. Fixes: https://github.com/dart-lang/sdk/issues/54745 Change-Id: Ia6e1accb4c9c993967cd5444c18c65938954f7d9 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/348766 Commit-Queue: Nicholas Shahan <nshahan@google.com> Reviewed-by: Mark Zhou <markzipan@google.com>