diff options
author | Alon Zakai <azakai@google.com> | 2022-06-16 16:51:07 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-16 16:51:07 -0700 |
commit | 4a4c9eb87a5e26a86c048529ae19c1f539f949d7 (patch) | |
tree | 8679d45e9e2c3adf428d7747390347bd819facbe /CHANGELOG.md | |
parent | ce2fc89d66d652c67768be3ddec597f499093f02 (diff) | |
download | binaryen-4a4c9eb87a5e26a86c048529ae19c1f539f949d7.tar.gz binaryen-4a4c9eb87a5e26a86c048529ae19c1f539f949d7.tar.bz2 binaryen-4a4c9eb87a5e26a86c048529ae19c1f539f949d7.zip |
Add changelog entry for --zero-filled-memory / 3306 (#4735)
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 549938d30..6282a03c6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -168,6 +168,13 @@ v100 v99 --- +- Fix optimization behavior on assuming memory is zero-filled. We made that + assumption before, but it is incorrect in general, which caused problems. + The fixed behavior is to not assume it, but require the user to pass it in as + a flag, `--zero-filled-memory`. Large binaries with lots of empty bytes in the + data section may regress without that flag. Toolchains like Emscripten can + pass the flag automatically for users if they know it is right to assume, + which can avoid any regressions. (#3306) - `RefFunc` C and JS API constructors (`BinaryenRefFunc` and `ref.func` respectively) now take an extra `type` parameter, similar to `RefNull`. This is necessary for typed function references support. |