(instance, module)
| 323 | const info = { a: asmLibraryArg }; |
| 324 | |
| 325 | function receiveInstance(instance, module) |
| 326 | { |
| 327 | const exports = instance.exports; |
| 328 | |
| 329 | Module.asm = exports; removeRunDependency('wasm-instantiate'); |
| 330 | }addRunDependency('wasm-instantiate'); function receiveInstantiatedSource(output) { receiveInstance(output.instance); } function instantiateArrayBuffer(receiver) { return getBinaryPromise().then(function (binary) { return WebAssembly.instantiate(binary, info); }).then(receiver, function (reason) { err(`failed to asynchronously prepare wasm: ${reason}`); abort(reason); }); } function instantiateAsync() |
| 331 | { |
| 332 | if (!wasmBinary && typeof WebAssembly.instantiateStreaming === 'function' && !isDataURI(wasmBinaryFile) && typeof fetch === 'function') |
| 333 | { |
no test coverage detected