summaryrefslogtreecommitdiff
path: root/test/wasm2js/emscripten.2asm.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2019-04-23 14:26:57 -0700
committerGitHub <noreply@github.com>2019-04-23 14:26:57 -0700
commit4c3297bba82905994a36e52701696be412573b3f (patch)
tree511b141c9ee6e09e8a652ac3de757f6496b854f4 /test/wasm2js/emscripten.2asm.js
parent455f431260efbd48f018259bf8db544e1b9d03c4 (diff)
downloadbinaryen-4c3297bba82905994a36e52701696be412573b3f.tar.gz
binaryen-4c3297bba82905994a36e52701696be412573b3f.tar.bz2
binaryen-4c3297bba82905994a36e52701696be412573b3f.zip
wasm2js: emit calls for memory growth helper only if memory growth is used (#2042)
Diffstat (limited to 'test/wasm2js/emscripten.2asm.js')
-rw-r--r--test/wasm2js/emscripten.2asm.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/wasm2js/emscripten.2asm.js b/test/wasm2js/emscripten.2asm.js
index 7c9219772..991038515 100644
--- a/test/wasm2js/emscripten.2asm.js
+++ b/test/wasm2js/emscripten.2asm.js
@@ -47,7 +47,7 @@ function asmFunc(global, env, buffer) {
function __growWasmMemory($0) {
$0 = $0 | 0;
- return __wasm_grow_memory($0 | 0) | 0;
+ return abort() | 0;
}
// EMSCRIPTEN_END_FUNCS;