And lastly rename NewProjection to Projection. This is a NFC. rdar://24520269

This commit is contained in:
Xin Tong
2016-02-09 17:30:14 -08:00
parent 042c6e033d
commit 84a6ff1d98
19 changed files with 460 additions and 460 deletions

View File

@@ -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)