binaryen
binaryen copied to clipboard
Adds assert to RemoveUnusedModuleElements
Pass RemoveUnusedModuleElements does not have multi-memories support. This adds an assert to ensure the pass is not run if the module has multiple memories.