summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-05-24 16:51:29 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-05-24 16:51:29 +0000
commite344705aded98380da896d71918a2307d0f06165 (patch)
tree11928d600a323d8f00439db28cdde5814ab92e9d /llvm/lib/CodeGen
parent1e0d94e7bb989ac009467dd526e0d680bd02d4ee (diff)
downloadbcm5719-llvm-e344705aded98380da896d71918a2307d0f06165.tar.gz
bcm5719-llvm-e344705aded98380da896d71918a2307d0f06165.zip
AsmPrinter: Remove dead code, NFC
llvm-svn: 238120
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfStringPool.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfStringPool.h b/llvm/lib/CodeGen/AsmPrinter/DwarfStringPool.h
index 28c73033a5c..4b9a2aa0b55 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfStringPool.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfStringPool.h
@@ -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.
OpenPOWER on IntegriCloud