mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Support ownershipKind in SILSSAUpdater
This commit is contained in:
@@ -131,7 +131,7 @@ static void updateSSAForUseOfValue(
|
||||
assert(Res->getType() == MappedValue->getType() && "The types must match");
|
||||
|
||||
insertedPhis.clear();
|
||||
updater.initialize(Res->getType());
|
||||
updater.initialize(Res->getType(), Res.getOwnershipKind());
|
||||
updater.addAvailableValue(Header, Res);
|
||||
updater.addAvailableValue(EntryCheckBlock, MappedValue);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user