SIL: remove use-iteration functions from SILValue.

They are not needed anymore. NFC.
This commit is contained in:
Erik Eckstein
2016-01-25 11:15:33 -08:00
parent f18c8431fd
commit 5a53b31f57
20 changed files with 29 additions and 59 deletions

View File

@@ -309,7 +309,7 @@ updateSSA(SILLoop *Loop,
// Collect out of loop uses of this value.
auto OrigValue = MapEntry.first;
SmallVector<UseWrapper, 16> UseList;
for (auto Use : OrigValue.getUses())
for (auto Use : OrigValue->getUses())
if (!Loop->contains(Use->getUser()->getParent()))
UseList.push_back(UseWrapper(Use));
// Update SSA of use with the available values.