a02427fdf7
This CL uses exhaustive switch statement instead of chained if statements in the implementation of isSubtypeOf. In addition to that, all of the individual methods for computing isSubtypeOf for specific pairs of DartTypes are inlined into the switch statement. Change-Id: I425e8d415d07767313c6f1ff796f7715e35f10bf Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/382000 Commit-Queue: Chloe Stefantsova <cstefantsova@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com>