[llvm] r238082 - CodeGen: Remove redundant DIETypeSignature::dump(), NFC
Duncan P. N. Exon Smith
dexonsmith at apple.com
Fri May 22 18:26:26 PDT 2015
Author: dexonsmith
Date: Fri May 22 20:26:26 2015
New Revision: 238082
URL: http://llvm.org/viewvc/llvm-project?rev=238082&view=rev
Log:
CodeGen: Remove redundant DIETypeSignature::dump(), NFC
We already have this in `DIEValue`; no reason to shadow it.
Modified:
llvm/trunk/include/llvm/CodeGen/DIE.h
llvm/trunk/lib/CodeGen/AsmPrinter/DIE.cpp
Modified: llvm/trunk/include/llvm/CodeGen/DIE.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/DIE.h?rev=238082&r1=238081&r2=238082&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/DIE.h (original)
+++ llvm/trunk/include/llvm/CodeGen/DIE.h Fri May 22 20:26:26 2015
@@ -466,7 +466,6 @@ public:
}
#ifndef NDEBUG
void print(raw_ostream &O) const override;
- void dump() const;
#endif
};
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DIE.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DIE.cpp?rev=238082&r1=238081&r2=238082&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DIE.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DIE.cpp Fri May 22 20:26:26 2015
@@ -435,8 +435,6 @@ void DIETypeSignature::EmitValue(const A
void DIETypeSignature::print(raw_ostream &O) const {
O << format("Type Unit: 0x%lx", Unit.getTypeSignature());
}
-
-void DIETypeSignature::dump() const { print(dbgs()); }
#endif
//===----------------------------------------------------------------------===//
More information about the llvm-commits
mailing list