Simplify & generalize comment

This commit is contained in:
Jan Van Bruggen 2022-09-09 10:45:55 -06:00
parent 59abe4f3a1
commit 3cad172c79
No known key found for this signature in database
GPG Key ID: FE2A4E38E0FA6134

View File

@ -137,7 +137,7 @@ async function processInputQueue() {
// ----------------------------------------------------------------------------
// Create an executable Wasm instance from an array of bytes
// (Browser validates the module and does the final compilation to the current machine's machine code.)
// (Browser validates the module and does the final compilation.)
async function js_create_app(wasm_module_bytes) {
const wasiLinkObject = {}; // gives the WASI functions a reference to the app so they can write to its memory
const importObj = getMockWasiImports(wasiLinkObject);