summaryrefslogtreecommitdiff
path: root/src/passes/MultiMemoryLowering.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/MultiMemoryLowering.cpp')
-rw-r--r--src/passes/MultiMemoryLowering.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/passes/MultiMemoryLowering.cpp b/src/passes/MultiMemoryLowering.cpp
index 2b3aedb2c..0367afa98 100644
--- a/src/passes/MultiMemoryLowering.cpp
+++ b/src/passes/MultiMemoryLowering.cpp
@@ -18,9 +18,9 @@
// Condensing a module with multiple memories into a module with a single memory
// for browsers that don’t support multiple memories.
//
-// This pass also disables multi-memories so that the target features section in
+// This pass also disables multimemory so that the target features section in
// the emitted module does not report the use of MultiMemories. Disabling the
-// multi-memories feature also prevents later passes from adding additional
+// multimemory feature also prevents later passes from adding additional
// memories.
//
// The offset computation in function maybeMakeBoundsCheck is not precise
@@ -378,7 +378,7 @@ struct MultiMemoryLowering : public Pass {
};
void run(Module* module) override {
- module->features.disable(FeatureSet::MultiMemories);
+ module->features.disable(FeatureSet::MultiMemory);
// If there are no memories or 1 memory, skip this pass
if (module->memories.size() <= 1) {