X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FIR%2FDebugInfo.cpp;h=d877325b1f167fb3468a73f19d96c65c7d7c80b8;hb=b07e129e63b0d67e009c8733cf1e8b71500df644;hp=d3388cbabef4012546a3f6af691525df5cdbc164;hpb=9c1aa1c021755e9cea1ddb23398e6c3d8e70f03c;p=oota-llvm.git diff --git a/lib/IR/DebugInfo.cpp b/lib/IR/DebugInfo.cpp index d3388cbabef..d877325b1f1 100644 --- a/lib/IR/DebugInfo.cpp +++ b/lib/IR/DebugInfo.cpp @@ -307,21 +307,6 @@ bool DebugInfoFinder::addScope(DIScope Scope) { return true; } -//===----------------------------------------------------------------------===// -// DIDescriptor: dump routines for all descriptors. -//===----------------------------------------------------------------------===// - -void DIDescriptor::dump() const { - print(dbgs()); - dbgs() << '\n'; -} - -void DIDescriptor::print(raw_ostream &OS) const { - if (!get()) - return; - get()->print(OS); -} - template <> DIDescriptor DIRef::resolve(const DITypeIdentifierMap &Map) const {