Collapse temporary variable into call.

llvm-svn: 186295
This commit is contained in:
Eric Christopher 2013-07-14 21:46:51 +00:00
parent e9348f6df5
commit 666dc635c7
1 changed files with 2 additions and 4 deletions

View File

@ -1026,10 +1026,8 @@ void CompileUnit::constructTypeDIE(DIE &Buffer, DICompositeType CTy) {
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);