mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #5920 from gottesmm/vacation_gardening
Vacation gardening
This commit is contained in:
@@ -416,7 +416,7 @@ SILInstruction *StackPromoter::findDeallocPoint(SILInstruction *StartInst,
|
||||
Iter = StartInst->getIterator();
|
||||
} else {
|
||||
// Track all uses in the block arguments.
|
||||
for (SILArgument *BBArg : BB->getBBArgs()) {
|
||||
for (SILArgument *BBArg : BB->getArguments()) {
|
||||
if (ConGraph->isUsePoint(BBArg, Node))
|
||||
NumUsePointsToFind--;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user