summaryrefslogtreecommitdiff
path: root/test/wasm2js/switch.2asm.js
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2019-05-02 13:09:18 -0700
committerGitHub <noreply@github.com>2019-05-02 13:09:18 -0700
commitb394fcc887dbb2e02b5ff5b307004e4dc7ec2baf (patch)
tree0610ee3fea56d492adef79345bae271e8be3b334 /test/wasm2js/switch.2asm.js
parent01a4bfdb5c28d54fd480d603cba2d35c943a0bf5 (diff)
downloadbinaryen-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