We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7633f6 commit 872276eCopy full SHA for 872276e
lib/SILOptimizer/Mandatory/GuaranteedARCOpts.cpp
@@ -32,8 +32,7 @@ struct GuaranteedARCOptsVisitor
32
33
static SILBasicBlock::reverse_iterator
34
getPrevReverseIterator(SILInstruction *I) {
35
- auto Iter = std::next(I->getIterator());
36
- return std::next(SILBasicBlock::reverse_iterator(Iter));
+ return std::next(I->getIterator().getReverse());
37
}
38
39
bool GuaranteedARCOptsVisitor::visitDestroyAddrInst(DestroyAddrInst *DAI) {
0 commit comments