summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-10-05 00:32:34 +0000
committerEric Christopher <echristo@gmail.com>2013-10-05 00:32:34 +0000
commit87b9c49c72377f889f86418a8233577683878c29 (patch)
tree562dda26cdd2a6dec60b013850a6b686c9ade3fa /llvm/lib/CodeGen
parent30781deb1c11a41fc2c1056c262f840434e7383e (diff)
downloadbcm5719-llvm-87b9c49c72377f889f86418a8233577683878c29.tar.gz
bcm5719-llvm-87b9c49c72377f889f86418a8233577683878c29.zip
Fix one comment and update another. Slightly reformat.
llvm-svn: 192016
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h2
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h5
2 files changed, 3 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
index b3bf9bee731..1c67f6b249e 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
+++ b/llvm/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 <typename T> T resolve(DIRef<T> Ref) const {
return DD->resolve(Ref);
}
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
index c2044ceee4b..c4c450d0d5f 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
+++ b/llvm/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 <typename T>
- T resolve(DIRef<T> Ref) const {
+ /// Find the MDNode for the given reference.
+ template <typename T> T resolve(DIRef<T> Ref) const {
return Ref.resolve(TypeIdentifierMap);
}
OpenPOWER on IntegriCloud