summaryrefslogtreecommitdiff
path: root/test/passes/func-metrics.wast
Commit message (Collapse)AuthorAgeFilesLines
* Require `then` and `else` with `if` (#6201)Thomas Lively2024-01-041-12/+26
| | | | | | | | | | | | 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
* Fix copying of globals (#1854)Alon Zakai2019-01-101-0/+9
| | | | | This broke when we refactored imports, as now Global has two more fields. Test is on --func-metrics, which depends on copying to compute some things.
* Massive renaming (#1855)Thomas Lively2019-01-071-1/+1
| | | | | | Automated renaming according to https://github.com/WebAssembly/spec/issues/884#issuecomment-426433329.
* Show the binary bytes we can remove without each export, in --func-metrics ↵Alon Zakai2018-01-231-0/+69
| | | | | | | | (#1379) * show the binary bytes we can remove without each export, in --func-metrics * check start too
* Function metrics pass (#1353)Alon Zakai2018-01-121-0/+56
Emits binary size and opcode counts for each function, which helps investigating what's taking up space in a wasm binary.