summaryrefslogtreecommitdiff
path: root/check.py
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2024-12-30 13:14:59 -0800
committerGitHub <noreply@github.com>2024-12-30 13:14:59 -0800
commit5611a528b2a3bcd37aedd863c6058f99095c9a35 (patch)
tree8b387e92b32756029137f2bc7fe56b29e7de6a13 /check.py
parent6ddacde514af7cc546caa07fede4baa3e429c33c (diff)
downloadbinaryen-main.tar.gz
binaryen-main.tar.bz2
binaryen-main.zip
[wasm-reduce] Reduce struct.new arguments away when possible (#7118)HEADmain
If all the fields of a struct.new are defaultable, see if replacing it with a struct.new_default preserves the behavior, and reduce that way if so. Also add a missing --closed-world to the --remove-unused-types invocation. Without that, it was erroring and not working, which I noticed when testing this. The test also checks that.
Diffstat (limited to 'check.py')
0 files changed, 0 insertions, 0 deletions