summaryrefslogtreecommitdiff
path: root/test/example/cpp-unit.cpp
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2021-09-01 08:18:28 -0700
committerGitHub <noreply@github.com>2021-09-01 08:18:28 -0700
commitd66d2d9bb0ea1e067c6b3e2d322a1d2357336893 (patch)
tree5ec1830c65a2ea061b903fee5e450a2509fc9488 /test/example/cpp-unit.cpp
parent82cdabf20e496508cd241ef31a5f630c2de844ad (diff)
downloadbinaryen-d66d2d9bb0ea1e067c6b3e2d322a1d2357336893.tar.gz
binaryen-d66d2d9bb0ea1e067c6b3e2d322a1d2357336893.tar.bz2
binaryen-d66d2d9bb0ea1e067c6b3e2d322a1d2357336893.zip
Use TrapsNeverHappen mode in more places in Vacuum (#4117)
We had already replaced the check on drop, but we can also use that mode on all the other things there, as the pass never does reorderings of things - it just removes them. For example, the pass can now remove part of a dropped thing, (drop (struct.get (foo))) => (drop (foo)) In this example the struct.get can be removed, even if the foo can't.
Diffstat (limited to 'test/example/cpp-unit.cpp')
0 files changed, 0 insertions, 0 deletions