afa22dd1ab
This optimization does not make sense in AOT and can actually cause AOT compiler to segfault because it expects environment to be attached to AssertAssignable instructions which is not always the case on AOT compiler. Fixes https://github.com/flutter/flutter/issues/76919 TEST=vm/cc/TypePropagator_RegressFlutter76919,vm/dart{,_2}/regress_flutter76919 Cq-Include-Trybots: luci.dart.try:vm-kernel-precomp-linux-product-x64-try,vm-kernel-precomp-linux-release-x64-try Change-Id: I8f4314d7dac276833a9050bba835616b670a88d5 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/188281 Reviewed-by: Martin Kustermann <kustermann@google.com> Commit-Queue: Vyacheslav Egorov <vegorov@google.com>