[llvm] r238120 - AsmPrinter: Remove dead code, NFC
Duncan P. N. Exon Smith
dexonsmith at apple.com
Sun May 24 09:51:29 PDT 2015
Author: dexonsmith
Date: Sun May 24 11:51:29 2015
New Revision: 238120
URL: http://llvm.org/viewvc/llvm-project?rev=238120&view=rev
Log:
AsmPrinter: Remove dead code, NFC
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfStringPool.h
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfStringPool.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfStringPool.h?rev=238120&r1=238119&r2=238120&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfStringPool.h (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfStringPool.h Sun May 24 11:51:29 2015
@@ -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.
More information about the llvm-commits
mailing list