13aaaae1b2
This is the first step towards optimizing typed data array allocations, which is useful for e.g. package:vector_math. Opaque call to a typed data factory constructor is replaced with IL instruction which doesn't have side-effects and doesn't prevent other optimizations (e.g. load forwarding) from happening. Asm intrinsics for typed data factories are replaced with stubs. Issue: https://github.com/dart-lang/sdk/issues/43228 Change-Id: Icc7d4863f2f94ea5d8bb4620d041f7b6fe664098 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/161840 Commit-Queue: Alexander Markov <alexmarkov@google.com> Reviewed-by: Vyacheslav Egorov <vegorov@google.com> Reviewed-by: Martin Kustermann <kustermann@google.com>