-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[wasm_builder] Remove array.new_data handling in global sections
As of 2025/05/14, `array.new_data` is not a constant instruction, so can't be used in a global initializer. Also, data count section needs to appear right before the code section. Without `array.new_data` we don't need to generate it before the global section. Remove the code related to handling `array.new_data` in global sections. When `array.new_data` becomes constant, we can generate the data count section in its new place always, without having to specially handle it when it's used in a global section. Change-Id: If11824e171d7f21848e82c102f0a4e8257f02c6f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/366341 Reviewed-by: Martin Kustermann <kustermann@google.com> Commit-Queue: Ömer Ağacan <omersa@google.com>
- Loading branch information
Showing
4 changed files
with
5 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters