Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reland "[vm/aot] Enable tree-shaking of write-only fields by default"
This is a reland of 9c50efc There are no changes to the original CL. Fixes for bugs revealed by this change are in separate CLs: * Crash in disassembler https://dart-review.googlesource.com/c/sdk/+/148942 * Crash in --print_instructions_sizes_to https://dart-review.googlesource.com/c/sdk/+/149043 Original change's description: > [vm/aot] Enable tree-shaking of write-only fields by default > > Tree-shaking of write only fields is implemented in > https://dart-review.googlesource.com/c/sdk/+/143286 > This change just enables it by default. > > Flutter gallery in release mode > armv7 app.so size -0.41% (gzip -0.24%, brotli -0.20%) > armv8 app.so size -0.38% (gzip -0.23%, brotli -0.29%) > > Issue: #35310 > > Change-Id: Iaae3e893b4a6bf4d468d6cd05aba5f8ee8810afc > Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/148543 > Reviewed-by: Ryan Macnak <[email protected]> > Commit-Queue: Alexander Markov <[email protected]> Change-Id: I609db3fec8b0798f55aa2067127dfdc90a21ead4 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/149044 Reviewed-by: Vyacheslav Egorov <[email protected]> Reviewed-by: Martin Kustermann <[email protected]> Commit-Queue: Alexander Markov <[email protected]>
- Loading branch information