[dart-lang/sdk] 1f8a2f: [dart2wasm] Enable --gufa also in deferred loading...

0 views
Skip to first unread message

Martin Kustermann

unread,
Jun 18, 2026, 6:32:15 AM (yesterday) Jun 18
to com...@dartlang.org
Branch: refs/heads/main
Home: https://github.com/dart-lang/sdk
Commit: 1f8a2f25048f47c530a547db69e4fe4f90262ace
https://github.com/dart-lang/sdk/commit/1f8a2f25048f47c530a547db69e4fe4f90262ace
Author: Martin Kustermann <kuste...@google.com>
Date: 2026-06-18 (Thu, 18 Jun 2026)

Changed paths:
M DEPS
M pkg/dart2wasm/lib/compile.dart
M pkg/dart2wasm/test/ir_tests/deferred.init_at_startup_module1.wat
M pkg/dart2wasm/test/ir_tests/deferred.type_checks_module1.wat

Log Message:
-----------
[dart2wasm] Enable --gufa also in deferred loading scenario

This gives around -0.3% in compressed/uncompressed of e main module.

The GUFA pass in binaryen no longer requires closed world assumptions.
So we can enable it in the deferred loading case where we currently
optimize individual modules independently.

See discussion in [0].

[0] https://github.com/WebAssembly/binaryen/issues/8691

Change-Id: I8c2d15d78831de7cb204fbc0cf5462d4a5ac2e6b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/504200
Reviewed-by: Srujan Gaddam <sru...@google.com>
Commit-Queue: Martin Kustermann <kuste...@google.com>



To unsubscribe from these emails, change your notification settings at https://github.com/dart-lang/sdk/settings/notifications

Martin Kustermann

unread,
Jun 18, 2026, 7:15:13 AM (yesterday) Jun 18
to com...@dartlang.org
Branch: refs/heads/lkgr
Reply all
Reply to author
Forward
0 new messages