DebugInfo: Gut DIDescriptor
[oota-llvm.git] / lib / IR / DebugInfo.cpp
index d3388cbabef4012546a3f6af691525df5cdbc164..d877325b1f167fb3468a73f19d96c65c7d7c80b8 100644 (file)
@@ -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<DIDescriptor>::resolve(const DITypeIdentifierMap &Map) const {