CodeGen: Remove redundant DIETypeSignature::dump(), NFC
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Sat, 23 May 2015 01:26:26 +0000 (01:26 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Sat, 23 May 2015 01:26:26 +0000 (01:26 +0000)
We already have this in `DIEValue`; no reason to shadow it.

llvm-svn: 238082

llvm/include/llvm/CodeGen/DIE.h
llvm/lib/CodeGen/AsmPrinter/DIE.cpp

index 7803898..c2d9457 100644 (file)
@@ -466,7 +466,6 @@ public:
   }
 #ifndef NDEBUG
   void print(raw_ostream &O) const override;
-  void dump() const;
 #endif
 };
 
index aa6647f..a614080 100644 (file)
@@ -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
 
 //===----------------------------------------------------------------------===//