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.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/passes/pass.cpp b/src/passes/pass.cpp
index 15e8c1f26..3880519da 100644
--- a/src/passes/pass.cpp
+++ b/src/passes/pass.cpp
@@ -483,12 +483,18 @@ void PassRegistry::registerPasses() {
registerPass("tuple-optimization",
"optimize trivial tuples away",
createTupleOptimizationPass);
+ registerPass("type-finalizing",
+ "mark all leaf types as final",
+ createTypeFinalizingPass);
registerPass("type-merging",
"merge types to their supertypes where possible",
createTypeMergingPass);
registerPass("type-ssa",
"create new nominal types to help other optimizations",
createTypeSSAPass);
+ registerPass("type-unfinalizing",
+ "mark all types as non-final (open)",
+ createTypeUnFinalizingPass);
registerPass("untee",
"removes local.tees, replacing them with sets and gets",
createUnteePass);