summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c7c4a78)
raw | patch | inline | side by side (parent: c7c4a78)
author | Eric Christopher <echristo@gmail.com> | |
Sun, 14 Jul 2013 21:46:51 +0000 (21:46 +0000) | ||
committer | Eric Christopher <echristo@gmail.com> | |
Sun, 14 Jul 2013 21:46:51 +0000 (21:46 +0000) |
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186295 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp | patch | blob | history |
diff --git a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
index 9f77b513efedba520bf25cb1f61cb91cfa0b7540..37eedc27e5aafd95e96dec09a20b46358f0ab30e 100644 (file)
if (DIDescriptor(ContainingType).isCompositeType())
addDIEEntry(&Buffer, dwarf::DW_AT_containing_type, dwarf::DW_FORM_ref4,
getOrCreateTypeDIE(DIType(ContainingType)));
- else {
- DIDescriptor Context = CTy.getContext();
- addToContextOwner(&Buffer, Context);
- }
+ else
+ addToContextOwner(&Buffer, CTy.getContext());
if (CTy.isObjcClassComplete())
addFlag(&Buffer, dwarf::DW_AT_APPLE_objc_complete_type);