diff options
Diffstat (limited to 'src/passes/LLVMMemoryCopyFillLowering.cpp')
-rw-r--r-- | src/passes/LLVMMemoryCopyFillLowering.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/passes/LLVMMemoryCopyFillLowering.cpp b/src/passes/LLVMMemoryCopyFillLowering.cpp index e5b940a5a..d2a7e5c48 100644 --- a/src/passes/LLVMMemoryCopyFillLowering.cpp +++ b/src/passes/LLVMMemoryCopyFillLowering.cpp @@ -49,7 +49,7 @@ struct LLVMMemoryCopyFillLowering } void run(Module* module) override { - if (!module->features.hasBulkMemory()) { + if (!module->features.hasBulkMemoryOpt()) { return; } if (module->features.hasMemory64() || module->features.hasMultiMemory()) { @@ -108,7 +108,7 @@ struct LLVMMemoryCopyFillLowering } else { module->removeFunction(memFillFuncName); } - module->features.disable(FeatureSet::BulkMemory); + module->features.setBulkMemoryOpt(false); } void createMemoryCopyFunc(Module* module) { |