summaryrefslogtreecommitdiff
path: root/src/asm2wasm-main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/asm2wasm-main.cpp')
-rw-r--r--src/asm2wasm-main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/asm2wasm-main.cpp b/src/asm2wasm-main.cpp
index c09a2345b..1a338831c 100644
--- a/src/asm2wasm-main.cpp
+++ b/src/asm2wasm-main.cpp
@@ -52,6 +52,7 @@ int main(int argc, char **argv) {
if (debug) std::cerr << "wasming...\n";
Module wasm;
+ wasm.memorySize = 16*1024*1024; // we would normally receive this from the compiler
Asm2WasmBuilder asm2wasm(wasm);
asm2wasm.processAsm(asmjs);