From 804c199b75a717164144cccd1ccbbdab370cf958 Mon Sep 17 00:00:00 2001 From: "Duncan P. N. Exon Smith" Date: Sat, 23 May 2015 01:26:26 +0000 Subject: [PATCH] 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 --- include/llvm/CodeGen/DIE.h | 1 - lib/CodeGen/AsmPrinter/DIE.cpp | 2 -- 2 files changed, 3 deletions(-) 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 //===----------------------------------------------------------------------===// -- 2.34.1