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.

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

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

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