summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/tool-options.h2
-rw-r--r--src/tools/wasm-split/instrumenter.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/tool-options.h b/src/tools/tool-options.h
index a6e57a76e..6f3b4968c 100644
--- a/src/tools/tool-options.h
+++ b/src/tools/tool-options.h
@@ -93,7 +93,7 @@ struct ToolOptions : public Options {
.addFeature(FeatureSet::RelaxedSIMD, "relaxed SIMD")
.addFeature(FeatureSet::ExtendedConst, "extended const expressions")
.addFeature(FeatureSet::Strings, "strings")
- .addFeature(FeatureSet::MultiMemories, "multi-memories")
+ .addFeature(FeatureSet::MultiMemory, "multimemory")
.add("--enable-typed-function-references",
"",
"Deprecated compatibility flag",
diff --git a/src/tools/wasm-split/instrumenter.cpp b/src/tools/wasm-split/instrumenter.cpp
index a2d6340f0..38ebd271a 100644
--- a/src/tools/wasm-split/instrumenter.cpp
+++ b/src/tools/wasm-split/instrumenter.cpp
@@ -73,9 +73,9 @@ void Instrumenter::addSecondaryMemory(size_t numFuncs) {
// Don't need secondary memory
return;
}
- if (!wasm->features.hasMultiMemories()) {
+ if (!wasm->features.hasMultiMemory()) {
Fatal()
- << "error: --in-secondary-memory requires multi-memories to be enabled";
+ << "error: --in-secondary-memory requires multimemory to be enabled";
}
secondaryMemory =