diff options
author | Alon Zakai <azakai@google.com> | 2019-05-02 13:09:18 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-02 13:09:18 -0700 |
commit | b394fcc887dbb2e02b5ff5b307004e4dc7ec2baf (patch) | |
tree | 0610ee3fea56d492adef79345bae271e8be3b334 /test/wasm2js/switch.2asm.js | |
parent | 01a4bfdb5c28d54fd480d603cba2d35c943a0bf5 (diff) | |
download | binaryen-b394fcc887dbb2e02b5ff5b307004e4dc7ec2baf.tar.gz binaryen-b394fcc887dbb2e02b5ff5b307004e4dc7ec2baf.tar.bz2 binaryen-b394fcc887dbb2e02b5ff5b307004e4dc7ec2baf.zip |
Optimize mutable globals (#2066)
If a global is marked mutable but not assigned to, make it immutable.
If an immutable global is a copy of another, use the original, so we can remove the duplicates.
Fixes #2011
Diffstat (limited to 'test/wasm2js/switch.2asm.js')
0 files changed, 0 insertions, 0 deletions