mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[NFC] OwnedValueCan: Typed maximizeLifetime.
This commit is contained in:
@@ -493,7 +493,7 @@ void CopyPropagation::run() {
|
||||
// canonicalizer performs all modifications through deleter's callbacks, so we
|
||||
// don't need to explicitly check for changes.
|
||||
CanonicalizeOSSALifetime canonicalizer(
|
||||
pruneDebug, /*maximizeLifetime=*/!getFunction()->shouldOptimize(),
|
||||
pruneDebug, MaximizeLifetime_t(!getFunction()->shouldOptimize()),
|
||||
getFunction(), accessBlockAnalysis, domTree, calleeAnalysis, deleter);
|
||||
// NOTE: We assume that the function is in reverse post order so visiting the
|
||||
// blocks and pushing begin_borrows as we see them and then popping them
|
||||
|
||||
Reference in New Issue
Block a user