Skip to content

Commit 531aa6f

Browse files
committed
[ownership] Strip ownership before running lowering passes in the repl.
This fixes most of the interpreter tests for ownership.
1 parent c12e556 commit 531aa6f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Immediate/REPL.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -876,6 +876,7 @@ class REPLEnvironment {
876876
// non-whole-module generation.
877877
sil = performSILGeneration(*M->getFiles().front(), CI.getSILOptions());
878878
runSILDiagnosticPasses(*sil);
879+
runSILOwnershipEliminatorPass(*sil);
879880
runSILLoweringPasses(*sil);
880881
}
881882

0 commit comments

Comments
 (0)