summaryrefslogtreecommitdiff
path: root/test/ctor-eval/basics.wast
Commit message (Collapse)AuthorAgeFilesLines
* Fix incorrect wat in tests (#6207)Thomas Lively2024-01-081-3/+3
| | | | | | | | | The new wat parser is much more strict than the legacy wat parser; the latter accepts all sorts of things that the spec does not allow. To ease an eventual transition to using the new wat parser by default, update the tests to use the standard text format in many places where they previously did not. We do not yet have a way to prevent new errors from being introduced into the test suite, but at least there will now be many fewer errors when it comes time to make the switch.
* Massive renaming (#1855)Thomas Lively2019-01-071-1/+1
| | | | | | Automated renaming according to https://github.com/WebAssembly/spec/issues/884#issuecomment-426433329.
* Generate sexp instruction parser (#1754)Thomas Lively2018-11-191-2/+4
| | | Also fix broken tests surfaced by the new parser.
* Update call_indirect text syntax to match spec update (#1281)Derek Schuff2017-11-131-1/+1
| | | | Function type gets its own element rather than being a part of the call_indirect (see WebAssembly/spec#599)
* ctor evaller (#982)Alon Zakai2017-04-281-0/+33
Add wasm-ctor-eval, which evaluates functions at compile time - typically static constructor functions - and applies their effects into memory, saving work at startup. If we encounter something we can't evaluate at compile time in our interpreter, stop there. This is similar to ctor_evaller.py in emscripten (which was for asm.js).