diff options
author | Fangrui Song <maskray@google.com> | 2019-06-18 12:30:06 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2019-06-18 12:30:06 +0000 |
commit | c99d9aee00753dc878e403c4088227a25b45e4b2 (patch) | |
tree | 366945aa5b6eb3ed6c28c1b9eec02e9e7e0057a9 /llvm/lib/MC | |
parent | 3c8e2cdda5a9f4f9eab499f94b6e4a803d0bd4ef (diff) | |
download | bcm5719-llvm-c99d9aee00753dc878e403c4088227a25b45e4b2.tar.gz bcm5719-llvm-c99d9aee00753dc878e403c4088227a25b45e4b2.zip |
MCContext: Delete unused functions
llvm-svn: 363674
Diffstat (limited to 'llvm/lib/MC')
-rw-r--r-- | llvm/lib/MC/MCContext.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/lib/MC/MCContext.cpp b/llvm/lib/MC/MCContext.cpp index 43a7e8a64af..5ec03ee0894 100644 --- a/llvm/lib/MC/MCContext.cpp +++ b/llvm/lib/MC/MCContext.cpp @@ -462,14 +462,6 @@ MCSectionCOFF *MCContext::getCOFFSection(StringRef Section, BeginSymName); } -MCSectionCOFF *MCContext::getCOFFSection(StringRef Section) { - COFFSectionKey T{Section, "", 0, GenericSectionID}; - auto Iter = COFFUniquingMap.find(T); - if (Iter == COFFUniquingMap.end()) - return nullptr; - return Iter->second; -} - MCSectionCOFF *MCContext::getAssociativeCOFFSection(MCSectionCOFF *Sec, const MCSymbol *KeySym, unsigned UniqueID) { |