c9ebc7c13f
Cloning of InstanceInvocation kernel ast nodes was dropping the isInvariant and isBoundSafe flags, causing the nested List.generate expansion to not be as well optimized. `-O3` and `-O4` were 'hiding' the problem by removing the checks anyway. Change-Id: Id20f2eb4ef5396691a2dd5cbdd847e2d361a21d0 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/209442 Commit-Queue: Stephen Adams <sra@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com>