mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
And lastly rename NewProjection to Projection. This is a NFC. rdar://24520269
This commit is contained in:
@@ -463,11 +463,11 @@ recursivelyCollectInteriorUses(ValueBase *DefInst,
|
||||
continue;
|
||||
}
|
||||
// Recursively follow projections.
|
||||
NewProjectionIndex PI(User);
|
||||
ProjectionIndex PI(User);
|
||||
if (PI.isValid()) {
|
||||
IndexTrieNode *ProjAddrNode = AddressNode;
|
||||
bool ProjInteriorAddr = IsInteriorAddress;
|
||||
if (NewProjection::isAddressProjection(User)) {
|
||||
if (Projection::isAddressProjection(User)) {
|
||||
if (User->getKind() == ValueKind::IndexAddrInst) {
|
||||
// Don't support indexing within an interior address.
|
||||
if (IsInteriorAddress)
|
||||
|
||||
Reference in New Issue
Block a user