mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
SIL: remove use-iteration functions from SILValue.
They are not needed anymore. NFC.
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user