File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
lib/SILOptimizer/PassManager Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -445,10 +445,6 @@ static void addPerfEarlyModulePassPipeline(SILPassPipelinePlan &P) {
445
445
// the stdlib and then everything else.
446
446
P.addNonStdlibNonTransparentFunctionOwnershipModelEliminator ();
447
447
448
- // We earlier eliminated ownership if we are not compiling the stdlib. Now
449
- // handle the stdlib functions.
450
- P.addNonTransparentFunctionOwnershipModelEliminator ();
451
-
452
448
// Start by linking in referenced functions from other modules.
453
449
P.addPerformanceSILLinker ();
454
450
@@ -457,6 +453,10 @@ static void addPerfEarlyModulePassPipeline(SILPassPipelinePlan &P) {
457
453
// is linked in from the stdlib.
458
454
P.addTempRValueOpt ();
459
455
456
+ // We earlier eliminated ownership if we are not compiling the stdlib. Now
457
+ // handle the stdlib functions.
458
+ P.addNonTransparentFunctionOwnershipModelEliminator ();
459
+
460
460
// Needed to serialize static initializers of globals for cross-module
461
461
// optimization.
462
462
P.addGlobalOpt ();
You can’t perform that action at this time.
0 commit comments