summaryrefslogtreecommitdiff
path: root/src/wasm
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2022-10-04 22:19:35 -0700
committerGitHub <noreply@github.com>2022-10-04 22:19:35 -0700
commitd9ce340fb17a24dca28e0018f5537846841368ab (patch)
tree071126dd26d5657908eecf1ba1abc8a80ae14bea /src/wasm
parent5b0977d564ef7f20f066a3082720b5b7327642c2 (diff)
downloadbinaryen-d9ce340fb17a24dca28e0018f5537846841368ab.tar.gz
binaryen-d9ce340fb17a24dca28e0018f5537846841368ab.tar.bz2
binaryen-d9ce340fb17a24dca28e0018f5537846841368ab.zip
Strip em_js_deps exports (#5109)
These are only needed for the metadata extraction in emcc.
Diffstat (limited to 'src/wasm')
-rw-r--r--src/wasm/wasm-emscripten.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/wasm/wasm-emscripten.cpp b/src/wasm/wasm-emscripten.cpp
index 0bc74580d..9cc8b29f0 100644
--- a/src/wasm/wasm-emscripten.cpp
+++ b/src/wasm/wasm-emscripten.cpp
@@ -33,8 +33,6 @@
namespace wasm {
-cashew::IString EM_JS_PREFIX("__em_js__");
-
void addExportedFunction(Module& wasm, Function* function) {
wasm.addFunction(function);
auto export_ = new Export;