[dart2wasm] Update Binaryen

New version supports final encodings used in [1], `array.fill` used in
[2], and updates some other encodings to match V8, as noted in [3].

[1]: https://dart-review.googlesource.com/c/sdk/+/310163
[2]: https://dart-review.googlesource.com/c/sdk/+/315120
[3]: https://dart-review.googlesource.com/c/sdk/+/310560

Change-Id: Ib5627f02327a1301909fd7708856a6f726234293
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/312800
Commit-Queue: Ömer Ağacan <omersa@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
This commit is contained in:
Ömer Sinan Ağacan 2023-07-21 08:42:49 +00:00 committed by Commit Queue
parent cc257d8f4f
commit b45d62959f
2 changed files with 7 additions and 1 deletions

2
DEPS
View file

@ -91,7 +91,7 @@ vars = {
### /third_party/ dependencies
# Prefer to use hashes of binaryen that have been reviewed & rolled into g3.
"binaryen_rev" : "b9b5f162ca8bf5b899ff0f0351491d7d403d7ed9",
"binaryen_rev" : "cdb7aeab40b4c522de20b242019f7e88641445d5",
"boringssl_gen_rev": "a468ba9fec3f59edf46a7db98caaca893e1e4d96",
"boringssl_rev": "74646566e93de7551bfdfc5f49de7462f13d1d05",
"browser-compat-data_tag": "ac8cae697014da1ff7124fba33b0b4245cc6cd1b", # v1.0.22

View file

@ -10,6 +10,12 @@ config("binaryen_warnings") {
} else if (!is_win) {
cflags = [ "-Wno-unused-variable" ]
}
if (!is_clang) {
# Bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86465#c16 triggered by
# https://github.com/WebAssembly/binaryen/blob/cdb7aeab40b4c522de20b242019f7e88641445d5/src/wasm/wasm-type.cpp#L530.
cflags += [ "-Wno-maybe-uninitialized" ]
}
}
action("generate_needed_files") {