Update comment.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195293 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Christopher 2013-11-21 01:01:30 +00:00
parent ba5ab8289c
commit 76ef8af358

View File

@ -112,7 +112,7 @@ DIE::~DIE() {
delete Children[i];
}
/// Climb up the parent chain to get the compile unit DIE to which this DIE
/// Climb up the parent chain to get the unit DIE to which this DIE
/// belongs.
const DIE *DIE::getUnit() const {
const DIE *Cu = getUnitOrNull();
@ -120,7 +120,7 @@ const DIE *DIE::getUnit() const {
return Cu;
}
/// Climb up the parent chain to get the compile unit DIE this DIE belongs
/// Climb up the parent chain to get the unit DIE this DIE belongs
/// to. Return NULL if DIE is not added to an owner yet.
const DIE *DIE::getUnitOrNull() const {
const DIE *p = this;