diff options
author | Alon Zakai <azakai@google.com> | 2020-08-25 15:22:19 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-25 15:22:19 -0700 |
commit | 18d678043438937222101290988ff3260053edcd (patch) | |
tree | 2a876261b1e305107a77fdb4ef9636e8ef4a3b2e /src/wasm/wasm-emscripten.cpp | |
parent | 21a08f751bd641f9658455cbf44ecadbf895f5b2 (diff) | |
download | binaryen-18d678043438937222101290988ff3260053edcd.tar.gz binaryen-18d678043438937222101290988ff3260053edcd.tar.bz2 binaryen-18d678043438937222101290988ff3260053edcd.zip |
SAFE_HEAP: remove fastcomp, prepare for new emscripten approach (#3078)
In fastcomp we implemented emscripten_get_sbrk_ptr in wasm, and
exported _emscripten_get_sbrk_ptr. We don't need that anymore and
can remove it.
However I want to switch us to implementing emscripten_get_sbrk_ptr
in wasm in upstream too, as part of removing DYNAMICTOP_PTR and
other silliness that we have around link (#3043).
This makes us support an export of emscripten_get_sbrk_ptr (no
prefix), and also it makes sure not to instrument that function, which
may contain some memory operations itself, but if we SAFE_HEAP-ify
them we'd get infinite recursion, as the SAFE_HEAP methods need to
call that.
Diffstat (limited to 'src/wasm/wasm-emscripten.cpp')
0 files changed, 0 insertions, 0 deletions