diff options
author | Alon Zakai <alonzakai@gmail.com> | 2015-11-04 15:40:33 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2015-11-04 15:40:33 -0800 |
commit | 2bb4b33e296f999d45b95b2252dfaa11e2ea61b5 (patch) | |
tree | 0d3c678fbb726d001633819d0604af47e90819c6 /src/asm2wasm-main.cpp | |
parent | 98719470da218f2cbe2a256e478f56520a29f4dc (diff) | |
download | binaryen-2bb4b33e296f999d45b95b2252dfaa11e2ea61b5.tar.gz binaryen-2bb4b33e296f999d45b95b2252dfaa11e2ea61b5.tar.bz2 binaryen-2bb4b33e296f999d45b95b2252dfaa11e2ea61b5.zip |
memory
Diffstat (limited to 'src/asm2wasm-main.cpp')
-rw-r--r-- | src/asm2wasm-main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/asm2wasm-main.cpp b/src/asm2wasm-main.cpp index 1a338831c..7c4d93052 100644 --- a/src/asm2wasm-main.cpp +++ b/src/asm2wasm-main.cpp @@ -52,7 +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 + wasm.memory.initial = wasm.memory.max = 16*1024*1024; // we would normally receive this from the compiler Asm2WasmBuilder asm2wasm(wasm); asm2wasm.processAsm(asmjs); |