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

@@ -2037,7 +2037,7 @@ protected:
SILSSAUpdater &SSAUp) {
// Collect outside uses.
SmallVector<UseWrapper, 16> UseList;
for (auto Use : V.getUses())
for (auto Use : V->getUses())
if (OutsideBBs.count(Use->getUser()->getParent()) ||
!BBMap.count(Use->getUser()->getParent())) {
UseList.push_back(UseWrapper(Use));