forked from OSchip/llvm-project
[MC] Delete MCSection::{rbegin,rend}
This commit is contained in:
parent
ad0a45833b
commit
586acd8490
|
@ -175,12 +175,6 @@ public:
|
|||
iterator end() { return Fragments.end(); }
|
||||
const_iterator end() const { return Fragments.end(); }
|
||||
|
||||
reverse_iterator rbegin() { return Fragments.rbegin(); }
|
||||
const_reverse_iterator rbegin() const { return Fragments.rbegin(); }
|
||||
|
||||
reverse_iterator rend() { return Fragments.rend(); }
|
||||
const_reverse_iterator rend() const { return Fragments.rend(); }
|
||||
|
||||
MCSection::iterator getSubsectionInsertionPoint(unsigned Subsection);
|
||||
|
||||
void dump() const;
|
||||
|
|
|
@ -1169,8 +1169,8 @@ void MCAssembler::finishLayout(MCAsmLayout &Layout) {
|
|||
// The layout is done. Mark every fragment as valid.
|
||||
for (unsigned int i = 0, n = Layout.getSectionOrder().size(); i != n; ++i) {
|
||||
MCSection &Section = *Layout.getSectionOrder()[i];
|
||||
Layout.getFragmentOffset(&*Section.rbegin());
|
||||
computeFragmentSize(Layout, *Section.rbegin());
|
||||
Layout.getFragmentOffset(&*Section.getFragmentList().rbegin());
|
||||
computeFragmentSize(Layout, *Section.getFragmentList().rbegin());
|
||||
}
|
||||
getBackend().finishLayout(*this, Layout);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue