summaryrefslogtreecommitdiff
path: root/src/emscripten-optimizer/parser.h
diff options
context:
space:
mode:
authorDerek Schuff <dschuff@chromium.org>2016-04-13 16:10:15 -0700
committerDerek Schuff <dschuff@chromium.org>2016-04-13 16:10:15 -0700
commitb3f9bb4c4a2f919ae0d73aa880609ad51abdc6b8 (patch)
tree2178bb2a33cc21ad9c6ab48ca18293343241ad39 /src/emscripten-optimizer/parser.h
parentf2753329c4c647cc6950f62f944a39de06ab4c88 (diff)
downloadbinaryen-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/emscripten-optimizer/parser.h')
0 files changed, 0 insertions, 0 deletions