diff options
Diffstat (limited to 'llvm/lib/MC/MCSection.cpp')
-rw-r--r-- | llvm/lib/MC/MCSection.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/lib/MC/MCSection.cpp b/llvm/lib/MC/MCSection.cpp index 7997b237a7eb..8342abacec09 100644 --- a/llvm/lib/MC/MCSection.cpp +++ b/llvm/lib/MC/MCSection.cpp @@ -60,10 +60,8 @@ MCSection::getSubsectionInsertionPoint(unsigned Subsection) { if (Subsection == 0 && SubsectionFragmentMap.empty()) return end(); - SmallVectorImpl<std::pair<unsigned, MCFragment *>>::iterator MI = - std::lower_bound(SubsectionFragmentMap.begin(), - SubsectionFragmentMap.end(), - std::make_pair(Subsection, (MCFragment *)nullptr)); + SmallVectorImpl<std::pair<unsigned, MCFragment *>>::iterator MI = lower_bound( + SubsectionFragmentMap, std::make_pair(Subsection, (MCFragment *)nullptr)); bool ExactMatch = false; if (MI != SubsectionFragmentMap.end()) { ExactMatch = MI->first == Subsection; |