summaryrefslogtreecommitdiff
path: root/src/passes/pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/pass.cpp')
-rw-r--r--src/passes/pass.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/passes/pass.cpp b/src/passes/pass.cpp
index d7f2a310f..e62b1f3a6 100644
--- a/src/passes/pass.cpp
+++ b/src/passes/pass.cpp
@@ -281,6 +281,11 @@ void PassRegistry::registerPasses() {
registerPass("multi-memory-lowering",
"combines multiple memories into a single memory",
createMultiMemoryLoweringPass);
+ registerPass(
+ "multi-memory-lowering-with-bounds-checks",
+ "combines multiple memories into a single memory, trapping if the read or "
+ "write is larger than the length of the memory's data",
+ createMultiMemoryLoweringWithBoundsChecksPass);
registerPass("nm", "name list", createNameListPass);
registerPass("name-types", "(re)name all heap types", createNameTypesPass);
registerPass("once-reduction",