f32057642b
This reduces e main module size by ~ 0.5-1% When compiling with deferred loading, we optimize each module individually with open world assumptions. Currently we run only one -Os pass which leaves code behind that can be optimized by another -Os. See e.g. discussion at [0]. The additional -Os pass is much faster than the first, so it doesn't add meaningful compile-time. [0] https://github.com/WebAssembly/binaryen/issues/8077 Change-Id: Id8c5e49d97439e28b2f7d9c5a0c206eec0893cad Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/490101 Reviewed-by: Srujan Gaddam <srujzs@google.com> Commit-Queue: Martin Kustermann <kustermann@google.com>