Move getSubsectionInsertionPoint to MCSection.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238320 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2015-05-27 13:37:28 +00:00
parent a287fe7fa0
commit 919ce81d38
4 changed files with 36 additions and 35 deletions

View File

@@ -33,6 +33,7 @@ class raw_ostream;
class MCSectionData {
friend class MCAsmLayout;
friend class MCSection;
MCSectionData(const MCSectionData &) = delete;
void operator=(const MCSectionData &) = delete;
@@ -96,8 +97,6 @@ public:
bool empty() const;
iterator getSubsectionInsertionPoint(unsigned Subsection);
void dump();
/// @}
@@ -220,6 +219,8 @@ public:
return const_cast<MCSection *>(this)->rend();
}
MCSectionData::iterator getSubsectionInsertionPoint(unsigned Subsection);
virtual void PrintSwitchToSection(const MCAsmInfo &MAI, raw_ostream &OS,
const MCExpr *Subsection) const = 0;