summaryrefslogtreecommitdiff
path: root/src/wasm/wasm-binary.cpp
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2019-01-16 13:22:39 -0800
committerGitHub <noreply@github.com>2019-01-16 13:22:39 -0800
commit777d33d40ff030f1711c40bf3cd5bc4bc36af313 (patch)
tree343d05d218b55dfd6e453f90d76d896cd84d1865 /src/wasm/wasm-binary.cpp
parentcbb24eb4a0810640c9dcee2f6682c64f9bc6c512 (diff)
downloadbinaryen-777d33d40ff030f1711c40bf3cd5bc4bc36af313.tar.gz
binaryen-777d33d40ff030f1711c40bf3cd5bc4bc36af313.tar.bz2
binaryen-777d33d40ff030f1711c40bf3cd5bc4bc36af313.zip
Emscripten stack simplification (#1870)
This takes advantage of the recent memory simplification in emscripten, where JS static allocation is done at compile time. That means we know the stack's initial location at compile time, and can apply it. This is the binaryen side of that: * asm2wasm support for asm.js globals with an initial value var X = Y; where Y is not 0 (which is what the stack now is). * wasm-emscripten-finalize support for a flag --initial-stack-pointer=X, and remove the old code to import the stack's initial location.
Diffstat (limited to 'src/wasm/wasm-binary.cpp')
0 files changed, 0 insertions, 0 deletions