diff options
Diffstat (limited to 'src/passes')
-rw-r--r-- | src/passes/MemoryPacking.cpp | 2 | ||||
-rw-r--r-- | src/passes/MultiMemoryLowering.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/passes/MemoryPacking.cpp b/src/passes/MemoryPacking.cpp index e0ce6294b..79e7b83a9 100644 --- a/src/passes/MemoryPacking.cpp +++ b/src/passes/MemoryPacking.cpp @@ -126,7 +126,7 @@ struct MemoryPacking : public Pass { }; void MemoryPacking::run(Module* module) { - // Does not have multi-memories support + // Does not have multimemory support if (!canOptimize(module->memories, module->dataSegments)) { return; } 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) { |