File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
include/swift/SILOptimizer/Utils Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -237,6 +237,8 @@ class CanonicalizeOSSALifetime final {
237
237
// / copies.
238
238
const MaximizeLifetime_t maximizeLifetime;
239
239
240
+ SILFunction *function;
241
+
240
242
// If present, will be used to ensure that the lifetime is not shortened to
241
243
// end inside an access scope which it previously enclosed. (Note that ending
242
244
// before such an access scope is fine regardless.)
@@ -354,7 +356,7 @@ class CanonicalizeOSSALifetime final {
354
356
DeadEndBlocksAnalysis *deadEndBlocksAnalysis, DominanceInfo *domTree,
355
357
BasicCalleeAnalysis *calleeAnalysis, InstructionDeleter &deleter)
356
358
: pruneDebugMode(pruneDebugMode), maximizeLifetime(maximizeLifetime),
357
- accessBlockAnalysis(accessBlockAnalysis),
359
+ function(function), accessBlockAnalysis(accessBlockAnalysis),
358
360
deadEndBlocksAnalysis(deadEndBlocksAnalysis), domTree(domTree),
359
361
calleeAnalysis(calleeAnalysis), deleter(deleter) {}
360
362
You can’t perform that action at this time.
0 commit comments