7933cd741d
Use a pinned HTypeKnown on the receiver of the HInstanceEnvironment to pin the type expression. When the the receiver has a wider type that is legal for the type expression, this keeps the type expression at a location where it is valid. Type expressions can still be hoisted if the HTypeKnown is redundant and optimized away. Bug: #54329 Change-Id: Iae378f9d517e3e22deca198195cad9811cf37772 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/344841 Reviewed-by: Mayank Patke <fishythefish@google.com> Commit-Queue: Stephen Adams <sra@google.com>