diff options
author | Alon Zakai <alonzakai@gmail.com> | 2015-11-03 11:00:55 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2015-11-03 11:00:55 -0800 |
commit | a4c2588fd5144b0b8759865d42138e1f6bb228a9 (patch) | |
tree | fa9df94c66575e1625921c59e43d4e3f93b07030 /src/asm2wasm-main.cpp | |
parent | 948f9255e2adac2b9e8b290742f06a515c14d043 (diff) | |
download | binaryen-a4c2588fd5144b0b8759865d42138e1f6bb228a9.tar.gz binaryen-a4c2588fd5144b0b8759865d42138e1f6bb228a9.tar.bz2 binaryen-a4c2588fd5144b0b8759865d42138e1f6bb228a9.zip |
add memorySize to Module
Diffstat (limited to 'src/asm2wasm-main.cpp')
-rw-r--r-- | src/asm2wasm-main.cpp | 1 |
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); |