summaryrefslogtreecommitdiff
path: root/test/binaryen.js/pass-arguments.js
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2022-12-20 13:41:04 -0600
committerGitHub <noreply@github.com>2022-12-20 19:41:04 +0000
commit8c2696b78f5658888d0d480eaddd9eed045b3e7b (patch)
tree6010ca853999c110c4530af535e07ca253c9e671 /test/binaryen.js/pass-arguments.js
parent569f789622f116177c8a1e32fb62a4e5a5c9dfe0 (diff)
downloadbinaryen-8c2696b78f5658888d0d480eaddd9eed045b3e7b.tar.gz
binaryen-8c2696b78f5658888d0d480eaddd9eed045b3e7b.tar.bz2
binaryen-8c2696b78f5658888d0d480eaddd9eed045b3e7b.zip
Work around bugs with open world type optimizations (#5367)
Since #5347 public types are never updated by type optimizations, but the optimization passes have not yet been updated to take that into account, so they are all buggy under an open world assumption. In #5359 we worked around many closed world validation errors in the fuzzer by treating --closed-world like a feature flag and checking whether it was necessary for fuzzer input, but that did not prevent the type optimization passes from running under an open world, so it did not work around all the potential issues. Work around the problem more thoroughly by not running any type optimization passes in the fuzzer without --closed-world. Also add logic to those passes to error out if they are run without --closed-world and update the tests accordingly.
Diffstat (limited to 'test/binaryen.js/pass-arguments.js')
0 files changed, 0 insertions, 0 deletions