summaryrefslogtreecommitdiff
path: root/src/wasm-emscripten.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-emscripten.h')
-rw-r--r--src/wasm-emscripten.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wasm-emscripten.h b/src/wasm-emscripten.h
index 395c76a16..fe8b8ed36 100644
--- a/src/wasm-emscripten.h
+++ b/src/wasm-emscripten.h
@@ -35,6 +35,9 @@ public:
void setStandalone(bool standalone_) { standalone = standalone_; }
void setSideModule(bool sideModule_) { sideModule = sideModule_; }
+ void setMinimizeWasmChanges(bool minimizeWasmChanges_) {
+ minimizeWasmChanges = minimizeWasmChanges_;
+ }
Function* generateMemoryGrowthFunction();
Function* generateAssignGOTEntriesFunction();
@@ -71,6 +74,7 @@ private:
bool useStackPointerGlobal;
bool standalone;
bool sideModule;
+ bool minimizeWasmChanges;
// Used by generateDynCallThunk to track all the dynCall functions created
// so far.
std::unordered_set<Signature> sigs;