From: Duncan P. N. Exon Smith <dexonsmith@apple.com>
Date: Sat, 23 May 2015 01:26:26 +0000 (+0000)
Subject: CodeGen: Remove redundant DIETypeSignature::dump(), NFC
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=804c199b75a717164144cccd1ccbbdab370cf958;p=oota-llvm.git

CodeGen: Remove redundant DIETypeSignature::dump(), NFC

We already have this in `DIEValue`; no reason to shadow it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238082 91177308-0d34-0410-b5e6-96231b3b80d8
---

diff --git a/include/llvm/CodeGen/DIE.h b/include/llvm/CodeGen/DIE.h
index 7803898a8d4..c2d9457ebe1 100644
--- a/include/llvm/CodeGen/DIE.h
+++ b/include/llvm/CodeGen/DIE.h
@@ -466,7 +466,6 @@ public:
   }
 #ifndef NDEBUG
   void print(raw_ostream &O) const override;
-  void dump() const;
 #endif
 };
 
diff --git a/lib/CodeGen/AsmPrinter/DIE.cpp b/lib/CodeGen/AsmPrinter/DIE.cpp
index aa6647f4395..a614080b5c2 100644
--- a/lib/CodeGen/AsmPrinter/DIE.cpp
+++ b/lib/CodeGen/AsmPrinter/DIE.cpp
@@ -435,8 +435,6 @@ void DIETypeSignature::EmitValue(const AsmPrinter *Asm, dwarf::Form Form) const
 void DIETypeSignature::print(raw_ostream &O) const {
   O << format("Type Unit: 0x%lx", Unit.getTypeSignature());
 }
-
-void DIETypeSignature::dump() const { print(dbgs()); }
 #endif
 
 //===----------------------------------------------------------------------===//