summaryrefslogtreecommitdiff
path: root/test/empty.fromasm.imprecise
Commit message (Collapse)AuthorAgeFilesLines
* Optimize out memory and table when possible (#1352)Alon Zakai2018-01-101-4/+0
| | | We can remove the memory/table (itself, or an import if imported) if they are not used. This is pretty minor on a large wasm file, but when reading small wasts it's very noticeable to have an unused memory and table all the time.
* use a single space for pretty printing of wasts, so massive wasts are less ↵Alon Zakai2017-03-091-4/+4
| | | | unruly (#928)
* if we see no asm.js function tables, the table size is 0Alon Zakai2016-10-111-1/+1
|
* Print the name of memory along with size (#720)Derek Schuff2016-09-281-1/+1
| | | | | Otherwise when we export it as "$0" it's an undefined name. The spec interpreter actually rejects this, although I think it's intended to work, given the tests in export.wast. wabt also accepts it.
* memory and table printing fixesAlon Zakai2016-09-201-3/+2
|
* new import syntax in spec repoAlon Zakai2016-09-071-4/+4
|
* import memoryBase and tableBaseAlon Zakai2016-09-071-0/+2
|
* import tableAlon Zakai2016-09-071-0/+1
|
* import memory #684Alon Zakai2016-09-071-1/+1
|
* Fix asm2wasm dead lock caused by empty modules.Logan Chien2016-08-261-0/+4
This commit fixes an asm2wasm dead lock when asm2wasm is compiling an empty module, i.e. a module without any functions. Without this commit, worker threads are likely to leave `workerMain()` and decrease `liveWorkers` early. Consequently, `waitUntilAllReady()` will never observe `liveWorkers == numWorkers`.