diff options
Diffstat (limited to 'lib/MC/MCContext.cpp')
-rw-r--r-- | lib/MC/MCContext.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/MC/MCContext.cpp b/lib/MC/MCContext.cpp index 63338353a1..061d7c2498 100644 --- a/lib/MC/MCContext.cpp +++ b/lib/MC/MCContext.cpp @@ -22,11 +22,6 @@ MCContext::~MCContext() { // we don't need to free them here. } -MCSection *MCContext::GetSection(const StringRef &Name) const { - StringMap<MCSection*>::const_iterator I = Sections.find(Name); - return I != Sections.end() ? I->second : 0; -} - MCSymbol *MCContext::CreateSymbol(const StringRef &Name) { assert(Name[0] != '\0' && "Normal symbols cannot be unnamed!"); |