llvm.org GIT mirror llvm / 2af4e8b
[dsymutil] Simplify a lazy-init condition/expression git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@288423 91177308-0d34-0410-b5e6-96231b3b80d8 David Blaikie 3 years ago
1 changed file(s) with 3 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
27152715 if (!Die) {
27162716 // The DIE might have been already created by a forward reference
27172717 // (see cloneDieReferenceAttribute()).
2718 if (Info.Clone)
2719 Die = Info.Clone;
2720 else
2721 Die = Info.Clone = DIE::get(DIEAlloc, dwarf::Tag(InputDIE.getTag()));
2718 if (!Info.Clone)
2719 Info.Clone = DIE::get(DIEAlloc, dwarf::Tag(InputDIE.getTag()));
2720 Die = Info.Clone;
27222721 }
27232722
27242723 assert(Die->getTag() == InputDIE.getTag());