diff options
Diffstat (limited to 'src/passes/pass.cpp')
-rw-r--r-- | src/passes/pass.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/passes/pass.cpp b/src/passes/pass.cpp index 04947ae07..85a240dc3 100644 --- a/src/passes/pass.cpp +++ b/src/passes/pass.cpp @@ -170,6 +170,8 @@ void PassRegistry::registerPasses() { "global-refining", "refine the types of globals", createGlobalRefiningPass); registerPass( "gto", "globally optimize GC types", createGlobalTypeOptimizationPass); + registerPass( + "gsi", "globally optimize struct values", createGlobalStructInferencePass); registerPass("type-refining", "apply more specific subtypes to type fields where possible", createTypeRefiningPass); |