File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ class DominatorAnalysis
54
54
HasNonDominatedPred = true ;
55
55
});
56
56
if (HasDominatedPred && HasNonDominatedPred)
57
- Result.insert (Candidates. begin (), Candidates. end () );
57
+ Result.insert_range (Candidates);
58
58
if ((*this ->getStateAt (ProgramPoint::getLastPointAt (BB)))[DomIdx] &&
59
59
BB.succ_begin () == BB.succ_end ())
60
60
Result.insert (ProgramPoint::getLastPointAt (BB));
Original file line number Diff line number Diff line change @@ -1997,7 +1997,7 @@ void BinaryFunction::postProcessJumpTables() {
1997
1997
bool BinaryFunction::validateExternallyReferencedOffsets () {
1998
1998
SmallPtrSet<MCSymbol *, 4 > JTTargets;
1999
1999
for (const JumpTable *JT : llvm::make_second_range (JumpTables))
2000
- JTTargets.insert (JT->Entries . begin (), JT-> Entries . end () );
2000
+ JTTargets.insert_range (JT->Entries );
2001
2001
2002
2002
bool HasUnclaimedReference = false ;
2003
2003
for (uint64_t Destination : ExternallyReferencedOffsets) {
You can’t perform that action at this time.
0 commit comments