From: Eric Christopher Date: Sat, 5 Oct 2013 00:32:34 +0000 (+0000) Subject: Fix one comment and update another. Slightly reformat. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=72dd4cd1dda543e76b5dfc6cba50d7c4e085e87c;p=oota-llvm.git Fix one comment and update another. Slightly reformat. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192016 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h index b3bf9bee731..1c67f6b249e 100644 --- a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h +++ b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h @@ -353,7 +353,7 @@ private: DIEEntry *createDIEEntry(DIE *Entry); /// resolve - Look in the DwarfDebug map for the MDNode that - /// corresponds to a scope reference. + /// corresponds to the reference. template T resolve(DIRef Ref) const { return DD->resolve(Ref); } diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.h b/lib/CodeGen/AsmPrinter/DwarfDebug.h index c2044ceee4b..c4c450d0d5f 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.h +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.h @@ -713,9 +713,8 @@ public: /// Returns the Dwarf Version. unsigned getDwarfVersion() const { return DwarfVersion; } - /// Find the MDNode for the given scope reference. - template - T resolve(DIRef Ref) const { + /// Find the MDNode for the given reference. + template T resolve(DIRef Ref) const { return Ref.resolve(TypeIdentifierMap); }