summaryrefslogtreecommitdiff
path: root/test/passes/remove-unused-names_remove-unused-brs_vacuum.wast
Commit message (Collapse)AuthorAgeFilesLines
* Require `then` and `else` with `if` (#6201)Thomas Lively2024-01-041-30/+48
| | | | | | | | | | | | We previously supported (and primarily used) a non-standard text format for conditionals in which the condition, if-true expression, and if-false expression were all simply s-expression children of the `if` expression. The standard text format, however, requires the use of `then` and `else` forms to introduce the if-true and if-false arms of the conditional. Update the legacy text parser to require the standard format and update all tests to match. Update the printer to print the standard format as well. The .wast and .wat test inputs were mechanically updated with this script: https://gist.github.com/tlively/85ae7f01f92f772241ec994c840ccbb1
* Remove legacy DYNAMICTOP_PTR support from SafeHeap (#3425)Sam Clegg2020-12-041-4/+0
|
* Massive renaming (#1855)Thomas Lively2019-01-071-16/+16
| | | | | | Automated renaming according to https://github.com/WebAssembly/spec/issues/884#issuecomment-426433329.
* fix blockifyMerge logic - it needs to not skip code in the block we merge ↵Alon Zakai2017-07-171-0/+18
| | | | to. since that's a fairly specific functionality needed in removeUnusedBrs, move it to there
* Fix emitting of unreachable block/if/loop (#911)Alon Zakai2017-02-161-0/+131
* an unreachable block is one with an unreachable child, plus no breaks * document new difference between binaryen IR and wasm * fix relooper missing finalize * add a bunch of tests * don't assume that test/*.wast files print to themselves exactly; print to from.wast. this allows wast tests with comments in them * emit unreachable blocks as (block .. unreachable) unreachable * if without else and unreachable ifTrue is still not unreachable, it should be none * update wasm.js * cleanups * empty blocks have none type