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