aboutsummaryrefslogtreecommitdiffhomepage
path: root/targets/wasm_exec.js
diff options
context:
space:
mode:
authorSeth Junot <[email protected]>2019-01-17 18:00:52 -0800
committerAyke van Laethem <[email protected]>2019-01-18 13:30:17 +0100
commitc9f4e410739278cd6c4b04870e2d48e013a30a3b (patch)
tree5556d22054df6c884f29c562101ce5a8fa60aa1e /targets/wasm_exec.js
parent67fbfe63051274850cfd20f6d9baec4b762fe579 (diff)
downloadtinygo-c9f4e410739278cd6c4b04870e2d48e013a30a3b.tar.gz
tinygo-c9f4e410739278cd6c4b04870e2d48e013a30a3b.zip
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.
Diffstat (limited to 'targets/wasm_exec.js')
-rw-r--r--targets/wasm_exec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/targets/wasm_exec.js b/targets/wasm_exec.js
index 22d0f5451..c693a3b08 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();