Minor comment cleanup and code formatting.

Extracted from the functional changes for clarity.
This commit is contained in:
Andrew Trick
2025-02-25 00:27:37 -08:00
parent 75e84f1e97
commit 6c99017588
4 changed files with 27 additions and 44 deletions

View File

@@ -554,8 +554,8 @@ extension AddressOwnershipLiveRange {
///
/// For address values, use AccessBase.computeOwnershipRange.
///
/// FIXME: This should use computeLinearLiveness rather than computeKnownLiveness as soon as lifetime completion
/// runs immediately after SILGen.
/// FIXME: This should use computeLinearLiveness rather than computeKnownLiveness as soon as complete OSSA lifetimes
/// are verified.
private static func computeValueLiveRange(of value: Value, _ context: FunctionPassContext)
-> AddressOwnershipLiveRange? {
switch value.ownership {