diff options
author | jgravelle-google <jgravelle@google.com> | 2016-09-09 10:41:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-09 10:41:00 -0700 |
commit | ac078dcb1c677f83527693536cb1c06157095447 (patch) | |
tree | 0e007d41a98322bbbf28b3a270558d98692a7e1a /auto_update_tests.py | |
parent | 87f65f1623983bfc516ff4b222a3bb2537971837 (diff) | |
download | binaryen-ac078dcb1c677f83527693536cb1c06157095447.tar.gz binaryen-ac078dcb1c677f83527693536cb1c06157095447.tar.bz2 binaryen-ac078dcb1c677f83527693536cb1c06157095447.zip |
Add flag to s2wasm to export __growWasmMemory function (#696)
* Add a flag to s2wasm to export grow_memory
Binaryen's wasm.js-post.js calls back in to wasm in order to grow the
linear memory, via a function that asm2wasm exports called
__growWasmMemory.
This changes exposes that method through s2wasm when invoked with a
flag.
* Move AsmConstWalker from wasm-linker to wasm-emscripten
* Add test for memory growth in s2wasm
* Move makeDynCallThunks into wasm-emscripten module
* Move mutation in getTableSegment into a separate method
* Move emscripten metadata generation into wasm-emscripten
Also make AsmConstWalker internal to the wasm-emscripten module, as it's only used for the metadata pass.
Diffstat (limited to 'auto_update_tests.py')
0 files changed, 0 insertions, 0 deletions