mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +00:00
MC: Simplify LayoutSection to just take the index of the section to layout.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103627 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -50,11 +50,12 @@ public:
|
||||
/// @name Section Access (in layout order)
|
||||
/// @{
|
||||
|
||||
iterator begin() { return SectionOrder.begin(); }
|
||||
const_iterator begin() const { return SectionOrder.begin(); }
|
||||
|
||||
iterator end() {return SectionOrder.end();}
|
||||
const_iterator end() const {return SectionOrder.end();}
|
||||
llvm::SmallVectorImpl<MCSectionData*> &getSectionOrder() {
|
||||
return SectionOrder;
|
||||
}
|
||||
const llvm::SmallVectorImpl<MCSectionData*> &getSectionOrder() const {
|
||||
return SectionOrder;
|
||||
}
|
||||
|
||||
/// @}
|
||||
/// @name Fragment Layout Data
|
||||
|
||||
Reference in New Issue
Block a user