mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[sil] Rename ValueOwnershipKind::{Any,None}
This commit is contained in:
@@ -472,7 +472,7 @@ destroyFoldedValueAtEndOfUse(SILValue foldedVal, SILValue originalVal,
|
||||
SILFunction *fun) {
|
||||
// Folded value should have either trivial or owned ownership as it is an
|
||||
// integer or string constant.
|
||||
assert(foldedVal.getOwnershipKind() == ValueOwnershipKind::Any ||
|
||||
assert(foldedVal.getOwnershipKind() == ValueOwnershipKind::None ||
|
||||
foldedVal.getOwnershipKind() == ValueOwnershipKind::Owned);
|
||||
|
||||
// If the ownership kinds of folded and original values are both either
|
||||
|
||||
Reference in New Issue
Block a user