diff options
author | Derek Schuff <dschuff@chromium.org> | 2016-04-13 16:10:15 -0700 |
---|---|---|
committer | Derek Schuff <dschuff@chromium.org> | 2016-04-13 16:10:15 -0700 |
commit | b3f9bb4c4a2f919ae0d73aa880609ad51abdc6b8 (patch) | |
tree | 2178bb2a33cc21ad9c6ab48ca18293343241ad39 /src/wasm-as.cpp | |
parent | f2753329c4c647cc6950f62f944a39de06ab4c88 (diff) | |
download | binaryen-b3f9bb4c4a2f919ae0d73aa880609ad51abdc6b8.tar.gz binaryen-b3f9bb4c4a2f919ae0d73aa880609ad51abdc6b8.tar.bz2 binaryen-b3f9bb4c4a2f919ae0d73aa880609ad51abdc6b8.zip |
Generate emscripten dynCall thunks in s2wasm (#342)
* Generate emscripten dynCall thunks in s2wasm
Part of the usual emscripten glue for asm.js is thunks for calling
functions on the module given a function pointer; aka a dynCall. This is
implemented via thunks generated on the Module called
'dynCall_<signature>'. This gives support to s2wasm to generate these
thunks in the wasm module along with other emscripten glue. It also
introduces a flag to s2wasm to make generation of emscripten glue
optional.
Diffstat (limited to 'src/wasm-as.cpp')
0 files changed, 0 insertions, 0 deletions