AsmPrinter: Remove dead code, NFC
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Sun, 24 May 2015 16:51:29 +0000 (16:51 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Sun, 24 May 2015 16:51:29 +0000 (16:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238120 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter/DwarfStringPool.h

index 28c73033a5c05492daa227e30e3b7f0ecd2d2512..4b9a2aa0b5564f58b574af35aea98aa0f89d6751 100644 (file)
@@ -40,23 +40,6 @@ public:
   void emit(AsmPrinter &Asm, MCSection *StrSection,
             MCSection *OffsetSection = nullptr);
 
-  /// \brief Returns an entry into the string pool with the given
-  /// string text.
-  MCSymbol *getSymbol(AsmPrinter &Asm, StringRef Str) {
-    return getEntry(Asm, Str).getSymbol();
-  }
-
-  /// Get a byte offset into the string pool with the given text.
-  unsigned getOffset(AsmPrinter &Asm, StringRef Str) {
-    return getEntry(Asm, Str).getOffset();
-  }
-
-  /// \brief Returns the index into the string pool with the given
-  /// string text.
-  unsigned getIndex(AsmPrinter &Asm, StringRef Str) {
-    return getEntry(Asm, Str).getIndex();
-  }
-
   bool empty() const { return Pool.empty(); }
 
   /// Get a reference to an entry in the string pool.