summaryrefslogtreecommitdiff
path: root/src/wasm.cpp
diff options
context:
space:
mode:
authorDerek Schuff <dschuff@chromium.org>2016-06-03 15:48:53 -0700
committerDerek Schuff <dschuff@chromium.org>2016-06-03 15:48:53 -0700
commitc8ec0cd6c053f9e68daf4ba4fdf8137957c1b236 (patch)
tree559bec6bc2bdc73ea654668b6767a5e0e57ba469 /src/wasm.cpp
parentf6b5c1e5c1c0de26fd078d336782508dd0186820 (diff)
downloadbinaryen-c8ec0cd6c053f9e68daf4ba4fdf8137957c1b236.tar.gz
binaryen-c8ec0cd6c053f9e68daf4ba4fdf8137957c1b236.tar.bz2
binaryen-c8ec0cd6c053f9e68daf4ba4fdf8137957c1b236.zip
Do not generate duplicate import thunks at link time. (#569)
Previously every address-take of an import would cause a new thunk to be generated. Now check in getImportThunk if the thunk exists already and just return it if so.
Diffstat (limited to 'src/wasm.cpp')
0 files changed, 0 insertions, 0 deletions