From c9f4e410739278cd6c4b04870e2d48e013a30a3b Mon Sep 17 00:00:00 2001 From: Seth Junot Date: Thu, 17 Jan 2019 18:00:52 -0800 Subject: [PATCH] wasm: fix typo in wasm_exec.js preventing memory import Seems to have been left over from the original copy. This correction should fix calls to the "memory" variable in syscall/js. --- targets/wasm_exec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/targets/wasm_exec.js b/targets/wasm_exec.js index 22d0f545..c693a3b0 100644 --- a/targets/wasm_exec.js +++ b/targets/wasm_exec.js @@ -322,7 +322,7 @@ true, false, global, - this._inst.exports.mem, + this._inst.exports.memory, this, ]; this._refs = new Map();