summaryrefslogtreecommitdiff
path: root/test/empty.asm.js
Commit message (Collapse)AuthorAgeFilesLines
* 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`.